From ea669b3772b9a17d9d08df75d0a6c6040a27e9ef Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Tue, 30 Aug 2022 21:32:42 +0600 Subject: [PATCH 001/104] Block user for abusing words --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 0e19a30c1f8..eac70a26766 100755 --- a/test.sh +++ b/test.sh @@ -120,7 +120,7 @@ fi cd /tmp/cirrus-ci-build PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') -for value in vicenteicc2008 random2907 RioChanY ajitlenka30 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia +for value in vicenteicc2008 random2907 RioChanY ajitlenka30 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd abhishekhembrom08 nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia do if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi From bec4fbf64121dc7e55d27a046e8c2f2f67089e3d Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Tue, 30 Aug 2022 21:34:31 +0600 Subject: [PATCH 002/104] Block user for abusing words [skip ci] From afac7b37671db53e4f5f399cbff5a2218cc6d35e Mon Sep 17 00:00:00 2001 From: P Salik <78614601+P-Salik@users.noreply.github.com> Date: Sun, 4 Sep 2022 03:36:02 +0530 Subject: [PATCH 003/104] yaml: Remove retrofit-ota zip [skip ci] (#13000) --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index cbe237abbdf..a6a1b2448af 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -187,7 +187,7 @@ task: - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - cd ~/roms/$rom_name - engzip=$(ls out/target/product/$device/*-eng*.zip | grep -v "retrofit" || true) - - otazip=$(ls out/target/product/$device/*-ota-*.zip | grep -v "hentai" | grep -v "evolution" | grep -v "retrofit" || true) + - otazip=$(ls out/target/product/$device/*-ota-*.zip | grep -v "hentai" | grep -v "evolution" || true) - awaken=$(ls out/target/product/$device/Project-Awaken*.zip || true) - octavi=$(ls out/target/product/$device/OctaviOS-R*.zip || true) - p404=$(ls out/target/product/$device/?.*zip || true) From ba1699cca41267db6406d433dd5de50e0374d786 Mon Sep 17 00:00:00 2001 From: sajidshahriar Date: Mon, 5 Sep 2022 20:30:39 +0600 Subject: [PATCH 004/104] Add ArrowOS 13 support[skip ci] (#13048) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index eac70a26766..e1dae4e19dd 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 21806302fd03fd96453ef385916e1dee1712deb3 Mon Sep 17 00:00:00 2001 From: NRanjan-17 Date: Tue, 6 Sep 2022 19:52:02 +0530 Subject: [PATCH 005/104] add support for Evolution X tiramisu [skip ci] (#13123) Signed-off-by: NRanjan-17 Signed-off-by: NRanjan-17 --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index e1dae4e19dd..d2e6495aaec 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From c87df0218a4458828022fa03efc78f2ebdec3eec Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Thu, 8 Sep 2022 21:02:31 +0600 Subject: [PATCH 006/104] Don't block abhishekhembrom08 [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index d2e6495aaec..f5d97dbc95a 100755 --- a/test.sh +++ b/test.sh @@ -120,7 +120,7 @@ fi cd /tmp/cirrus-ci-build PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') -for value in vicenteicc2008 random2907 RioChanY ajitlenka30 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd abhishekhembrom08 nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia +for value in vicenteicc2008 random2907 RioChanY ajitlenka30 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia do if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi From 5dc7709a108817c51ad1ccb0b8097ad037e091d1 Mon Sep 17 00:00:00 2001 From: "nerd.zenss_" <97657256+NerdZ3ns@users.noreply.github.com> Date: Sun, 11 Sep 2022 19:41:44 +0700 Subject: [PATCH 007/104] Add xdroidOSS thirteen branch support[skip ci] (#13326) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index f5d97dbc95a..1d1d45b447a 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From c7b394342505ca402c18c8d843aaa1a4bee20ea1 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Wed, 14 Sep 2022 13:32:33 +0600 Subject: [PATCH 008/104] PixelExperience A13 support [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 1d1d45b447a..cd665f6b0f3 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 47d7c736c1c389a1e1f9c4f686d141fe44bcd577 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 15 Sep 2022 09:25:51 +0600 Subject: [PATCH 009/104] CherishOS-tiramisu [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index cd665f6b0f3..6f46058a8a0 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 0c1c285df27e8b65948d018c802bfdb6e632de3b Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sun, 25 Sep 2022 18:06:41 +0600 Subject: [PATCH 010/104] Lineage 14.1 & 20.0 support [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 6f46058a8a0..58bc88afbe9 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-lineage-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 8ffaa01e357a017e257bd061d4d7ac91238e1f65 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Mon, 26 Sep 2022 09:18:42 +0600 Subject: [PATCH 011/104] add spark and project blaze a13 [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 58bc88afbe9..8626a01ebba 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 98eb442fb8e2802318f468a9fb6201e5c50e738c Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sat, 1 Oct 2022 12:12:35 +0600 Subject: [PATCH 012/104] p-404 a13 [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 8626a01ebba..a3f74d51722 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 39d403b4195fec21e7ac523d65aeabe6a974dd88 Mon Sep 17 00:00:00 2001 From: Alone0316 <70204635+Alone0316@users.noreply.github.com> Date: Sat, 1 Oct 2022 14:02:26 +0530 Subject: [PATCH 013/104] Add support for PixelOS-Pixelish thirteen [skip ci] (#13992) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index a3f74d51722..3ead59c3f63 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 593131407bdb451a257b281a8b88f792cdc5f30c Mon Sep 17 00:00:00 2001 From: JaswantMamidisetti <111034654+JaswantMamidisetti@users.noreply.github.com> Date: Sun, 2 Oct 2022 17:32:52 +0530 Subject: [PATCH 014/104] add support for CipherOS thirteen [skip ci] (#14033) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 3ead59c3f63..5b0d39f10a1 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From f5f04ceeeea2332d94d45ea373e5c5b6397b43a1 Mon Sep 17 00:00:00 2001 From: Abhiram <103818282+Azure-Helper@users.noreply.github.com> Date: Mon, 3 Oct 2022 03:14:31 +0530 Subject: [PATCH 015/104] Add support for AOSPA topaz (#14035) [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 5b0d39f10a1..48ef18e394f 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From df1d5ca2b800b22778a3cf68f1e1a11e1fc0ffdf Mon Sep 17 00:00:00 2001 From: Matheus Souza <33396386+matheucomth@users.noreply.github.com> Date: Thu, 6 Oct 2022 06:37:59 -0300 Subject: [PATCH 016/104] Add support for Project-Awaken triton [skip ci] (#14156) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 48ef18e394f..b77ddbc5661 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From fe967dfb9c2100bbfb453ae3100f0a36bcf2126d Mon Sep 17 00:00:00 2001 From: Anandhasayanan Date: Thu, 6 Oct 2022 15:44:51 +0530 Subject: [PATCH 017/104] Add support for RiceDroid thirteen [skip ci] (#14164) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index b77ddbc5661..f7700e4666c 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 115ea2fdd4002681e94dfab4fef3096a0f6ea694 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Fri, 14 Oct 2022 10:10:34 +0600 Subject: [PATCH 018/104] Add Bootleggers-BrokenLab-tirimbino [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index f7700e4666c..4ca03f929a7 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From d7857b7e6d8b90dfac88304e58f29f4ab3c87856 Mon Sep 17 00:00:00 2001 From: Sensei-Developer <111665604+Sensei-Developer@users.noreply.github.com> Date: Sat, 15 Oct 2022 19:12:35 +0300 Subject: [PATCH 019/104] Add support for crdroidandroid-13.0 (#14467) [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 4ca03f929a7..641babd4ab2 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From ca69b336801ecc74417b28bc8b74d28aaf1d8f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C7=A4=D1=92=E0=B9=8F=E0=BA=AE=E2=82=AE=E2=8C=81=E2=B2=98?= =?UTF-8?q?=E0=B8=84=E0=B8=A3t=D1=94=E0=BF=90?= Date: Mon, 17 Oct 2022 15:34:55 +0530 Subject: [PATCH 020/104] Add support for SuperiorOS thirteen [skip ci] (#14515) Signed-off-by: GhostMaster69-dev Signed-off-by: GhostMaster69-dev --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 641babd4ab2..770038249d4 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From d7a59f9b1bf2b6469b6634cc1550185d723db6b8 Mon Sep 17 00:00:00 2001 From: Sensei-Developer <111665604+Sensei-Developer@users.noreply.github.com> Date: Sun, 23 Oct 2022 08:35:19 +0300 Subject: [PATCH 021/104] Add support for StagOS-t13 (#14534) [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 770038249d4..c1c03117394 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From dfcf6b37d1ed3488908d6053e3cbb4df6d5e297a Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sun, 23 Oct 2022 15:08:53 +0600 Subject: [PATCH 022/104] Fix clang error [skip ci] --- .cirrus.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index a6a1b2448af..35fcf26503e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -73,6 +73,10 @@ task: - rom_name=$rom_name-$branch_name - mkdir -p ~/roms/$rom_name - cd ~/roms/$rom_name + + - clangrm=$(grep ' Date: Mon, 24 Oct 2022 00:50:41 +0600 Subject: [PATCH 024/104] Try fixing clang 2 [skip ci] --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 35fcf26503e..3c0172a1194 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -67,14 +67,14 @@ task: - set -e - curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/test.sh | bash sync_script: - - set -e + - set -exv - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - rom_name=$rom_name-$branch_name - mkdir -p ~/roms/$rom_name - cd ~/roms/$rom_name - - clangrm=$(grep ' Date: Mon, 24 Oct 2022 02:56:16 +0600 Subject: [PATCH 025/104] Revert "Fix clang error [skip ci]" This reverts commit dfcf6b37d1ed3488908d6053e3cbb4df6d5e297a. --- .cirrus.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 3c0172a1194..f741493a304 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -73,10 +73,6 @@ task: - rom_name=$rom_name-$branch_name - mkdir -p ~/roms/$rom_name - cd ~/roms/$rom_name - - - clangrm=$(grep ' Date: Sat, 29 Oct 2022 00:42:06 +0600 Subject: [PATCH 027/104] Block bad user [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 9ad5807066c..fa091c5a1f0 100755 --- a/test.sh +++ b/test.sh @@ -120,7 +120,7 @@ fi cd /tmp/cirrus-ci-build PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') -for value in vicenteicc2008 random2907 RioChanY ajitlenka30 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia +for value in vicenteicc2008 random2907 RioChanY ajitlenka30 abhishekhembrom08 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia do if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi From 14bd5c39d8ea50d3ad7f2f225b8b3ce8215397a7 Mon Sep 17 00:00:00 2001 From: Shikhar Date: Tue, 1 Nov 2022 09:16:03 +0530 Subject: [PATCH 028/104] Add support for syberia-project-13.0 [skip ci] (#14954) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index fa091c5a1f0..b436871bce4 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 8658227dfc6be52c1375accafa04c08acbf18d7e Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Tue, 1 Nov 2022 11:33:15 +0600 Subject: [PATCH 029/104] Change TG Bot API [skip ci] --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index a6a1b2448af..597db65086c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,7 +1,7 @@ env: CIRRUS_CLONE_DEPTH: 1 BUILD_HOSTNAME: "cirrus-ci.org" - bot_api: "ENCRYPTED[b16032643ad0994cda4822c9d477956f434278d0f786f8e131b585aa4f8510a11f3cd9f6a66a63568d2cba1c4dde25b4]" + bot_api: "ENCRYPTED[d5f8289d835b201789b2b31e728d0cd82a100f1b47ddec69dd6ba49a3712fcfa2719b220fc6a8894865df517a78332ca]" task: name: Test From 4b1348ab0a0c1da5dc7792ba3455242574330d1e Mon Sep 17 00:00:00 2001 From: Shridhan Varadkar Date: Tue, 8 Nov 2022 13:09:17 +0530 Subject: [PATCH 030/104] Add support for VoltageOS-13 [skip ci] (#15021) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index b436871bce4..7fa04059338 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From e97d7cd9e6d09936b6e890c78aca4cf43ccbe512 Mon Sep 17 00:00:00 2001 From: NRanjan-17 Date: Wed, 9 Nov 2022 09:41:44 +0530 Subject: [PATCH 031/104] Add support for PixelExperience 13 Plus Edition [skip ci] (#15178) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 7fa04059338..e3497855d39 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From a5efa67e043c7732adb31b59fb9b64db845d144c Mon Sep 17 00:00:00 2001 From: Angel Castillo Date: Wed, 16 Nov 2022 02:27:05 -0600 Subject: [PATCH 032/104] Add support for BlissRoms-typhoon [skip ci] (#15293) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index e3497855d39..3574406d2df 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From f8f5560b1df6ac554ffca8172d21ec9de1d06753 Mon Sep 17 00:00:00 2001 From: Arafattex <69374795+Arafattex@users.noreply.github.com> Date: Fri, 18 Nov 2022 14:07:12 +0600 Subject: [PATCH 033/104] Add Corvus-AOSP-13 support [skip ci] (#15353) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 3574406d2df..fe658535fb5 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 5ac9e8ed15d3f8f39c777cad1242d03afa970d7e Mon Sep 17 00:00:00 2001 From: Susan Dahal <37948853+susandahal@users.noreply.github.com> Date: Fri, 25 Nov 2022 21:09:27 +0545 Subject: [PATCH 034/104] Add PixysOS thirteen support[skip ci] (#15500) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index fe658535fb5..fe563c7ffae 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From f647fe92a32e2e48b35c11fe349f884ae3bb6972 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sun, 27 Nov 2022 12:38:34 +0600 Subject: [PATCH 035/104] Add Project-Xtended-xt [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index fe563c7ffae..650c3206ac7 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From e51a440c9aaf960094f89405474995388febd6b3 Mon Sep 17 00:00:00 2001 From: Sanjeev <42514333+sanjeevstunner@users.noreply.github.com> Date: Fri, 9 Dec 2022 08:45:49 +0530 Subject: [PATCH 036/104] Update branch names for Pixel OS (#15699) [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 650c3206ac7..2856c18539f 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-Pixelish-twelve PixelOS-Pixelish-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From ece2f39653b4e82f41cce3d32b3ea4af93e786aa Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Wed, 21 Dec 2022 08:27:51 +0600 Subject: [PATCH 037/104] Let's try sourceforge [skip ci] --- .cirrus.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 597db65086c..c2515691276 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -2,6 +2,7 @@ env: CIRRUS_CLONE_DEPTH: 1 BUILD_HOSTNAME: "cirrus-ci.org" bot_api: "ENCRYPTED[d5f8289d835b201789b2b31e728d0cd82a100f1b47ddec69dd6ba49a3712fcfa2719b220fc6a8894865df517a78332ca]" + one: "ENCRYPTED[267097e8096e1e12efc9c6e71626703ddc8ae1c6730511b6207586a045e2dd3bd59dd0b9d632642fc58d89913cc539a8]" task: name: Test @@ -194,14 +195,17 @@ task: - cipher=$(ls out/target/product/$device/CipherOS-*-OTA-*.zip || true) - rm -rf $engzip $otazip $awaken $octavi $p404 $cipher - dlink=$(basename out/target/product/$device/*.zip) - - command=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) - - if [[ $device == jasmine_sprout ]]; then command="rclone copy out/target/product/jasmine_sprout/*zip cirrus:jasmine_sprout -P"; fi - - if [[ $device == laurel_sprout ]]; then command="rclone copy out/target/product/laurel_sprout/*zip cirrus:laurel_sprout -P"; fi - - if [[ $device == GM8_sprout ]]; then command="rclone copy out/target/product/GM8_sprout/*zip cirrus:GM8_sprout -P"; fi - - if [[ $device == maple_dsds ]]; then command="rclone copy out/target/product/maple_dsds/*zip cirrus:maple_dsds -P"; fi - - bash -c "$command" - - echo "Download link https://roms.cirrus-ci.workers.dev/0:/$device/$dlink" - + - #command=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) + - #if [[ $device == jasmine_sprout ]]; then command="rclone copy out/target/product/jasmine_sprout/*zip cirrus:jasmine_sprout -P"; fi + - #if [[ $device == laurel_sprout ]]; then command="rclone copy out/target/product/laurel_sprout/*zip cirrus:laurel_sprout -P"; fi + - #if [[ $device == GM8_sprout ]]; then command="rclone copy out/target/product/GM8_sprout/*zip cirrus:GM8_sprout -P"; fi + - #if [[ $device == maple_dsds ]]; then command="rclone copy out/target/product/maple_dsds/*zip cirrus:maple_dsds -P"; fi + - #bash -c "$command" + - #echo "Download link https://roms.cirrus-ci.workers.dev/0:/$device/$dlink" + - unzip -P $one -q ~/.config/1.zip -d ~ + - file=out/target/product/$device/*.zip + - rsync -vhcP -e ssh $file apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ + - echo "Download link https://sourceforge.net/projects/rom-builders/files/$device/$dlink/download" remove_script: - set -e - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) From 5d3059ead3283c94e1aaff8718bca6386a828290 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Wed, 21 Dec 2022 16:45:30 +0600 Subject: [PATCH 038/104] Faster Upload [skip ci] --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index c2515691276..cd1d34cde1c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -204,7 +204,7 @@ task: - #echo "Download link https://roms.cirrus-ci.workers.dev/0:/$device/$dlink" - unzip -P $one -q ~/.config/1.zip -d ~ - file=out/target/product/$device/*.zip - - rsync -vhcP -e ssh $file apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ + - rsync -vhcP $file -e "ssh -o Compression=no" apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ - echo "Download link https://sourceforge.net/projects/rom-builders/files/$device/$dlink/download" remove_script: - set -e From 8ed472a8c12f71e4b378a81027976075b3c9fdef Mon Sep 17 00:00:00 2001 From: Prashant <93838092+Prashant-1695@users.noreply.github.com> Date: Mon, 26 Dec 2022 11:54:33 +0530 Subject: [PATCH 039/104] Add DerpFest-13 [skip ci] (#16361) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 2856c18539f..08ff2457123 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 7fa1283b6fbea1d14a42387787b9dd7c18d3d879 Mon Sep 17 00:00:00 2001 From: Don boruza <109259258+donboruza@users.noreply.github.com> Date: Sun, 15 Jan 2023 11:15:03 +0700 Subject: [PATCH 040/104] Add ricedroidOSS & Drop all RiceDroid old [skip ci] (#16907) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 08ff2457123..f5f293782ef 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q RiceDroid-twelve RiceDroid-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From d677dfc5e3b7414907035798c162059899e5b3ea Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Mon, 16 Jan 2023 17:34:51 +0600 Subject: [PATCH 041/104] add bananadroid a13 & shapeshiftos a13 [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index f5f293782ef..91f8a972fce 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From b4afb6f9a64b33aaafdfc7971dcb3ebedf1baffa Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Tue, 17 Jan 2023 09:33:55 +0600 Subject: [PATCH 042/104] sync only with j8 [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 91f8a972fce..0661610bf3b 100755 --- a/test.sh +++ b/test.sh @@ -71,7 +71,7 @@ rclone_string="rclone copy out/target/product/\$(grep unch \$CIRRUS_WORKING_DIR/ if [[ $rclone_check != *$rclone_string* ]]; then echo Please follow rclone copy line of main branch.; exit 1; fi sync_check=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) -sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j" +sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line of main branch.; exit 1; fi fetch_check=$(grep 'git fetch ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) From 590a76c883f726843bd479112515e808c473ef57 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 26 Jan 2023 16:22:47 +0600 Subject: [PATCH 043/104] try fixing sync [skip ci] --- .cirrus.yml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index cd1d34cde1c..c10ead1ae37 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -143,6 +143,78 @@ task: - rm -rf sync.log + tsync_script: + - set -e + - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) + - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') + - rom_name=$rom_name-$branch_name + - mkdir -p ~/roms/$rom_name + - cd ~/roms/$rom_name + + - set -exv + - curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log + - a=$(grep 'Cannot remove project' sync.log -m1|| true) + - b=$(grep "^fatal: remove-project element specifies non-existent project" sync.log -m1 || true) + - c=$(grep 'repo sync has finished' sync.log -m1 || true) + - d=$(grep 'Failing repos:' sync.log -n -m1 || true) + - e=$(grep 'fatal: Unable' sync.log || true) + - f=$(grep 'error.GitError' sync.log || true) + - g=$(grep 'error: Cannot checkout' sync.log || true) + - if [[ $a == *'Cannot remove project'* ]] + - then + - a=$(echo $a | cut -d ':' -f2 | tr -d ' ') + - rm -rf $a + - fi + - if [[ $b == *'remove-project element specifies non-existent'* ]] + - then exit 1 + - fi + - if [[ $d == *'Failing repos:'* ]] + - then + - d=$(expr $(grep 'Failing repos:' sync.log -n -m 1| cut -d ':' -f1) + 1) + - d2=$(expr $(grep 'Try re-running' sync.log -n -m1 | cut -d ':' -f1) - 1 ) + - fail_paths=$(head -n $d2 sync.log | tail -n +$d) + - for path in $fail_paths + - do + - rm -rf $path + - aa=$(echo $path|awk -F '/' '{print $NF}') + - rm -rf .repo/project-objects/*$aa.git + - rm -rf .repo/projects/$path.git + - done + - fi + - if [[ $e == *'fatal: Unable'* ]] + - then + - fail_paths=$(grep 'fatal: Unable' sync.log | cut -d ':' -f2 | cut -d "'" -f2) + - for path in $fail_paths + - do + - rm -rf $path + - aa=$(echo $path|awk -F '/' '{print $NF}') + - rm -rf .repo/project-objects/*$aa.git + - rm -rf .repo/project-objects/$path.git + - rm -rf .repo/projects/$path.git + - done + - fi + - if [[ $f == *'error.GitError'* ]] + - then + - rm -rf $(grep 'error.GitError' sync.log | cut -d ' ' -f2) + - fi + - if [[ $g == *'error: Cannot checkout'* ]] + - then + - coerr=$(grep 'error: Cannot checkout' sync.log | cut -d ' ' -f 4| tr -d ':') + - for i in $coerr + - do + - rm -rf .repo/project-objects/$i.git + - done + - fi + #- (repo forall -c 'git checkout .' && bash -c "$only_sync") || (find -name shallow.lock -delete && find -name index.lock -delete && bash -c "$only_sync") + + - if [[ $c == *'repo sync has finished'* ]] + - then true + - else + - repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) + - fi + + - rm -rf sync.log + build_script: - set -e - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) From 9536d79bf8fd963582e5993ab999b944476fe57e Mon Sep 17 00:00:00 2001 From: Apon77 Date: Fri, 27 Jan 2023 08:53:19 +0600 Subject: [PATCH 044/104] Revert try fixing sync [skip ci] This reverts commit 590a76c883f726843bd479112515e808c473ef57. --- .cirrus.yml | 72 ----------------------------------------------------- 1 file changed, 72 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c10ead1ae37..cd1d34cde1c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -143,78 +143,6 @@ task: - rm -rf sync.log - tsync_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - mkdir -p ~/roms/$rom_name - - cd ~/roms/$rom_name - - - set -exv - - curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log - - a=$(grep 'Cannot remove project' sync.log -m1|| true) - - b=$(grep "^fatal: remove-project element specifies non-existent project" sync.log -m1 || true) - - c=$(grep 'repo sync has finished' sync.log -m1 || true) - - d=$(grep 'Failing repos:' sync.log -n -m1 || true) - - e=$(grep 'fatal: Unable' sync.log || true) - - f=$(grep 'error.GitError' sync.log || true) - - g=$(grep 'error: Cannot checkout' sync.log || true) - - if [[ $a == *'Cannot remove project'* ]] - - then - - a=$(echo $a | cut -d ':' -f2 | tr -d ' ') - - rm -rf $a - - fi - - if [[ $b == *'remove-project element specifies non-existent'* ]] - - then exit 1 - - fi - - if [[ $d == *'Failing repos:'* ]] - - then - - d=$(expr $(grep 'Failing repos:' sync.log -n -m 1| cut -d ':' -f1) + 1) - - d2=$(expr $(grep 'Try re-running' sync.log -n -m1 | cut -d ':' -f1) - 1 ) - - fail_paths=$(head -n $d2 sync.log | tail -n +$d) - - for path in $fail_paths - - do - - rm -rf $path - - aa=$(echo $path|awk -F '/' '{print $NF}') - - rm -rf .repo/project-objects/*$aa.git - - rm -rf .repo/projects/$path.git - - done - - fi - - if [[ $e == *'fatal: Unable'* ]] - - then - - fail_paths=$(grep 'fatal: Unable' sync.log | cut -d ':' -f2 | cut -d "'" -f2) - - for path in $fail_paths - - do - - rm -rf $path - - aa=$(echo $path|awk -F '/' '{print $NF}') - - rm -rf .repo/project-objects/*$aa.git - - rm -rf .repo/project-objects/$path.git - - rm -rf .repo/projects/$path.git - - done - - fi - - if [[ $f == *'error.GitError'* ]] - - then - - rm -rf $(grep 'error.GitError' sync.log | cut -d ' ' -f2) - - fi - - if [[ $g == *'error: Cannot checkout'* ]] - - then - - coerr=$(grep 'error: Cannot checkout' sync.log | cut -d ' ' -f 4| tr -d ':') - - for i in $coerr - - do - - rm -rf .repo/project-objects/$i.git - - done - - fi - #- (repo forall -c 'git checkout .' && bash -c "$only_sync") || (find -name shallow.lock -delete && find -name index.lock -delete && bash -c "$only_sync") - - - if [[ $c == *'repo sync has finished'* ]] - - then true - - else - - repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) - - fi - - - rm -rf sync.log - build_script: - set -e - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) From 98f306a7ddd5a2e8663fab4206e227f2ca612199 Mon Sep 17 00:00:00 2001 From: P Salik <78614601+P-Salik@users.noreply.github.com> Date: Mon, 30 Jan 2023 08:51:51 +0530 Subject: [PATCH 045/104] Fix sync [skip ci] (#17621) --- .cirrus.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index cd1d34cde1c..50f2178f67e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -78,7 +78,14 @@ task: - command=$(head $CIRRUS_WORKING_DIR/build_rom.sh -n $(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)) - only_sync=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) - bash -c "$command" || true - + tsync_script: + - set -e + - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) + - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') + - rom_name=$rom_name-$branch_name + - mkdir -p ~/roms/$rom_name + - cd ~/roms/$rom_name + - set -exv - curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log - a=$(grep 'Cannot remove project' sync.log -m1|| true) From 14750cc66e50089ebbde0b596b436858517f3ef3 Mon Sep 17 00:00:00 2001 From: "Rom Bdr. Gharti" Date: Wed, 1 Feb 2023 13:46:37 +0545 Subject: [PATCH 046/104] Bootleggers back to main org [skip ci] (#17676) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 0661610bf3b..3ee2e686b37 100755 --- a/test.sh +++ b/test.sh @@ -91,7 +91,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon Bootleggers-BrokenLab-sambunimbo Bootleggers-BrokenLab-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 779abe25977e99257acec1282de0ad414cd3bba4 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sat, 4 Feb 2023 20:49:07 +0600 Subject: [PATCH 047/104] Block bad user [skip ci] For using multiple accounts --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 3ee2e686b37..e9080b4010e 100755 --- a/test.sh +++ b/test.sh @@ -120,7 +120,7 @@ fi cd /tmp/cirrus-ci-build PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') -for value in vicenteicc2008 random2907 RioChanY ajitlenka30 abhishekhembrom08 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz Krtonia +for value in vicenteicc2008 random2907 RioChanY ajitlenka30 abhishekhembrom08 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz TartagliaX Krtonia do if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi From 2a7d4d63f40558ec1ae82f29372b1ead6c4596f9 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Mon, 13 Feb 2023 16:26:53 +0600 Subject: [PATCH 048/104] Block bad users [skip ci] For using multiple accounts --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index e9080b4010e..8594d171dbc 100755 --- a/test.sh +++ b/test.sh @@ -120,7 +120,7 @@ fi cd /tmp/cirrus-ci-build PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') -for value in vicenteicc2008 random2907 RioChanY ajitlenka30 abhishekhembrom08 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz TartagliaX Krtonia +for value in vicenteicc2008 RintoKhan2003 CyanFinchLing random2907 RioChanY ajitlenka30 abhishekhembrom08 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz TartagliaX Krtonia do if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi From 1e3d8b32d28a1ae9ecdfae30a78ba65a7e396471 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sun, 19 Feb 2023 16:24:49 +0600 Subject: [PATCH 049/104] Try new user block [skip ci] https://github.com/RahulPalXDA/script/blob/main/github_check.sh --- test.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test.sh b/test.sh index 8594d171dbc..4143e100629 100755 --- a/test.sh +++ b/test.sh @@ -86,8 +86,6 @@ if [[ $cd_check -gt 0 ]]; then echo Please dont use cd inside script, use local or_check=$(grep "||" $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; exit 1; fi - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name @@ -127,8 +125,15 @@ do done fi +if [ -z "$AUTHOR" ]; then true; else +joindate=$(date -d $(curl -s https://api.github.com/users/$AUTHOR | grep created_at | cut -d '"' -f4) +%s) +nowdate=$(date +%s) +datediff=$(expr $nowdate - $joindate) +if [[ $datediff -lt 2592000 ]]; then echo Please don\'t try to run build with your new account. Use your original account for doing PR.; exit 1; fi +fi + if [[ $CIRRUS_USER_PERMISSION == write ]]; then -if [ -z "$CIRRUS_PR" ]; then echo fine; else +if [ -z "$CIRRUS_PR" ]; then true; else echo You are push user. Don\'t do pr and please follow pinned message in push group.; exit 1 fi fi From 2670d45dc9ae3d74b8fb458972816f6adaaa06f4 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Tue, 21 Feb 2023 15:11:54 +0600 Subject: [PATCH 050/104] Better method to block bad people [skip ci] also improve some formatting --- test.sh | 57 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/test.sh b/test.sh index 4143e100629..77e7e12b3dd 100755 --- a/test.sh +++ b/test.sh @@ -4,7 +4,6 @@ set -e init_check=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | grep 'depth=1') if [[ $init_check != *default,-mips,-darwin,-notdefault* ]]; then echo Please use --depth=1 and -g default,-mips,-darwin,-notdefault tags in repo init line.; exit 1; fi - clone_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) if [[ $clone_check -gt 1 ]]; then echo Please use local manifest to clone trees and other repositories, we dont allow git clone to clone trees.; exit 1; fi @@ -99,43 +98,43 @@ grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_spro grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds if [[ $BRANCH != *pull/* ]]; then -if [[ $BRANCH != $device-$rom_name-* ]]; then echo Please use proper branch naming described in push group.; exit 1; fi; -if [[ $CIRRUS_COMMIT_MESSAGE == "Update build_rom.sh" ]]; then echo Please use proper commit message.; exit 1; fi; + if [[ $BRANCH != $device-$rom_name-* ]]; then echo Please use proper branch naming described in push group.; exit 1; fi; + if [[ $CIRRUS_COMMIT_MESSAGE == "Update build_rom.sh" ]]; then echo Please use proper commit message.; exit 1; fi; fi if [[ $device == 'copy' ]]; then echo "Please use lunch or brunch command with device codename after . build/envsetup.sh" ; exit 1; fi if [[ $device == 'mi439' ]]; then echo "Please use device codename Mi439 also create your dt with this device code name." ; exit 1; fi if [[ $BRANCH == *pull/* ]]; then - -if [[ $CIRRUS_COMMIT_MESSAGE != $device-$rom_name-* ]]; then echo Please use proper PR label described in telegram group.; exit 1; fi - -lunch_check=$(grep "unch" $CIRRUS_WORKING_DIR/build_rom.sh | grep -v 'rclone' | wc -l) -if [[ $rom_name != 'Corvus-R-12-test' ]]; then -if [[ $lunch_check -gt 1 ]]; then echo Please build for one device at a time.; exit 1; fi -fi - -cd /tmp/cirrus-ci-build -PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') -AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') -for value in vicenteicc2008 RintoKhan2003 CyanFinchLing random2907 RioChanY ajitlenka30 abhishekhembrom08 basic-general ZunayedDihan Badroel07 Ravithakral SumonSN SevralT yograjsingh-cmd nit-in Sanjeev stunner ini23 CyberTechWorld horoid ishakumari772 atharv2951 Lite120 anant-goel 01soni247 fakeriz TartagliaX Krtonia -do - if [[ $AUTHOR == $value ]]; then - echo Please check \#pr instruction in telegram group.; exit 1; fi -done -fi - -if [ -z "$AUTHOR" ]; then true; else -joindate=$(date -d $(curl -s https://api.github.com/users/$AUTHOR | grep created_at | cut -d '"' -f4) +%s) -nowdate=$(date +%s) -datediff=$(expr $nowdate - $joindate) -if [[ $datediff -lt 2592000 ]]; then echo Please don\'t try to run build with your new account. Use your original account for doing PR.; exit 1; fi + if [[ $CIRRUS_COMMIT_MESSAGE != $device-$rom_name-* ]]; then echo Please use proper PR label described in telegram group.; exit 1; fi + lunch_check=$(grep "unch" $CIRRUS_WORKING_DIR/build_rom.sh | grep -v 'rclone' | wc -l) + if [[ $rom_name != 'Corvus-R-12-test' ]]; then + if [[ $lunch_check -gt 1 ]]; then echo Please build for one device at a time.; exit 1; fi + fi + cd /tmp/cirrus-ci-build + PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') + AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') + + for id in 66806243 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 + do + logins+=" $(gh api -H "Accept: application/vnd.github+json" /user/$id -q '.login')" + done + + for value in $logins + do + if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi + done + + joindate=$(date -d $(curl -s https://api.github.com/users/$AUTHOR | grep created_at | cut -d '"' -f4) +%s) + nowdate=$(date +%s) + datediff=$(expr $nowdate - $joindate) + if [[ $datediff -lt 2592000 ]]; then echo Please don\'t try to run build with your new account. Use your original account for doing PR.; exit 1; fi fi if [[ $CIRRUS_USER_PERMISSION == write ]]; then -if [ -z "$CIRRUS_PR" ]; then true; else -echo You are push user. Don\'t do pr and please follow pinned message in push group.; exit 1 -fi + if [ -z "$CIRRUS_PR" ]; then true; else + echo You are push user. Don\'t do pr and please follow pinned message in push group.; exit 1 + fi fi echo Test passed From ca557e76dc981052e9d57c109b5049fa52a7472d Mon Sep 17 00:00:00 2001 From: Apon77 Date: Tue, 21 Feb 2023 22:17:56 +0600 Subject: [PATCH 051/104] Block bad user [skip ci] using multiple accounts --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 77e7e12b3dd..bafa35caaab 100755 --- a/test.sh +++ b/test.sh @@ -115,7 +115,7 @@ if [[ $BRANCH == *pull/* ]]; then PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') - for id in 66806243 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 + for id in 66806243 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 73420351 69832543 do logins+=" $(gh api -H "Accept: application/vnd.github+json" /user/$id -q '.login')" done From 9a8f2fd6c6d5ee7403f88bc365e3953f253d591d Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Thu, 23 Feb 2023 18:43:45 +0600 Subject: [PATCH 052/104] Update string [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index bafa35caaab..2d0f9d1cc18 100755 --- a/test.sh +++ b/test.sh @@ -122,7 +122,7 @@ if [[ $BRANCH == *pull/* ]]; then for value in $logins do - if [[ $AUTHOR == $value ]]; then echo Please check \#pr instruction in telegram group.; exit 1; fi + if [[ $AUTHOR == $value ]]; then echo Please check \#bad_people instruction in telegram group.; exit 1; fi done joindate=$(date -d $(curl -s https://api.github.com/users/$AUTHOR | grep created_at | cut -d '"' -f4) +%s) From c273bed51c1b003986b0cbc553076c77369b4355 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:30:50 +0600 Subject: [PATCH 053/104] add octavi a13 [skip ci] --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 2d0f9d1cc18..23f8883766e 100755 --- a/test.sh +++ b/test.sh @@ -88,7 +88,7 @@ if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; e rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) From 66ca3d2e5ca7e8a42e52d71567f77682dc25d727 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sat, 1 Apr 2023 14:21:28 +0600 Subject: [PATCH 054/104] Refactoring [skip ci] --- test.sh | 79 ++++++++++++++++++--------------------------------------- 1 file changed, 24 insertions(+), 55 deletions(-) diff --git a/test.sh b/test.sh index 23f8883766e..12930fb4f6b 100755 --- a/test.sh +++ b/test.sh @@ -1,70 +1,51 @@ #!/bin/bash set -e +ccheck(){ + check=$(grep "$1" $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) + if [[ $check -gt 0 ]]; then echo "$2"; exit 1; fi +} + +ccheck 'rm ' 'Please dont use rm inside script, use local manifest for this purpose.' +ccheck 'sudo ' 'Please dont use sudo inside script.' +ccheck 'repo forall ' 'Please dont use repo forall inside script.' +ccheck 'curl ' 'Please dont use curl inside script.' +ccheck 'mmma ' 'Please dont use mmma inside script.' +ccheck 'mv ' 'Please dont use mv inside script, use local manifest for this purpose.' +ccheck 'sed ' 'Please dont use sed inside script, use local manifest for this purpose.' +ccheck 'tee ' 'Please dont use tee inside script, its not needed at all..' +ccheck ' clean' 'Please dont use make clean. Server does make installclean by default, which is enough for most of the cases.' +ccheck ' clobber' 'Please dont use make clobber. Server does make installclean by default, which is enough for most of the cases.' +ccheck ' installclean' 'Please dont use make installclean. Server does make installclean by default, which is enough for most of the cases.' +ccheck 'patch ' 'Please dont use patch inside script, use local manifest for this purpose.' +ccheck ' && ' 'Please dont use && inside script, put that command in next line for this purpose.' +ccheck ' & ' 'Please dont use & inside script.' +ccheck "||" 'Please dont use or operator inside script' +ccheck 'git fetch ' 'Please dont use fetch inside script, use local manifest for this purpose.' +ccheck 'repopick ' 'Please dont use repopick inside script, use local manifest for this purpose.' +ccheck "cd *" 'Please dont use cd inside script, use local manifest for this purpose.' + init_check=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | grep 'depth=1') if [[ $init_check != *default,-mips,-darwin,-notdefault* ]]; then echo Please use --depth=1 and -g default,-mips,-darwin,-notdefault tags in repo init line.; exit 1; fi clone_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) if [[ $clone_check -gt 1 ]]; then echo Please use local manifest to clone trees and other repositories, we dont allow git clone to clone trees.; exit 1; fi -rm_check=$(grep 'rm ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $rm_check -gt 0 ]]; then echo Please dont use rm inside script, use local manifest for this purpose.; exit 1; fi - url=https://$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 3-5 | cut -d ' ' -f 1) r_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) name_check=$(curl -Ls $url 2>&1 | grep 'repo init' | grep $r_name | wc -l) if [[ $r_name == "Havoc-OS" ]]; then name_check=1; fi if [[ $name_check == 0 ]]; then echo Please use init line url from rom manifest, its case sensitive. Also follow the format of build_rom.sh file of temporary repo main branch.; exit 1; fi -command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy') j_check=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy' | grep '\-j' | wc -l) if [[ $j_check -gt 0 ]]; then echo Please dont specify j value in make line.; exit 1; fi -sudo_check=$(grep 'sudo ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $sudo_check -gt 0 ]]; then echo Please dont use sudo inside script.; exit 1; fi - -forall_check=$(grep 'repo forall ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $forall_check -gt 0 ]]; then echo Please dont use repo forall inside script.; exit 1; fi - -curl_check=$(grep 'curl ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $curl_check -gt 0 ]]; then echo Please dont use curl inside script.; exit 1; fi - -mmma_check=$(grep 'mmma ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $mmma_check -gt 0 ]]; then echo Please dont use mmma inside script.; exit 1; fi - -mv_check=$(grep 'mv ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $mv_check -gt 0 ]]; then echo Please dont use mv inside script, use local manifest for this purpose.; exit 1; fi - -sed_check=$(grep 'sed ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $sed_check -gt 0 ]]; then echo Please dont use sed inside script, use local manifest for this purpose.; exit 1; fi - -tee_check=$(grep 'tee ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $tee_check -gt 0 ]]; then echo Please dont use tee inside script, its not needed at all..; exit 1; fi - -clean_check=$(grep ' clean' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $clean_check -gt 0 ]]; then echo Please dont use make clean. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-c' | wc -l) if [[ $bliss_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-d' | wc -l) if [[ $bliss_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi - -clobber_check=$(grep ' clobber' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $clobber_check -gt 0 ]]; then echo Please dont use make clobber. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi - -installclean_check=$(grep ' installclean' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $installclean_check -gt 0 ]]; then echo Please dont use make installclean. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi - -patch_check=$(grep 'patch ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $patch_check -gt 0 ]]; then echo Please dont use patch inside script, use local manifest for this purpose.; exit 1; fi - -and_check=$(grep ' && ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $and_check -gt 0 ]]; then echo 'Please dont use && inside script, put that command in next line for this purpose.'; exit 1; fi - -and_check2=$(grep ' & ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $and_check2 -gt 0 ]]; then echo 'Please dont use & inside script.'; exit 1; fi - rclone_check=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) rclone_string="rclone copy out/target/product/\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1)/*.zip cirrus:\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -P" if [[ $rclone_check != *$rclone_string* ]]; then echo Please follow rclone copy line of main branch.; exit 1; fi @@ -73,18 +54,6 @@ sync_check=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line of main branch.; exit 1; fi -fetch_check=$(grep 'git fetch ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $fetch_check -gt 0 ]]; then echo Please dont use fetch inside script, use local manifest for this purpose.; exit 1; fi - -pick_check=$(grep 'repopick ' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $pick_check -gt 0 ]]; then echo Please dont use repopick inside script, use local manifest for this purpose.; exit 1; fi - -cd_check=$(grep "cd *" $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $cd_check -gt 0 ]]; then echo Please dont use cd inside script, use local manifest for this purpose.; exit 1; fi - -or_check=$(grep "||" $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $or_check -gt 0 ]]; then echo Please dont use or operator inside script; exit 1; fi - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name From 0363f878ecca3aa72a2c3d1b4baa94735208da8c Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sat, 1 Apr 2023 20:11:11 +0600 Subject: [PATCH 055/104] More cleaner [skip ci] --- .cirrus.yml | 17 +++-------------- test.sh | 1 - 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 50f2178f67e..ed94221a1e0 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -112,8 +112,7 @@ task: - do - rm -rf $path - aa=$(echo $path|awk -F '/' '{print $NF}') - - rm -rf .repo/project-objects/*$aa.git - - rm -rf .repo/projects/$path.git + - rm -rf .repo/project-objects/*$aa.git .repo/projects/$path.git - done - fi - if [[ $e == *'fatal: Unable'* ]] @@ -123,9 +122,7 @@ task: - do - rm -rf $path - aa=$(echo $path|awk -F '/' '{print $NF}') - - rm -rf .repo/project-objects/*$aa.git - - rm -rf .repo/project-objects/$path.git - - rm -rf .repo/projects/$path.git + - rm -rf .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git - done - fi - if [[ $f == *'error.GitError'* ]] @@ -202,13 +199,6 @@ task: - cipher=$(ls out/target/product/$device/CipherOS-*-OTA-*.zip || true) - rm -rf $engzip $otazip $awaken $octavi $p404 $cipher - dlink=$(basename out/target/product/$device/*.zip) - - #command=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) - - #if [[ $device == jasmine_sprout ]]; then command="rclone copy out/target/product/jasmine_sprout/*zip cirrus:jasmine_sprout -P"; fi - - #if [[ $device == laurel_sprout ]]; then command="rclone copy out/target/product/laurel_sprout/*zip cirrus:laurel_sprout -P"; fi - - #if [[ $device == GM8_sprout ]]; then command="rclone copy out/target/product/GM8_sprout/*zip cirrus:GM8_sprout -P"; fi - - #if [[ $device == maple_dsds ]]; then command="rclone copy out/target/product/maple_dsds/*zip cirrus:maple_dsds -P"; fi - - #bash -c "$command" - - #echo "Download link https://roms.cirrus-ci.workers.dev/0:/$device/$dlink" - unzip -P $one -q ~/.config/1.zip -d ~ - file=out/target/product/$device/*.zip - rsync -vhcP $file -e "ssh -o Compression=no" apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ @@ -223,8 +213,7 @@ task: - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - cd ~/roms/$rom_name - - rm -rf out/target/product/$device + - rm -rf ~/roms/$rom_name/out/target/product/$device task: name: Post Build diff --git a/test.sh b/test.sh index 12930fb4f6b..c9acbb02b3e 100755 --- a/test.sh +++ b/test.sh @@ -40,7 +40,6 @@ if [[ $name_check == 0 ]]; then echo Please use init line url from rom manifest, j_check=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy' | grep '\-j' | wc -l) if [[ $j_check -gt 0 ]]; then echo Please dont specify j value in make line.; exit 1; fi - bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-c' | wc -l) if [[ $bliss_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi From a179f34945f287924683c9f467dfc91f013b34e7 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sun, 9 Apr 2023 23:36:02 +0600 Subject: [PATCH 056/104] Modularize codes [skip ci] --- .cirrus.yml | 212 ++++----------------------------------------- ci/build.sh | 13 +++ ci/ccache_stats.sh | 5 ++ ci/notify.sh | 15 ++++ ci/post_build.sh | 6 ++ ci/remove.sh | 3 + ci/sync.sh | 9 ++ ci/test.sh | 112 ++++++++++++++++++++++++ ci/tsync.sh | 54 ++++++++++++ ci/upload.sh | 15 ++++ 10 files changed, 248 insertions(+), 196 deletions(-) create mode 100755 ci/build.sh create mode 100755 ci/ccache_stats.sh create mode 100755 ci/notify.sh create mode 100755 ci/post_build.sh create mode 100755 ci/remove.sh create mode 100755 ci/sync.sh create mode 100755 ci/test.sh create mode 100755 ci/tsync.sh create mode 100755 ci/upload.sh diff --git a/.cirrus.yml b/.cirrus.yml index ed94221a1e0..8fccd44d117 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,37 +17,16 @@ task: image: apon77/aosp:cirrus cpu: 2 memory: 4G - - env_script: - - env - show_script: - - cat $CIRRUS_WORKING_DIR/build_rom.sh - notify_script: - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) - - grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout - - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - your_telegram_id=@ROM_builders_junk - - show=$(cat $CIRRUS_WORKING_DIR/build_rom.sh) - - curl -s "https://api.telegram.org/bot${bot_api}/sendmessage" -d "text=$device-$rom_name Started - - https://cirrus-ci.com/build/$CIRRUS_BUILD_ID - - $show" -d "chat_id=${your_telegram_id}" -d "parse_mode=HTML" - test_script: - - set -e - - curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/test.sh | bash + env_script: env + show_script: cat $CIRRUS_WORKING_DIR/build_rom.sh + notify_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/notify.sh | bash + test_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash task: name: Build skip: $CIRRUS_BRANCH == 'main' only_if: $CIRRUS_REPO_OWNER == 'ROM-builders' - depends_on: - - Test + depends_on: Test timeout_in: 4h persistent_worker: labels: @@ -61,167 +40,21 @@ task: - /home/cirrus/roms:/home/cirrus/roms - /home/cirrus/ccache:/home/cirrus/ccache - /home/cirrus/.config:/home/cirrus/.config - - show_script: - - cat $CIRRUS_WORKING_DIR/build_rom.sh - test_script: - - set -e - - curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/test.sh | bash - sync_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - mkdir -p ~/roms/$rom_name - - cd ~/roms/$rom_name - - rm -rf .repo/local_manifests - - command=$(head $CIRRUS_WORKING_DIR/build_rom.sh -n $(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)) - - only_sync=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) - - bash -c "$command" || true - tsync_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - mkdir -p ~/roms/$rom_name - - cd ~/roms/$rom_name - - - set -exv - - curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log - - a=$(grep 'Cannot remove project' sync.log -m1|| true) - - b=$(grep "^fatal: remove-project element specifies non-existent project" sync.log -m1 || true) - - c=$(grep 'repo sync has finished' sync.log -m1 || true) - - d=$(grep 'Failing repos:' sync.log -n -m1 || true) - - e=$(grep 'fatal: Unable' sync.log || true) - - f=$(grep 'error.GitError' sync.log || true) - - g=$(grep 'error: Cannot checkout' sync.log || true) - - if [[ $a == *'Cannot remove project'* ]] - - then - - a=$(echo $a | cut -d ':' -f2 | tr -d ' ') - - rm -rf $a - - fi - - if [[ $b == *'remove-project element specifies non-existent'* ]] - - then exit 1 - - fi - - if [[ $d == *'Failing repos:'* ]] - - then - - d=$(expr $(grep 'Failing repos:' sync.log -n -m 1| cut -d ':' -f1) + 1) - - d2=$(expr $(grep 'Try re-running' sync.log -n -m1 | cut -d ':' -f1) - 1 ) - - fail_paths=$(head -n $d2 sync.log | tail -n +$d) - - for path in $fail_paths - - do - - rm -rf $path - - aa=$(echo $path|awk -F '/' '{print $NF}') - - rm -rf .repo/project-objects/*$aa.git .repo/projects/$path.git - - done - - fi - - if [[ $e == *'fatal: Unable'* ]] - - then - - fail_paths=$(grep 'fatal: Unable' sync.log | cut -d ':' -f2 | cut -d "'" -f2) - - for path in $fail_paths - - do - - rm -rf $path - - aa=$(echo $path|awk -F '/' '{print $NF}') - - rm -rf .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git - - done - - fi - - if [[ $f == *'error.GitError'* ]] - - then - - rm -rf $(grep 'error.GitError' sync.log | cut -d ' ' -f2) - - fi - - if [[ $g == *'error: Cannot checkout'* ]] - - then - - coerr=$(grep 'error: Cannot checkout' sync.log | cut -d ' ' -f 4| tr -d ':') - - for i in $coerr - - do - - rm -rf .repo/project-objects/$i.git - - done - - fi - #- (repo forall -c 'git checkout .' && bash -c "$only_sync") || (find -name shallow.lock -delete && find -name index.lock -delete && bash -c "$only_sync") - - - if [[ $c == *'repo sync has finished'* ]] - - then true - - else - - repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) - - fi - - - rm -rf sync.log - - build_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) - - grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout - - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - cd ~/roms/$rom_name - - export CCACHE_DIR=~/ccache/$rom_name/$device - - export CCACHE_EXEC=$(which ccache) - - export USE_CCACHE=1 - - ccache -M 8G - - ccache -z - - ls device/*/*/vendorsetup.sh | grep -v generic && echo "Please remove vendorsetup.sh file from device tree, use local manifest for cloning and removing repositories." && exit 1 || true - - command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy') - - bash -c "$command" - - ccache_stats_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) - - grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout - - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - export CCACHE_DIR=~/ccache/$rom_name/$device - - ccache -s - - upload_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) - - grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout - - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - cd ~/roms/$rom_name - - engzip=$(ls out/target/product/$device/*-eng*.zip | grep -v "retrofit" || true) - - otazip=$(ls out/target/product/$device/*-ota-*.zip | grep -v "hentai" | grep -v "evolution" || true) - - awaken=$(ls out/target/product/$device/Project-Awaken*.zip || true) - - octavi=$(ls out/target/product/$device/OctaviOS-R*.zip || true) - - p404=$(ls out/target/product/$device/?.*zip || true) - - cipher=$(ls out/target/product/$device/CipherOS-*-OTA-*.zip || true) - - rm -rf $engzip $otazip $awaken $octavi $p404 $cipher - - dlink=$(basename out/target/product/$device/*.zip) - - unzip -P $one -q ~/.config/1.zip -d ~ - - file=out/target/product/$device/*.zip - - rsync -vhcP $file -e "ssh -o Compression=no" apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ - - echo "Download link https://sourceforge.net/projects/rom-builders/files/$device/$dlink/download" - remove_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) - - grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout - - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - rm -rf ~/roms/$rom_name/out/target/product/$device + show_script: cat $CIRRUS_WORKING_DIR/build_rom.sh + test_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash + sync_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/sync.sh | bash + tsync_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/tsync.sh | bash + build_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/build.sh | bash + ccache_stats_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/ccache_stats.sh | bash + upload_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/upload.sh | bash + remove_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/remove.sh | bash task: name: Post Build skip: $CIRRUS_BRANCH == 'main' only_if: $CIRRUS_REPO_OWNER == 'ROM-builders' skip_notifications: true - depends_on: - - Build + depends_on: Build timeout_in: 2m persistent_worker: labels: @@ -231,18 +64,5 @@ task: image: apon77/aosp:cirrus cpu: 2 memory: 4G - - post_build_script: - - set -e - - rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) - - branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') - - rom_name=$rom_name-$branch_name - - device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) - - grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout - - grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout - - grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout - - grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - - your_telegram_id=@ROM_builders_channel - - curl -s "https://api.telegram.org/bot${bot_api}/sendmessage" -d "text=$device-$rom_name Succeed - - https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" -d "chat_id=${your_telegram_id}" -d "parse_mode=HTML" + test_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash + post_build_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/post_build.sh | bash diff --git a/ci/build.sh b/ci/build.sh new file mode 100755 index 00000000000..c5315925c83 --- /dev/null +++ b/ci/build.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e +cd ~/roms/$rom_name +export CCACHE_DIR=~/ccache/$rom_name/$device +export CCACHE_EXEC=$(which ccache) +export USE_CCACHE=1 +ccache -M 8G +ccache -z +ls device/*/*/vendorsetup.sh | grep -v generic && echo "Please remove vendorsetup.sh file from device tree, use local manifest for cloning and removing repositories." && exit 1 || true +command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy') +bash -c "$command" + diff --git a/ci/ccache_stats.sh b/ci/ccache_stats.sh new file mode 100755 index 00000000000..237fdf45a81 --- /dev/null +++ b/ci/ccache_stats.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -e +export CCACHE_DIR=~/ccache/$rom_name/$device +ccache -s diff --git a/ci/notify.sh b/ci/notify.sh new file mode 100755 index 00000000000..416159140f5 --- /dev/null +++ b/ci/notify.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) +branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') +rom_name=$rom_name-$branch_name +device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) +grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout +grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout +grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout +grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds +your_telegram_id=@ROM_builders_junk +show=$(cat $CIRRUS_WORKING_DIR/build_rom.sh) +curl -s "https://api.telegram.org/bot${bot_api}/sendmessage" -d "text=$device-$rom_name Started +https://cirrus-ci.com/build/$CIRRUS_BUILD_ID $show" -d "chat_id=${your_telegram_id}" -d "parse_mode=HTML" + diff --git a/ci/post_build.sh b/ci/post_build.sh new file mode 100755 index 00000000000..020d169fb8b --- /dev/null +++ b/ci/post_build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -e +your_telegram_id=@ROM_builders_channel +curl -s "https://api.telegram.org/bot${bot_api}/sendmessage" -d "text=$device-$rom_name Succeed +https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" -d "chat_id=${your_telegram_id}" -d "parse_mode=HTML" diff --git a/ci/remove.sh b/ci/remove.sh new file mode 100755 index 00000000000..0032e1617a8 --- /dev/null +++ b/ci/remove.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +set -e +rm -rf ~/roms/$rom_name/out/target/product/$device diff --git a/ci/sync.sh b/ci/sync.sh new file mode 100755 index 00000000000..1d6a4cc1341 --- /dev/null +++ b/ci/sync.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e +mkdir -p ~/roms/$rom_name +cd ~/roms/$rom_name +rm -rf .repo/local_manifests +command=$(head $CIRRUS_WORKING_DIR/build_rom.sh -n $(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)) +only_sync=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) +bash -c "$command" || true diff --git a/ci/test.sh b/ci/test.sh new file mode 100755 index 00000000000..e37136c0cf1 --- /dev/null +++ b/ci/test.sh @@ -0,0 +1,112 @@ +#!/usr/bin/env bash + +set -e + +ccheck(){ + check=$(grep "$1" $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) + if [[ $check -gt 0 ]]; then echo "$2"; exit 1; fi +} + +ccheck 'rm ' 'Please dont use rm inside script, use local manifest for this purpose.' +ccheck 'sudo ' 'Please dont use sudo inside script.' +ccheck 'repo forall ' 'Please dont use repo forall inside script.' +ccheck 'curl ' 'Please dont use curl inside script.' +ccheck 'mmma ' 'Please dont use mmma inside script.' +ccheck 'mv ' 'Please dont use mv inside script, use local manifest for this purpose.' +ccheck 'sed ' 'Please dont use sed inside script, use local manifest for this purpose.' +ccheck 'tee ' 'Please dont use tee inside script, its not needed at all..' +ccheck ' clean' 'Please dont use make clean. Server does make installclean by default, which is enough for most of the cases.' +ccheck ' clobber' 'Please dont use make clobber. Server does make installclean by default, which is enough for most of the cases.' +ccheck ' installclean' 'Please dont use make installclean. Server does make installclean by default, which is enough for most of the cases.' +ccheck 'patch ' 'Please dont use patch inside script, use local manifest for this purpose.' +ccheck ' && ' 'Please dont use && inside script, put that command in next line for this purpose.' +ccheck ' & ' 'Please dont use & inside script.' +ccheck "||" 'Please dont use or operator inside script' +ccheck 'git fetch ' 'Please dont use fetch inside script, use local manifest for this purpose.' +ccheck 'repopick ' 'Please dont use repopick inside script, use local manifest for this purpose.' +ccheck "cd *" 'Please dont use cd inside script, use local manifest for this purpose.' + +init_check=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | grep 'depth=1') +if [[ $init_check != *default,-mips,-darwin,-notdefault* ]]; then echo Please use --depth=1 and -g default,-mips,-darwin,-notdefault tags in repo init line.; exit 1; fi + +clone_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) +if [[ $clone_check -gt 1 ]]; then echo Please use local manifest to clone trees and other repositories, we dont allow git clone to clone trees.; exit 1; fi + +url=https://$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 3-5 | cut -d ' ' -f 1) +r_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) +name_check=$(curl -Ls $url 2>&1 | grep 'repo init' | grep $r_name | wc -l) +if [[ $r_name == "Havoc-OS" ]]; then name_check=1; fi +if [[ $name_check == 0 ]]; then echo Please use init line url from rom manifest, its case sensitive. Also follow the format of build_rom.sh file of temporary repo main branch.; exit 1; fi + +j_check=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy' | grep '\-j' | wc -l) +if [[ $j_check -gt 0 ]]; then echo Please dont specify j value in make line.; exit 1; fi + +bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-c' | wc -l) +if [[ $bliss_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + +bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-d' | wc -l) +if [[ $bliss_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi +rclone_check=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) +rclone_string="rclone copy out/target/product/\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1)/*.zip cirrus:\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -P" +if [[ $rclone_check != *$rclone_string* ]]; then echo Please follow rclone copy line of main branch.; exit 1; fi + +sync_check=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) +sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" +if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line of main branch.; exit 1; fi + +rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) +branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') +rom_name=$rom_name-$branch_name +supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' + +if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi + +device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) +grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout +grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout +grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout +grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds + +if [[ $BRANCH != *pull/* ]]; then + if [[ $BRANCH != $device-$rom_name-* ]]; then echo Please use proper branch naming described in push group.; exit 1; fi; + if [[ $CIRRUS_COMMIT_MESSAGE == "Update build_rom.sh" ]]; then echo Please use proper commit message.; exit 1; fi; +fi + +if [[ $device == 'copy' ]]; then echo "Please use lunch or brunch command with device codename after . build/envsetup.sh" ; exit 1; fi +if [[ $device == 'mi439' ]]; then echo "Please use device codename Mi439 also create your dt with this device code name." ; exit 1; fi + +if [[ $BRANCH == *pull/* ]]; then + if [[ $CIRRUS_COMMIT_MESSAGE != $device-$rom_name-* ]]; then echo Please use proper PR label described in telegram group.; exit 1; fi + lunch_check=$(grep "unch" $CIRRUS_WORKING_DIR/build_rom.sh | grep -v 'rclone' | wc -l) + if [[ $rom_name != 'Corvus-R-12-test' ]]; then + if [[ $lunch_check -gt 1 ]]; then echo Please build for one device at a time.; exit 1; fi + fi + cd /tmp/cirrus-ci-build + PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') + AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') + + for id in 66806243 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 73420351 69832543 + do + logins+=" $(gh api -H "Accept: application/vnd.github+json" /user/$id -q '.login')" + done + + for value in $logins + do + if [[ $AUTHOR == $value ]]; then echo Please check \#bad_people instruction in telegram group.; exit 1; fi + done + + joindate=$(date -d $(curl -s https://api.github.com/users/$AUTHOR | grep created_at | cut -d '"' -f4) +%s) + nowdate=$(date +%s) + datediff=$(expr $nowdate - $joindate) + if [[ $datediff -lt 2592000 ]]; then echo Please don\'t try to run build with your new account. Use your original account for doing PR.; exit 1; fi +fi + +if [[ $CIRRUS_USER_PERMISSION == write ]]; then + if [ -z "$CIRRUS_PR" ]; then true; else + echo You are push user. Don\'t do pr and please follow pinned message in push group.; exit 1 + fi +fi + +echo Test passed +echo "rom_name=$rom_name" >> $CIRRUS_ENV +echo "device=$device" >> $CIRRUS_ENV diff --git a/ci/tsync.sh b/ci/tsync.sh new file mode 100755 index 00000000000..808ca1c80e0 --- /dev/null +++ b/ci/tsync.sh @@ -0,0 +1,54 @@ +#!/usr/bin/env bash +set -e +mkdir -p ~/roms/$rom_name +cd ~/roms/$rom_name +set -exv +curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log +a=$(grep 'Cannot remove project' sync.log -m1|| true) +b=$(grep "^fatal: remove-project element specifies non-existent project" sync.log -m1 || true) +c=$(grep 'repo sync has finished' sync.log -m1 || true) +d=$(grep 'Failing repos:' sync.log -n -m1 || true) +e=$(grep 'fatal: Unable' sync.log || true) +f=$(grep 'error.GitError' sync.log || true) +g=$(grep 'error: Cannot checkout' sync.log || true) +if [[ $a == *'Cannot remove project'* ]]; then + a=$(echo $a | cut -d ':' -f2 | tr -d ' ') + rm -rf $a +fi +if [[ $b == *'remove-project element specifies non-existent'* ]]; then exit 1; fi +if [[ $d == *'Failing repos:'* ]]; then + d=$(expr $(grep 'Failing repos:' sync.log -n -m 1| cut -d ':' -f1) + 1) + d2=$(expr $(grep 'Try re-running' sync.log -n -m1 | cut -d ':' -f1) - 1 ) + fail_paths=$(head -n $d2 sync.log | tail -n +$d) + for path in $fail_paths + do + rm -rf $path + aa=$(echo $path|awk -F '/' '{print $NF}') + rm -rf .repo/project-objects/*$aa.git .repo/projects/$path.git + done +fi +if [[ $e == *'fatal: Unable'* ]]; then + fail_paths=$(grep 'fatal: Unable' sync.log | cut -d ':' -f2 | cut -d "'" -f2) + for path in $fail_paths + do + rm -rf $path + aa=$(echo $path|awk -F '/' '{print $NF}') + rm -rf .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git + done +fi +if [[ $f == *'error.GitError'* ]]; then + rm -rf $(grep 'error.GitError' sync.log | cut -d ' ' -f2) +fi +if [[ $g == *'error: Cannot checkout'* ]]; then + coerr=$(grep 'error: Cannot checkout' sync.log | cut -d ' ' -f 4| tr -d ':') + for i in $coerr + do + rm -rf .repo/project-objects/$i.git + done +fi +if [[ $c == *'repo sync has finished'* ]]; then + true +else + repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) +fi +rm -rf sync.log diff --git a/ci/upload.sh b/ci/upload.sh new file mode 100755 index 00000000000..47717425e04 --- /dev/null +++ b/ci/upload.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -e +cd ~/roms/$rom_name +engzip=$(ls out/target/product/$device/*-eng*.zip | grep -v "retrofit" || true) +otazip=$(ls out/target/product/$device/*-ota-*.zip | grep -v "hentai" | grep -v "evolution" || true) +awaken=$(ls out/target/product/$device/Project-Awaken*.zip || true) +octavi=$(ls out/target/product/$device/OctaviOS-R*.zip || true) +p404=$(ls out/target/product/$device/?.*zip || true) +cipher=$(ls out/target/product/$device/CipherOS-*-OTA-*.zip || true) +rm -rf $engzip $otazip $awaken $octavi $p404 $cipher +dlink=$(basename out/target/product/$device/*.zip) +unzip -P $one -q ~/.config/1.zip -d ~ +file=out/target/product/$device/*.zip +rsync -vhcP $file -e "ssh -o Compression=no" apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ +echo "Download link https://sourceforge.net/projects/rom-builders/files/$device/$dlink/download" From 95ab85d64c16d85759fd55697cc95b42dd404b1b Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Mon, 10 Apr 2023 09:49:37 +0600 Subject: [PATCH 057/104] Moved to Modularize [skip ci] --- test.sh | 108 -------------------------------------------------------- 1 file changed, 108 deletions(-) delete mode 100755 test.sh diff --git a/test.sh b/test.sh deleted file mode 100755 index c9acbb02b3e..00000000000 --- a/test.sh +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/bash -set -e - -ccheck(){ - check=$(grep "$1" $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) - if [[ $check -gt 0 ]]; then echo "$2"; exit 1; fi -} - -ccheck 'rm ' 'Please dont use rm inside script, use local manifest for this purpose.' -ccheck 'sudo ' 'Please dont use sudo inside script.' -ccheck 'repo forall ' 'Please dont use repo forall inside script.' -ccheck 'curl ' 'Please dont use curl inside script.' -ccheck 'mmma ' 'Please dont use mmma inside script.' -ccheck 'mv ' 'Please dont use mv inside script, use local manifest for this purpose.' -ccheck 'sed ' 'Please dont use sed inside script, use local manifest for this purpose.' -ccheck 'tee ' 'Please dont use tee inside script, its not needed at all..' -ccheck ' clean' 'Please dont use make clean. Server does make installclean by default, which is enough for most of the cases.' -ccheck ' clobber' 'Please dont use make clobber. Server does make installclean by default, which is enough for most of the cases.' -ccheck ' installclean' 'Please dont use make installclean. Server does make installclean by default, which is enough for most of the cases.' -ccheck 'patch ' 'Please dont use patch inside script, use local manifest for this purpose.' -ccheck ' && ' 'Please dont use && inside script, put that command in next line for this purpose.' -ccheck ' & ' 'Please dont use & inside script.' -ccheck "||" 'Please dont use or operator inside script' -ccheck 'git fetch ' 'Please dont use fetch inside script, use local manifest for this purpose.' -ccheck 'repopick ' 'Please dont use repopick inside script, use local manifest for this purpose.' -ccheck "cd *" 'Please dont use cd inside script, use local manifest for this purpose.' - -init_check=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | grep 'depth=1') -if [[ $init_check != *default,-mips,-darwin,-notdefault* ]]; then echo Please use --depth=1 and -g default,-mips,-darwin,-notdefault tags in repo init line.; exit 1; fi - -clone_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) -if [[ $clone_check -gt 1 ]]; then echo Please use local manifest to clone trees and other repositories, we dont allow git clone to clone trees.; exit 1; fi - -url=https://$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 3-5 | cut -d ' ' -f 1) -r_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) -name_check=$(curl -Ls $url 2>&1 | grep 'repo init' | grep $r_name | wc -l) -if [[ $r_name == "Havoc-OS" ]]; then name_check=1; fi -if [[ $name_check == 0 ]]; then echo Please use init line url from rom manifest, its case sensitive. Also follow the format of build_rom.sh file of temporary repo main branch.; exit 1; fi - -j_check=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy' | grep '\-j' | wc -l) -if [[ $j_check -gt 0 ]]; then echo Please dont specify j value in make line.; exit 1; fi - -bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-c' | wc -l) -if [[ $bliss_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi - -bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-d' | wc -l) -if [[ $bliss_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi -rclone_check=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) -rclone_string="rclone copy out/target/product/\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1)/*.zip cirrus:\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -P" -if [[ $rclone_check != *$rclone_string* ]]; then echo Please follow rclone copy line of main branch.; exit 1; fi - -sync_check=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) -sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" -if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line of main branch.; exit 1; fi - -rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) -branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') -rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' -if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi - -device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout -grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout -grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout -grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds - -if [[ $BRANCH != *pull/* ]]; then - if [[ $BRANCH != $device-$rom_name-* ]]; then echo Please use proper branch naming described in push group.; exit 1; fi; - if [[ $CIRRUS_COMMIT_MESSAGE == "Update build_rom.sh" ]]; then echo Please use proper commit message.; exit 1; fi; -fi - -if [[ $device == 'copy' ]]; then echo "Please use lunch or brunch command with device codename after . build/envsetup.sh" ; exit 1; fi -if [[ $device == 'mi439' ]]; then echo "Please use device codename Mi439 also create your dt with this device code name." ; exit 1; fi - -if [[ $BRANCH == *pull/* ]]; then - if [[ $CIRRUS_COMMIT_MESSAGE != $device-$rom_name-* ]]; then echo Please use proper PR label described in telegram group.; exit 1; fi - lunch_check=$(grep "unch" $CIRRUS_WORKING_DIR/build_rom.sh | grep -v 'rclone' | wc -l) - if [[ $rom_name != 'Corvus-R-12-test' ]]; then - if [[ $lunch_check -gt 1 ]]; then echo Please build for one device at a time.; exit 1; fi - fi - cd /tmp/cirrus-ci-build - PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') - AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') - - for id in 66806243 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 73420351 69832543 - do - logins+=" $(gh api -H "Accept: application/vnd.github+json" /user/$id -q '.login')" - done - - for value in $logins - do - if [[ $AUTHOR == $value ]]; then echo Please check \#bad_people instruction in telegram group.; exit 1; fi - done - - joindate=$(date -d $(curl -s https://api.github.com/users/$AUTHOR | grep created_at | cut -d '"' -f4) +%s) - nowdate=$(date +%s) - datediff=$(expr $nowdate - $joindate) - if [[ $datediff -lt 2592000 ]]; then echo Please don\'t try to run build with your new account. Use your original account for doing PR.; exit 1; fi -fi - -if [[ $CIRRUS_USER_PERMISSION == write ]]; then - if [ -z "$CIRRUS_PR" ]; then true; else - echo You are push user. Don\'t do pr and please follow pinned message in push group.; exit 1 - fi -fi - -echo Test passed From 361a02abbe3cfe26d7605a6fecba5a8dae2d609b Mon Sep 17 00:00:00 2001 From: Apon77 Date: Wed, 12 Apr 2023 23:47:08 +0600 Subject: [PATCH 058/104] remove obsolete roms/branches & add few a13 roms [skip ci] --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index e37136c0cf1..28760850c26 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -57,7 +57,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-sapphire AOSPA-topaz AospExtended-12.1.x AOSPK-twelve ArrowOS-arrow-12.1 ArrowOS-arrow-13.0 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-twelve-one CherishOS-tiramisu CipherOS-twelve-L CipherOS-thirteen ConquerOS-twelve Corvus-AOSP-13 Corvus-R-12-test crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 DotOS-dot12.1 Evolution-X-elle Evolution-X-snow Evolution-X-tiramisu Fork-Krypton-A12 ForkLineageOS-lineage-19.1 Fusion-OS-twelve Havoc-OS-eleven Havoc-OS-twelve Komodo-OS-12.1 lighthouse-os-sailboat_L1 LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-shinka P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-snow PixelExtended-trece PixelOS-AOSP-twelve PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen PotatoProject-frico_mr1-release Project-Awaken-12.1 Project-Awaken-triton ProjectBlaze-12.1 ProjectBlaze-13 Project-Fluid-fluid-12.1 ProjectRadiant-twelve ProjectStreak-twelve.one Project-Kaleidoscope-sunflowerleaf Project-Xtended-xt ResurrectionRemix-Q ricedroidOSS-thirteen ShapeShiftOS-android_12 ShapeShiftOS-android_13 Spark-Rom-spark Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-s12.1 StagOS-t13 StyxProject-S syberia-project-12.1 syberia-project-13.0 The-RAVEN-OS-twelve VoltageOS-12l VoltageOS-13 xdroid-oss-twelve xdroid-oss-thirteen yaap-twelve ' +supported_roms=' AICP-s12.1 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From d72c78f6bb06337b339442037ac52e59c1b58b65 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Tue, 25 Apr 2023 10:36:00 +0600 Subject: [PATCH 059/104] dont allow rm [skip ci] --- ci/test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/test.sh b/ci/test.sh index 28760850c26..ddecba0c937 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -8,6 +8,9 @@ ccheck(){ } ccheck 'rm ' 'Please dont use rm inside script, use local manifest for this purpose.' +ccheck 'find ' 'Please dont use find inside script, use local manifest for this purpose.' +ccheck 'unlink ' 'Please dont use unlink inside script, use local manifest for this purpose.' +ccheck 'shred ' 'Please dont use shred inside script, use local manifest for this purpose.' ccheck 'sudo ' 'Please dont use sudo inside script.' ccheck 'repo forall ' 'Please dont use repo forall inside script.' ccheck 'curl ' 'Please dont use curl inside script.' From d8a90445ec8b3f157041ff28ef9c5056fbe16125 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Wed, 26 Apr 2023 18:21:14 +0600 Subject: [PATCH 060/104] replace init with repo init [skip ci] --- ci/notify.sh | 4 ++-- ci/test.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/notify.sh b/ci/notify.sh index 416159140f5..ab33a1971b1 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) -branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') +rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) +branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout diff --git a/ci/test.sh b/ci/test.sh index ddecba0c937..248d8d46b1d 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -35,8 +35,8 @@ if [[ $init_check != *default,-mips,-darwin,-notdefault* ]]; then echo Please us clone_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) if [[ $clone_check -gt 1 ]]; then echo Please use local manifest to clone trees and other repositories, we dont allow git clone to clone trees.; exit 1; fi -url=https://$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 3-5 | cut -d ' ' -f 1) -r_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) +url=https://$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 3-5 | cut -d ' ' -f 1) +r_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) name_check=$(curl -Ls $url 2>&1 | grep 'repo init' | grep $r_name | wc -l) if [[ $r_name == "Havoc-OS" ]]; then name_check=1; fi if [[ $name_check == 0 ]]; then echo Please use init line url from rom manifest, its case sensitive. Also follow the format of build_rom.sh file of temporary repo main branch.; exit 1; fi @@ -57,8 +57,8 @@ sync_check=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line of main branch.; exit 1; fi -rom_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) -branch_name=$(grep init $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') +rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) +branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name supported_roms=' AICP-s12.1 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' From 5d0132996a3a259a36e53c6ee5c00caa0f8f8745 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Fri, 28 Apr 2023 00:42:39 +0600 Subject: [PATCH 061/104] try fixing dirty [skip ci] --- ci/tsync.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/tsync.sh b/ci/tsync.sh index 808ca1c80e0..b2e21d5936c 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -52,3 +52,9 @@ else repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) fi rm -rf sync.log + +dirty_dirs="prebuilts/clang/host/linux-x86" +for dir in $dirty_dirs +do + [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; repo sync "$dir") +done From 9a16fbe73180026a7b7e9e4ce345775a663f83f9 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Fri, 28 Apr 2023 09:06:24 +0600 Subject: [PATCH 062/104] try fixing dirty 2 [skip ci] --- ci/tsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index b2e21d5936c..2412d3f99fe 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -56,5 +56,5 @@ rm -rf sync.log dirty_dirs="prebuilts/clang/host/linux-x86" for dir in $dirty_dirs do - [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; repo sync "$dir") + [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; repo sync) done From c60fe04e4601be695969406c88c20d9f9b1a7ee2 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Fri, 28 Apr 2023 09:38:57 +0600 Subject: [PATCH 063/104] trying fixing dirty 3 [skip ci] --- ci/tsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 2412d3f99fe..be8827f827d 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -56,5 +56,5 @@ rm -rf sync.log dirty_dirs="prebuilts/clang/host/linux-x86" for dir in $dirty_dirs do - [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; repo sync) + [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; repo sync) || true done From 57cda631b0bbf5de9368d04d60110bbf27b7404a Mon Sep 17 00:00:00 2001 From: Apon77 Date: Mon, 1 May 2023 08:55:03 +0600 Subject: [PATCH 064/104] aospa clean check [skip ci] --- ci/test.sh | 19 +++++++++++++++++++ ci/tsync.sh | 11 +++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ci/test.sh b/ci/test.sh index 248d8d46b1d..c1b139e7026 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -47,8 +47,27 @@ if [[ $j_check -gt 0 ]]; then echo Please dont specify j value in make line.; ex bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-c' | wc -l) if [[ $bliss_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi +bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\--clean' | wc -l) +if [[ $bliss_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-d' | wc -l) if [[ $bliss_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + +bliss_check=$(grep blissify $CIRRUS_WORKING_DIR/build_rom.sh | grep '\--devclean' | wc -l) +if [[ $bliss_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + +aospa_check=$(grep "rom-build.sh" $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-c' | wc -l) +if [[ $aospa_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + +aospa_check=$(grep "rom-build.sh" $CIRRUS_WORKING_DIR/build_rom.sh | grep '\--clean' | wc -l) +if [[ $aospa_check -gt 0 ]]; then echo Please dont use make clean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + +aospa_check=$(grep "rom-build.sh" $CIRRUS_WORKING_DIR/build_rom.sh | grep '\-i' | wc -l) +if [[ $aospa_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + +aospa_check=$(grep "rom-build.sh" $CIRRUS_WORKING_DIR/build_rom.sh | grep '\--installclean' | wc -l) +if [[ $aospa_check -gt 0 ]]; then echo Please dont use make installclean flag. Server does make installclean by default, which is enough for most of the cases.; exit 1; fi + rclone_check=$(grep 'rclone copy' $CIRRUS_WORKING_DIR/build_rom.sh) rclone_string="rclone copy out/target/product/\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1)/*.zip cirrus:\$(grep unch \$CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -P" if [[ $rclone_check != *$rclone_string* ]]; then echo Please follow rclone copy line of main branch.; exit 1; fi diff --git a/ci/tsync.sh b/ci/tsync.sh index be8827f827d..dbf0737a8ed 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -set -e +set -exv mkdir -p ~/roms/$rom_name cd ~/roms/$rom_name -set -exv curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log + a=$(grep 'Cannot remove project' sync.log -m1|| true) b=$(grep "^fatal: remove-project element specifies non-existent project" sync.log -m1 || true) c=$(grep 'repo sync has finished' sync.log -m1 || true) @@ -11,11 +11,14 @@ d=$(grep 'Failing repos:' sync.log -n -m1 || true) e=$(grep 'fatal: Unable' sync.log || true) f=$(grep 'error.GitError' sync.log || true) g=$(grep 'error: Cannot checkout' sync.log || true) + if [[ $a == *'Cannot remove project'* ]]; then a=$(echo $a | cut -d ':' -f2 | tr -d ' ') rm -rf $a fi + if [[ $b == *'remove-project element specifies non-existent'* ]]; then exit 1; fi + if [[ $d == *'Failing repos:'* ]]; then d=$(expr $(grep 'Failing repos:' sync.log -n -m 1| cut -d ':' -f1) + 1) d2=$(expr $(grep 'Try re-running' sync.log -n -m1 | cut -d ':' -f1) - 1 ) @@ -27,6 +30,7 @@ if [[ $d == *'Failing repos:'* ]]; then rm -rf .repo/project-objects/*$aa.git .repo/projects/$path.git done fi + if [[ $e == *'fatal: Unable'* ]]; then fail_paths=$(grep 'fatal: Unable' sync.log | cut -d ':' -f2 | cut -d "'" -f2) for path in $fail_paths @@ -36,9 +40,11 @@ if [[ $e == *'fatal: Unable'* ]]; then rm -rf .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git done fi + if [[ $f == *'error.GitError'* ]]; then rm -rf $(grep 'error.GitError' sync.log | cut -d ' ' -f2) fi + if [[ $g == *'error: Cannot checkout'* ]]; then coerr=$(grep 'error: Cannot checkout' sync.log | cut -d ' ' -f 4| tr -d ':') for i in $coerr @@ -46,6 +52,7 @@ if [[ $g == *'error: Cannot checkout'* ]]; then rm -rf .repo/project-objects/$i.git done fi + if [[ $c == *'repo sync has finished'* ]]; then true else From cfaa5c996686866cbbf726196a4fda54b19de65e Mon Sep 17 00:00:00 2001 From: DESTROYER3264 <118124438+DESTROYER3264@users.noreply.github.com> Date: Sat, 13 May 2023 11:22:20 +0530 Subject: [PATCH 065/104] [skip ci] Add new default branch of bliss (#20763) --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index c1b139e7026..42516933693 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -79,7 +79,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-s12.1 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon-qpr2 BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From 6d3d9ebd80e93ef895483fd444c3356d8d6d1103 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sun, 21 May 2023 19:11:42 +0600 Subject: [PATCH 066/104] force to fix spelling [skip ci] --- ci/test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/test.sh b/ci/test.sh index 42516933693..98aa065bce7 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -35,6 +35,9 @@ if [[ $init_check != *default,-mips,-darwin,-notdefault* ]]; then echo Please us clone_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh | wc -l) if [[ $clone_check -gt 1 ]]; then echo Please use local manifest to clone trees and other repositories, we dont allow git clone to clone trees.; exit 1; fi +manifests_check=$(grep 'git clone' $CIRRUS_WORKING_DIR/build_rom.sh) +if [[ $manifests_check != *.repo/local_manifests* ]]; then echo Please follow git clone line from main branch.; exit 1; fi + url=https://$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 3-5 | cut -d ' ' -f 1) r_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) name_check=$(curl -Ls $url 2>&1 | grep 'repo init' | grep $r_name | wc -l) From 835245c4dce945b489f46f214f62fbf8bb97bf6e Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:21:29 +0600 Subject: [PATCH 067/104] Add alphadroid-project a13 [skip ci] --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 98aa065bce7..4cb998dbac7 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -82,7 +82,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon-qpr2 BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon-qpr2 BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From 1d0f60b2ed2f0a301a2acbd8fee35bd5fde264ce Mon Sep 17 00:00:00 2001 From: Apon77 Date: Mon, 19 Jun 2023 12:33:12 +0600 Subject: [PATCH 068/104] check file upload speed [skip ci] --- ci/upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/upload.sh b/ci/upload.sh index 47717425e04..437059a5af2 100755 --- a/ci/upload.sh +++ b/ci/upload.sh @@ -11,5 +11,5 @@ rm -rf $engzip $otazip $awaken $octavi $p404 $cipher dlink=$(basename out/target/product/$device/*.zip) unzip -P $one -q ~/.config/1.zip -d ~ file=out/target/product/$device/*.zip -rsync -vhcP $file -e "ssh -o Compression=no" apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ +rsync -vhcP -e ssh $file apon77@frs.sourceforge.net:/home/frs/project/rom-builders/$device/ echo "Download link https://sourceforge.net/projects/rom-builders/files/$device/$dlink/download" From bf44c87867ca39874b4d282d5cd00f8feab1bec8 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Tue, 4 Jul 2023 07:12:47 +0600 Subject: [PATCH 069/104] Sleep before fixing sync [skip ci] --- ci/tsync.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/tsync.sh b/ci/tsync.sh index dbf0737a8ed..08be7adf67d 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -exv +sleep 10 mkdir -p ~/roms/$rom_name cd ~/roms/$rom_name curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log From a200de54a0dba1f2293f0d5ba5bd9de5410cff9d Mon Sep 17 00:00:00 2001 From: Apon77 Date: Fri, 7 Jul 2023 01:04:48 +0600 Subject: [PATCH 070/104] Try cm-14.1 build fix [skip ci] --- ci/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/build.sh b/ci/build.sh index c5315925c83..5039f1bdfce 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -8,6 +8,7 @@ export USE_CCACHE=1 ccache -M 8G ccache -z ls device/*/*/vendorsetup.sh | grep -v generic && echo "Please remove vendorsetup.sh file from device tree, use local manifest for cloning and removing repositories." && exit 1 || true +if [[ $rom_name == 'LineageOS-cm-14.1' ]]; then sudo mkdir -p /usr/share/man/man1; sudo apt update; sudo apt install openjdk-8-jdk --no-install-recommends -y; sudo curl -L -o /etc/java-8-openjdk/security/java.security https://raw.githubusercontent.com/Apon77Lab/repo_update/java/java.security; sudo ln -sf /usr/bin/python2 /usr/bin/python; fi command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy') bash -c "$command" From fb629d413d33806f16c660bfb0499a9e4aaf88e1 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sat, 8 Jul 2023 09:22:11 +0600 Subject: [PATCH 071/104] Remove lock files before sync fix [skip ci] --- ci/tsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 08be7adf67d..fd629a92539 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash set -exv -sleep 10 mkdir -p ~/roms/$rom_name cd ~/roms/$rom_name +find .repo -name '*.lock' -delete curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log a=$(grep 'Cannot remove project' sync.log -m1|| true) From db28f41532732752db3743930f83359114d12f05 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sat, 8 Jul 2023 10:23:44 +0600 Subject: [PATCH 072/104] Less log in tsync [skip ci] --- ci/tsync.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index fd629a92539..00113a006ad 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -exv mkdir -p ~/roms/$rom_name cd ~/roms/$rom_name find .repo -name '*.lock' -delete @@ -12,10 +11,11 @@ d=$(grep 'Failing repos:' sync.log -n -m1 || true) e=$(grep 'fatal: Unable' sync.log || true) f=$(grep 'error.GitError' sync.log || true) g=$(grep 'error: Cannot checkout' sync.log || true) +echo -e "a=$a \nb=$b \nc=$c \nd=$d \ne=$e \nf=$f \ng=$g \n" if [[ $a == *'Cannot remove project'* ]]; then a=$(echo $a | cut -d ':' -f2 | tr -d ' ') - rm -rf $a + rm -rfv $a fi if [[ $b == *'remove-project element specifies non-existent'* ]]; then exit 1; fi @@ -24,6 +24,7 @@ if [[ $d == *'Failing repos:'* ]]; then d=$(expr $(grep 'Failing repos:' sync.log -n -m 1| cut -d ':' -f1) + 1) d2=$(expr $(grep 'Try re-running' sync.log -n -m1 | cut -d ':' -f1) - 1 ) fail_paths=$(head -n $d2 sync.log | tail -n +$d) + echo -e "d=$d \nd2=$d2 \nfail_paths=$fail_paths" for path in $fail_paths do rm -rf $path @@ -34,6 +35,7 @@ fi if [[ $e == *'fatal: Unable'* ]]; then fail_paths=$(grep 'fatal: Unable' sync.log | cut -d ':' -f2 | cut -d "'" -f2) + echo -e "fail_paths=$fail_paths" for path in $fail_paths do rm -rf $path @@ -48,6 +50,7 @@ fi if [[ $g == *'error: Cannot checkout'* ]]; then coerr=$(grep 'error: Cannot checkout' sync.log | cut -d ' ' -f 4| tr -d ':') + echo -e "coerr=$coerr" for i in $coerr do rm -rf .repo/project-objects/$i.git From a61b2f56b04058db68cbac26f722bf7d2adf8a49 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sat, 8 Jul 2023 20:47:37 +0600 Subject: [PATCH 073/104] los 15.1 and los 16.0 build fix [skip ci] --- ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/build.sh b/ci/build.sh index 5039f1bdfce..261e6f01349 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -8,7 +8,7 @@ export USE_CCACHE=1 ccache -M 8G ccache -z ls device/*/*/vendorsetup.sh | grep -v generic && echo "Please remove vendorsetup.sh file from device tree, use local manifest for cloning and removing repositories." && exit 1 || true -if [[ $rom_name == 'LineageOS-cm-14.1' ]]; then sudo mkdir -p /usr/share/man/man1; sudo apt update; sudo apt install openjdk-8-jdk --no-install-recommends -y; sudo curl -L -o /etc/java-8-openjdk/security/java.security https://raw.githubusercontent.com/Apon77Lab/repo_update/java/java.security; sudo ln -sf /usr/bin/python2 /usr/bin/python; fi +if [[ " LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 " == *"$rom_name"* ]]; then sudo mkdir -p /usr/share/man/man1; sudo apt update; sudo apt install openjdk-8-jdk --no-install-recommends -y; sudo curl -L -o /etc/java-8-openjdk/security/java.security https://raw.githubusercontent.com/Apon77Lab/repo_update/java/java.security; sudo ln -sf /usr/bin/python2 /usr/bin/python; fi command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy') bash -c "$command" From 0dd54f85f4114d480ff7cdd0eaf4ba37ea17dd9f Mon Sep 17 00:00:00 2001 From: Apon77 Date: Mon, 10 Jul 2023 12:59:46 +0600 Subject: [PATCH 074/104] show which dirs are removing [skip ci] --- ci/tsync.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 00113a006ad..2ce196f0113 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -27,9 +27,9 @@ if [[ $d == *'Failing repos:'* ]]; then echo -e "d=$d \nd2=$d2 \nfail_paths=$fail_paths" for path in $fail_paths do - rm -rf $path + rm -rfv $path aa=$(echo $path|awk -F '/' '{print $NF}') - rm -rf .repo/project-objects/*$aa.git .repo/projects/$path.git + rm -rfv .repo/project-objects/*$aa.git .repo/projects/$path.git done fi @@ -38,9 +38,9 @@ if [[ $e == *'fatal: Unable'* ]]; then echo -e "fail_paths=$fail_paths" for path in $fail_paths do - rm -rf $path + rm -rfv $path aa=$(echo $path|awk -F '/' '{print $NF}') - rm -rf .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git + rm -rfv .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git done fi @@ -53,7 +53,7 @@ if [[ $g == *'error: Cannot checkout'* ]]; then echo -e "coerr=$coerr" for i in $coerr do - rm -rf .repo/project-objects/$i.git + rm -rfv .repo/project-objects/$i.git done fi @@ -67,5 +67,5 @@ rm -rf sync.log dirty_dirs="prebuilts/clang/host/linux-x86" for dir in $dirty_dirs do - [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; repo sync) || true + [[ -n $(git -C "$dir" status -s) ]] && (rm -rfv "$dir"; repo sync) || true done From d07506521383e6b617d9f9cd937d9f97303841b2 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 13 Jul 2023 11:38:15 +0600 Subject: [PATCH 075/104] Less logs in ci [skip ci] --- ci/tsync.sh | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 2ce196f0113..8b4be593642 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -15,7 +15,8 @@ echo -e "a=$a \nb=$b \nc=$c \nd=$d \ne=$e \nf=$f \ng=$g \n" if [[ $a == *'Cannot remove project'* ]]; then a=$(echo $a | cut -d ':' -f2 | tr -d ' ') - rm -rfv $a + rm -rf $a + echo removed $a fi if [[ $b == *'remove-project element specifies non-existent'* ]]; then exit 1; fi @@ -27,9 +28,11 @@ if [[ $d == *'Failing repos:'* ]]; then echo -e "d=$d \nd2=$d2 \nfail_paths=$fail_paths" for path in $fail_paths do - rm -rfv $path + rm -rf $path + echo removed $path aa=$(echo $path|awk -F '/' '{print $NF}') - rm -rfv .repo/project-objects/*$aa.git .repo/projects/$path.git + rm -rf .repo/project-objects/*$aa.git .repo/projects/$path.git + echo removed .repo/project-objects/*$aa.git .repo/projects/$path.git done fi @@ -38,9 +41,11 @@ if [[ $e == *'fatal: Unable'* ]]; then echo -e "fail_paths=$fail_paths" for path in $fail_paths do - rm -rfv $path + rm -rf $path + echo removed $path aa=$(echo $path|awk -F '/' '{print $NF}') - rm -rfv .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git + rm -rf .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git + echo removed .repo/project-objects/*$aa.git .repo/project-objects/$path.git .repo/projects/$path.git done fi @@ -53,7 +58,8 @@ if [[ $g == *'error: Cannot checkout'* ]]; then echo -e "coerr=$coerr" for i in $coerr do - rm -rfv .repo/project-objects/$i.git + rm -rf .repo/project-objects/$i.git + echo removed .repo/project-objects/$i.git done fi @@ -67,5 +73,5 @@ rm -rf sync.log dirty_dirs="prebuilts/clang/host/linux-x86" for dir in $dirty_dirs do - [[ -n $(git -C "$dir" status -s) ]] && (rm -rfv "$dir"; repo sync) || true + [[ -n $(git -C "$dir" status -s) ]] && (rm -rf "$dir"; echo removed $dir; repo sync) || true done From a4fbc3f8789ff7cffa6cd8f4bf6a33cedd1b0182 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sun, 16 Jul 2023 14:47:36 +0600 Subject: [PATCH 076/104] Blissrom branch changed [skip ci] --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 4cb998dbac7..f4c612021bc 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -82,7 +82,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon-qpr2 BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From c2eb2979f1b1cbdc18f4484e4e5388716f3536e6 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sun, 23 Jul 2023 14:02:23 +0600 Subject: [PATCH 077/104] no need test in post build [skip ci] --- .cirrus.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 8fccd44d117..671ad104622 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -64,5 +64,4 @@ task: image: apon77/aosp:cirrus cpu: 2 memory: 4G - test_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash post_build_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/post_build.sh | bash From 5276d39ea8c170b22a52511ba00b9f339cf4b724 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sun, 23 Jul 2023 14:03:47 +0600 Subject: [PATCH 078/104] no need -L flag in curl [skip ci] --- .cirrus.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 671ad104622..27fcb9c7d63 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -19,8 +19,8 @@ task: memory: 4G env_script: env show_script: cat $CIRRUS_WORKING_DIR/build_rom.sh - notify_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/notify.sh | bash - test_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash + notify_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/notify.sh | bash + test_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash task: name: Build @@ -41,13 +41,13 @@ task: - /home/cirrus/ccache:/home/cirrus/ccache - /home/cirrus/.config:/home/cirrus/.config show_script: cat $CIRRUS_WORKING_DIR/build_rom.sh - test_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash - sync_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/sync.sh | bash - tsync_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/tsync.sh | bash - build_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/build.sh | bash - ccache_stats_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/ccache_stats.sh | bash - upload_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/upload.sh | bash - remove_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/remove.sh | bash + test_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash + sync_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/sync.sh | bash + tsync_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/tsync.sh | bash + build_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/build.sh | bash + ccache_stats_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/ccache_stats.sh | bash + upload_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/upload.sh | bash + remove_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/remove.sh | bash task: name: Post Build @@ -64,4 +64,4 @@ task: image: apon77/aosp:cirrus cpu: 2 memory: 4G - post_build_script: curl -Ls https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/post_build.sh | bash + post_build_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/post_build.sh | bash From b2fe20515fd5f0bc2d41243a744f6323e82991ee Mon Sep 17 00:00:00 2001 From: Apon77 Date: Mon, 24 Jul 2023 00:27:55 +0600 Subject: [PATCH 079/104] test script is needed to show device/rom name [skip ci] --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 27fcb9c7d63..9658c8186cb 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -64,4 +64,5 @@ task: image: apon77/aosp:cirrus cpu: 2 memory: 4G + test_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/test.sh | bash post_build_script: curl -s https://raw.githubusercontent.com/ROM-builders/temporary/main/ci/post_build.sh | bash From dd5a7a1e62bac02fe77a78e9be6538035c821843 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:17:00 +0600 Subject: [PATCH 080/104] block bad user --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index f4c612021bc..e6c2d4bb023 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -110,7 +110,7 @@ if [[ $BRANCH == *pull/* ]]; then PR_NUM=$(echo $BRANCH|awk -F '/' '{print $2}') AUTHOR=$(gh pr view $PR_NUM|grep author| awk '{print $2}') - for id in 66806243 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 73420351 69832543 + for id in 66806243 25178653 100027207 77049889 37245252 87101173 91236805 56505303 77262770 60956846 1133897 92011891 80823029 58514579 102499518 73420351 69832543 do logins+=" $(gh api -H "Accept: application/vnd.github+json" /user/$id -q '.login')" done From 0462812056ca3b861122d80eb4b2f1299c296177 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:13:01 +0600 Subject: [PATCH 081/104] update pixelextended thunder & add risingtechos [skip ci] --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index e6c2d4bb023..8fe9d0b99e1 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -82,7 +82,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-trece PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From f766b7021b5db2cad2149bf320618e502d38e4a1 Mon Sep 17 00:00:00 2001 From: nosebs <78350356+nosebs@users.noreply.github.com> Date: Sat, 5 Aug 2023 14:15:27 +0600 Subject: [PATCH 082/104] Add AICP 13.0 [skip ci] (#23248) --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 8fe9d0b99e1..8d14ede4b1e 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -82,7 +82,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-t13.0 AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From 69bacc399d97521c4f00f7158bb7a0aa43e000a1 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Wed, 16 Aug 2023 11:06:17 +0600 Subject: [PATCH 083/104] block cmka [skip ci] --- ci/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/test.sh b/ci/test.sh index 8d14ede4b1e..215f639a7df 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -21,6 +21,7 @@ ccheck 'tee ' 'Please dont use tee inside script, its not needed at all..' ccheck ' clean' 'Please dont use make clean. Server does make installclean by default, which is enough for most of the cases.' ccheck ' clobber' 'Please dont use make clobber. Server does make installclean by default, which is enough for most of the cases.' ccheck ' installclean' 'Please dont use make installclean. Server does make installclean by default, which is enough for most of the cases.' +ccheck 'cmka ' 'Please dont use cmka. Server does make installclean by default, which is enough for most of the cases.' ccheck 'patch ' 'Please dont use patch inside script, use local manifest for this purpose.' ccheck ' && ' 'Please dont use && inside script, put that command in next line for this purpose.' ccheck ' & ' 'Please dont use & inside script.' From fa48e9358aa06c508288dc66452b85584618dee5 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 17 Aug 2023 02:27:05 +0600 Subject: [PATCH 084/104] initialize db [skip ci] --- .cirrus.yml | 2 ++ ci/notify.sh | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 9658c8186cb..357d6daebe7 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,6 +3,8 @@ env: BUILD_HOSTNAME: "cirrus-ci.org" bot_api: "ENCRYPTED[d5f8289d835b201789b2b31e728d0cd82a100f1b47ddec69dd6ba49a3712fcfa2719b220fc6a8894865df517a78332ca]" one: "ENCRYPTED[267097e8096e1e12efc9c6e71626703ddc8ae1c6730511b6207586a045e2dd3bd59dd0b9d632642fc58d89913cc539a8]" + two: "ENCRYPTED[7aa062112fa8a4acebe3b71432937334ed3fa05f2d8eaa044d7976e01cbf3fdff7f01f8c91a9e723304aa8b45816c459]" + three: "ENCRYPTED[799a19ef34b1bd39bd174dbc5b2044e1fd4124b0bf9436ed68a3a197e68be303e15a59b4b448a4f58c44b0faa3c3892b]" task: name: Test diff --git a/ci/notify.sh b/ci/notify.sh index ab33a1971b1..46730955e22 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -13,3 +13,12 @@ show=$(cat $CIRRUS_WORKING_DIR/build_rom.sh) curl -s "https://api.telegram.org/bot${bot_api}/sendmessage" -d "text=$device-$rom_name Started https://cirrus-ci.com/build/$CIRRUS_BUILD_ID $show" -d "chat_id=${your_telegram_id}" -d "parse_mode=HTML" +github_userid=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.id') +github_username=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.login') +triggered_date=$(date +%s) +curl -X POST "$two" \ +-H "apikey: $three" \ +-H "Authorization: Bearer $three" \ +-H "Content-Type: application/json" \ +-H "Prefer: return=minimal" \ +-d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\" }" From 2168251c13974c6a8fd9e3ebae6e5fa6f0d7b429 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 17 Aug 2023 11:46:33 +0600 Subject: [PATCH 085/104] fix commit message [skip ci] --- ci/notify.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ci/notify.sh b/ci/notify.sh index 46730955e22..9f99496c2e0 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -16,9 +16,5 @@ https://cirrus-ci.com/build/$CIRRUS_BUILD_ID $show" -d "chat_id=${your_telegram_ github_userid=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.id') github_username=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.login') triggered_date=$(date +%s) -curl -X POST "$two" \ --H "apikey: $three" \ --H "Authorization: Bearer $three" \ --H "Content-Type: application/json" \ --H "Prefer: return=minimal" \ --d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\" }" +if [[ $BRANCH == *pull/* ]]; then CIRRUS_COMMIT_MESSAGE=${CIRRUS_COMMIT_MESSAGE//-/""}; fi +curl -X POST "$two" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\" }" From 3bc6476f546c7ca28ee54b031023caabad33eea3 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 17 Aug 2023 11:55:30 +0600 Subject: [PATCH 086/104] test commit message 2 [skip ci] --- ci/notify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/notify.sh b/ci/notify.sh index 9f99496c2e0..a3b94db6b46 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -16,5 +16,5 @@ https://cirrus-ci.com/build/$CIRRUS_BUILD_ID $show" -d "chat_id=${your_telegram_ github_userid=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.id') github_username=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.login') triggered_date=$(date +%s) -if [[ $BRANCH == *pull/* ]]; then CIRRUS_COMMIT_MESSAGE=${CIRRUS_COMMIT_MESSAGE//-/""}; fi +if [[ $BRANCH == *pull/* ]]; then CIRRUS_COMMIT_MESSAGE="" ; fi curl -X POST "$two" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\" }" From 0f18c74a08ccd0b875d1519671fb4887ae48b69c Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 17 Aug 2023 13:50:47 +0600 Subject: [PATCH 087/104] log device rom branch [skip ci] --- ci/notify.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/notify.sh b/ci/notify.sh index a3b94db6b46..d419ee17054 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -2,6 +2,7 @@ rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') +only_rom=$rom_name rom_name=$rom_name-$branch_name device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout @@ -17,4 +18,4 @@ github_userid=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api github_username=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.login') triggered_date=$(date +%s) if [[ $BRANCH == *pull/* ]]; then CIRRUS_COMMIT_MESSAGE="" ; fi -curl -X POST "$two" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\" }" +curl -X POST "$two" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\", \"rom_name\": \"$only_rom\", \"rom_branch\": \"$branch_name\", \"device\": \"$device\" }" From 1a672f106698b64fa330995f2b1911ca6fef83a1 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 17 Aug 2023 14:13:32 +0600 Subject: [PATCH 088/104] add succeed date [skip ci] --- ci/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index 261e6f01349..f53173112e8 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -12,3 +12,5 @@ if [[ " LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 " == *"$ command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetup.sh' $CIRRUS_WORKING_DIR/build_rom.sh -n | cut -f1 -d:) - 1)| head -n -1 | grep -v 'rclone copy') bash -c "$command" +succeed_date=$(date +%s) +curl -X PATCH "$two?cirrus_build_id=eq.https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"succeed_date\": \"$succeed_date\" }" From d56b5352a86c5955ada8479e03c8f72380fd2140 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 17 Aug 2023 16:44:41 +0600 Subject: [PATCH 089/104] add support for SCW_sprout [skip ci] --- ci/notify.sh | 1 + ci/test.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/notify.sh b/ci/notify.sh index d419ee17054..0cf3be0b8bc 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -8,6 +8,7 @@ device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout +grep _SCW_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=SCW_sprout grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds your_telegram_id=@ROM_builders_junk show=$(cat $CIRRUS_WORKING_DIR/build_rom.sh) diff --git a/ci/test.sh b/ci/test.sh index 215f639a7df..2cc014eea52 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -91,6 +91,7 @@ device=$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut grep _jasmine_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=jasmine_sprout grep _laurel_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=laurel_sprout grep _GM8_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=GM8_sprout +grep _SCW_sprout $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=SCW_sprout grep _maple_dsds $CIRRUS_WORKING_DIR/build_rom.sh > /dev/null && device=maple_dsds if [[ $BRANCH != *pull/* ]]; then From a08dad976c38fd04231d257a27aa19f1a87e9fc7 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Sat, 19 Aug 2023 01:37:47 +0600 Subject: [PATCH 090/104] update environment [skip ci] --- .cirrus.yml | 1 + ci/build.sh | 2 +- ci/notify.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 357d6daebe7..75cf298800c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,6 +5,7 @@ env: one: "ENCRYPTED[267097e8096e1e12efc9c6e71626703ddc8ae1c6730511b6207586a045e2dd3bd59dd0b9d632642fc58d89913cc539a8]" two: "ENCRYPTED[7aa062112fa8a4acebe3b71432937334ed3fa05f2d8eaa044d7976e01cbf3fdff7f01f8c91a9e723304aa8b45816c459]" three: "ENCRYPTED[799a19ef34b1bd39bd174dbc5b2044e1fd4124b0bf9436ed68a3a197e68be303e15a59b4b448a4f58c44b0faa3c3892b]" + four: "ENCRYPTED[ba5de696b8cf470f1d5ad476158ea211a1bde6559b2295d251afc736585174139f9577ab83b4c473ce1851fb8cbc56d8]" task: name: Test diff --git a/ci/build.sh b/ci/build.sh index f53173112e8..a06a4c3f8b3 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -13,4 +13,4 @@ command=$(tail $CIRRUS_WORKING_DIR/build_rom.sh -n +$(expr $(grep 'build/envsetu bash -c "$command" succeed_date=$(date +%s) -curl -X PATCH "$two?cirrus_build_id=eq.https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"succeed_date\": \"$succeed_date\" }" +curl -X PATCH "$two?cirrus_build_id=eq.https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" -H "apikey: $three" -H "Authorization: Bearer $four" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"succeed_date\": \"$succeed_date\" }" diff --git a/ci/notify.sh b/ci/notify.sh index 0cf3be0b8bc..0054a4d61b7 100755 --- a/ci/notify.sh +++ b/ci/notify.sh @@ -19,4 +19,4 @@ github_userid=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api github_username=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/ROM-builders/temporary/commits/$CIRRUS_CHANGE_IN_REPO -q '.author.login') triggered_date=$(date +%s) if [[ $BRANCH == *pull/* ]]; then CIRRUS_COMMIT_MESSAGE="" ; fi -curl -X POST "$two" -H "apikey: $three" -H "Authorization: Bearer $three" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\", \"rom_name\": \"$only_rom\", \"rom_branch\": \"$branch_name\", \"device\": \"$device\" }" +curl -X POST "$two" -H "apikey: $three" -H "Authorization: Bearer $four" -H "Content-Type: application/json" -H "Prefer: return=minimal" -d "{ \"github_userid\": \"$github_userid\", \"github_username\": \"$github_username\", \"triggered_date\": \"$triggered_date\", \"branch\": \"$BRANCH\", \"cirrus_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_BUILD_ID\", \"cirrus_task_id\": \"https://cirrus-ci.com/task/$CIRRUS_TASK_ID\", \"cirrus_last_green_build_id\": \"https://cirrus-ci.com/build/$CIRRUS_LAST_GREEN_BUILD_ID\", \"cirrus_commit_message\": \"$CIRRUS_COMMIT_MESSAGE\", \"rom_name\": \"$only_rom\", \"rom_branch\": \"$branch_name\", \"device\": \"$device\" }" From 72fd6d4032e51025f283b1a38ce6e1ee62ec79c2 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sat, 19 Aug 2023 14:53:25 +0600 Subject: [PATCH 091/104] update environment [skip ci] --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 75cf298800c..84e6f579183 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ env: one: "ENCRYPTED[267097e8096e1e12efc9c6e71626703ddc8ae1c6730511b6207586a045e2dd3bd59dd0b9d632642fc58d89913cc539a8]" two: "ENCRYPTED[7aa062112fa8a4acebe3b71432937334ed3fa05f2d8eaa044d7976e01cbf3fdff7f01f8c91a9e723304aa8b45816c459]" three: "ENCRYPTED[799a19ef34b1bd39bd174dbc5b2044e1fd4124b0bf9436ed68a3a197e68be303e15a59b4b448a4f58c44b0faa3c3892b]" - four: "ENCRYPTED[ba5de696b8cf470f1d5ad476158ea211a1bde6559b2295d251afc736585174139f9577ab83b4c473ce1851fb8cbc56d8]" + four: "ENCRYPTED[13ec73a0024cc412278d9a7f4c56e720d41cce567eee17da11a7847545fbf6399706fa7183c6717a7886238214f90831]" task: name: Test From 710a73be165e8a2757d1553b967ab306b2b402a7 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sat, 26 Aug 2023 08:31:26 +0600 Subject: [PATCH 092/104] update environment [skip ci] --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 84e6f579183..8cf6130174a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ env: one: "ENCRYPTED[267097e8096e1e12efc9c6e71626703ddc8ae1c6730511b6207586a045e2dd3bd59dd0b9d632642fc58d89913cc539a8]" two: "ENCRYPTED[7aa062112fa8a4acebe3b71432937334ed3fa05f2d8eaa044d7976e01cbf3fdff7f01f8c91a9e723304aa8b45816c459]" three: "ENCRYPTED[799a19ef34b1bd39bd174dbc5b2044e1fd4124b0bf9436ed68a3a197e68be303e15a59b4b448a4f58c44b0faa3c3892b]" - four: "ENCRYPTED[13ec73a0024cc412278d9a7f4c56e720d41cce567eee17da11a7847545fbf6399706fa7183c6717a7886238214f90831]" + four: "ENCRYPTED[506734d7841d3b22f989c21632ea26d968598967be29bcb1f8cdcb5c594a929287da7f2530b24a2004a6248b0c0a7966]" task: name: Test From 09912db48c4bea9003d1e7cf1b2306626463b1de Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Sun, 27 Aug 2023 10:06:59 +0600 Subject: [PATCH 093/104] update environment [skip ci] --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 8cf6130174a..0e6e4a6623d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ env: one: "ENCRYPTED[267097e8096e1e12efc9c6e71626703ddc8ae1c6730511b6207586a045e2dd3bd59dd0b9d632642fc58d89913cc539a8]" two: "ENCRYPTED[7aa062112fa8a4acebe3b71432937334ed3fa05f2d8eaa044d7976e01cbf3fdff7f01f8c91a9e723304aa8b45816c459]" three: "ENCRYPTED[799a19ef34b1bd39bd174dbc5b2044e1fd4124b0bf9436ed68a3a197e68be303e15a59b4b448a4f58c44b0faa3c3892b]" - four: "ENCRYPTED[506734d7841d3b22f989c21632ea26d968598967be29bcb1f8cdcb5c594a929287da7f2530b24a2004a6248b0c0a7966]" + four: "ENCRYPTED[9e0496c7d952b248073be75b1c017479eaf1e341786b6210025800b5d2f4d40b82452928bd6cc43ed1bc1065ee915363]" task: name: Test From 944b21e01813204cd4f6371db0fe730e077ae57b Mon Sep 17 00:00:00 2001 From: Koushik Dey Date: Wed, 30 Aug 2023 14:16:29 +0530 Subject: [PATCH 094/104] Add Havoc-OS thirteen branch [skip-ci] (#23758) --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 2cc014eea52..9540ab44898 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -83,7 +83,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-t13.0 AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-t13.0 AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From 331176a0050f40a2b2bdde6ace1d6f82d5bb2ad9 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Wed, 30 Aug 2023 15:32:36 +0600 Subject: [PATCH 095/104] try removing unnecessary trees [skip ci] --- ci/tsync.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ci/tsync.sh b/ci/tsync.sh index 8b4be593642..92cbc298c1b 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -70,6 +70,18 @@ else fi rm -rf sync.log +needed_device=$(awk -F "path=" '/device\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') +needed_kernel=$(awk -F "path=" '/kernel\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') +needed_vendor=$(awk -F "path=" '/vendor\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') +devices='asus xiaomi realme motorola micromax wingtech' +for device in $devices; do + safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device) + safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel) + safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor) + rm -rf $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor + echo removed $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor +done + dirty_dirs="prebuilts/clang/host/linux-x86" for dir in $dirty_dirs do From 9914b3d336886909369c0ed0585b38b59f8df824 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Thu, 31 Aug 2023 08:56:21 +0600 Subject: [PATCH 096/104] Add oneplus and move to up [skip ci] --- ci/tsync.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 92cbc298c1b..27c9b856eed 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -2,6 +2,18 @@ mkdir -p ~/roms/$rom_name cd ~/roms/$rom_name find .repo -name '*.lock' -delete + +needed_device=$(awk -F "path=" '/device\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') +needed_kernel=$(awk -F "path=" '/kernel\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') +needed_vendor=$(awk -F "path=" '/vendor\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') +devices='asus xiaomi realme motorola micromax wingtech oneplus' +for device in $devices; do + safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device) + safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel) + safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor) + rm -rf $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor + echo removed $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor +done curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log a=$(grep 'Cannot remove project' sync.log -m1|| true) @@ -70,18 +82,6 @@ else fi rm -rf sync.log -needed_device=$(awk -F "path=" '/device\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') -needed_kernel=$(awk -F "path=" '/kernel\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') -needed_vendor=$(awk -F "path=" '/vendor\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') -devices='asus xiaomi realme motorola micromax wingtech' -for device in $devices; do - safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device) - safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel) - safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor) - rm -rf $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor - echo removed $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor -done - dirty_dirs="prebuilts/clang/host/linux-x86" for dir in $dirty_dirs do From f0c99194737688fcf905f01525589211ccb86934 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Thu, 31 Aug 2023 11:29:47 +0600 Subject: [PATCH 097/104] reduce spam [skip ci] --- ci/tsync.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 27c9b856eed..217f3c1f58f 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -6,13 +6,14 @@ find .repo -name '*.lock' -delete needed_device=$(awk -F "path=" '/device\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') needed_kernel=$(awk -F "path=" '/kernel\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') needed_vendor=$(awk -F "path=" '/vendor\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') -devices='asus xiaomi realme motorola micromax wingtech oneplus' +devices='asus xiaomi realme motorola micromax wingtech oneplus lenovo' for device in $devices; do safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device) safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel) safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor) - rm -rf $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor - echo removed $safe_to_remove_kernel $safe_to_remove_device $safe_to_remove_vendor + if [[ -n "$safe_to_remove_device" ]]; then rm -rf $safe_to_remove_device; echo removed $safe_to_remove_device; fi + if [[ -n "$safe_to_remove_kernel" ]]; then rm -rf $safe_to_remove_kernel; echo removed $safe_to_remove_kernel; fi + if [[ -n "$safe_to_remove_vendor" ]]; then rm -rf $safe_to_remove_vendor; echo removed $safe_to_remove_vendor; fi done curl -sO https://api.cirrus-ci.com/v1/task/$CIRRUS_TASK_ID/logs/sync.log From fa55b5263c3336b11dbe9b7e396d6fe627106825 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Thu, 31 Aug 2023 12:02:22 +0600 Subject: [PATCH 098/104] Reduce spam in log [skip ci] --- ci/tsync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 217f3c1f58f..4c441aec000 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -8,9 +8,9 @@ needed_kernel=$(awk -F "path=" '/kernel\// {print $2}' .repo/local_manifests/* | needed_vendor=$(awk -F "path=" '/vendor\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') devices='asus xiaomi realme motorola micromax wingtech oneplus lenovo' for device in $devices; do - safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device) - safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel) - safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor) + safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device 2> /dev/null) + safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel 2> /dev/null) + safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor 2> /dev/null) if [[ -n "$safe_to_remove_device" ]]; then rm -rf $safe_to_remove_device; echo removed $safe_to_remove_device; fi if [[ -n "$safe_to_remove_kernel" ]]; then rm -rf $safe_to_remove_kernel; echo removed $safe_to_remove_kernel; fi if [[ -n "$safe_to_remove_vendor" ]]; then rm -rf $safe_to_remove_vendor; echo removed $safe_to_remove_vendor; fi From e47b055077c7048a97ad2d096e0ab4de00a37b92 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Thu, 31 Aug 2023 12:11:43 +0600 Subject: [PATCH 099/104] Revert "Reduce spam in log [skip ci]" This reverts commit fa55b5263c3336b11dbe9b7e396d6fe627106825. --- ci/tsync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/tsync.sh b/ci/tsync.sh index 4c441aec000..217f3c1f58f 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -8,9 +8,9 @@ needed_kernel=$(awk -F "path=" '/kernel\// {print $2}' .repo/local_manifests/* | needed_vendor=$(awk -F "path=" '/vendor\// {print $2}' .repo/local_manifests/* | awk -F '"' '{print $2}') devices='asus xiaomi realme motorola micromax wingtech oneplus lenovo' for device in $devices; do - safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device 2> /dev/null) - safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel 2> /dev/null) - safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor 2> /dev/null) + safe_to_remove_device=$(ls device/$device/* -d 2> /dev/null | grep -v $needed_device) + safe_to_remove_kernel=$(ls kernel/$device/* -d 2> /dev/null | grep -v $needed_kernel) + safe_to_remove_vendor=$(ls vendor/$device/* -d 2> /dev/null | grep -v $needed_vendor) if [[ -n "$safe_to_remove_device" ]]; then rm -rf $safe_to_remove_device; echo removed $safe_to_remove_device; fi if [[ -n "$safe_to_remove_kernel" ]]; then rm -rf $safe_to_remove_kernel; echo removed $safe_to_remove_kernel; fi if [[ -n "$safe_to_remove_vendor" ]]; then rm -rf $safe_to_remove_vendor; echo removed $safe_to_remove_vendor; fi From 4da24fc1166278de4c547b97acf35c09006faa19 Mon Sep 17 00:00:00 2001 From: Wasik Ahmmed Fahm <62275326+OmegaBeam69@users.noreply.github.com> Date: Fri, 1 Sep 2023 00:09:24 +0600 Subject: [PATCH 100/104] Add new Spark-Rom-pyro-next (#23848) [skip ci] --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 9540ab44898..c8bbe5352bf 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -83,7 +83,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-t13.0 AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-t13.0 AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro-next SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From 1e4b8d07839b4c5f674c5e1c03283cdedee18bb7 Mon Sep 17 00:00:00 2001 From: Apon77 Date: Fri, 8 Sep 2023 20:34:10 +0600 Subject: [PATCH 101/104] use -j4 for sync [skip ci] --- ci/test.sh | 2 +- ci/tsync.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test.sh b/ci/test.sh index c8bbe5352bf..9b7a1992856 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -77,7 +77,7 @@ rclone_string="rclone copy out/target/product/\$(grep unch \$CIRRUS_WORKING_DIR/ if [[ $rclone_check != *$rclone_string* ]]; then echo Please follow rclone copy line of main branch.; exit 1; fi sync_check=$(grep 'repo sync' $CIRRUS_WORKING_DIR/build_rom.sh) -sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" +sync_string="repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j" if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line of main branch.; exit 1; fi rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) diff --git a/ci/tsync.sh b/ci/tsync.sh index 217f3c1f58f..bca77549803 100755 --- a/ci/tsync.sh +++ b/ci/tsync.sh @@ -79,7 +79,7 @@ fi if [[ $c == *'repo sync has finished'* ]]; then true else - repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) + repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync fi rm -rf sync.log From f6339538134a9564a1654ae3d47b97907abc5f32 Mon Sep 17 00:00:00 2001 From: dogpoopy <103020425+dogpoopy@users.noreply.github.com> Date: Fri, 27 Oct 2023 01:56:28 +0800 Subject: [PATCH 102/104] Revise supported roms [skip ci] (#25119) [skip ci] * Migrate to A14 branch of AOSPA,Evolution-X and DerpFest-AOSP (dropped their A13 branch respectively) * Drop support for the following roms/branch xdroid-oss-thirteen stagOS-t13 ShapeShiftOS-android_13 Project-Xtended-xt Fusion-OS-twelve Havoc-OS-twelve DerpFest-12-12.1 CipherOS-thirteen BlissRoms-arcadia-next AICP-s12.1 PixelExperience-twelve PixelExperience-twelve-plus SuperiorOS-twelvedotone These roms/branches are either not actively maintain or no one is building anymore base on the data in https://cirrus-ci.000.pe/) --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 9b7a1992856..7e92b34716a 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -83,7 +83,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-t13.0 AICP-s12.1 alphadroid-project-alpha-13 AOSPA-topaz ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-arcadia-next BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-12-12.1 DerpFest-AOSP-13 Evolution-X-tiramisu Fusion-OS-twelve Havoc-OS-twelve Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-twelve PixelExperience-twelve-plus PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 Project-Xtended-xt RisingTechOSS-thirteen ResurrectionRemix-Q ShapeShiftOS-android_13 Spark-Rom-pyro-next SuperiorOS-twelvedotone SuperiorOS-thirteen StagOS-t13 syberia-project-13.0 VoltageOS-13 xdroid-oss-thirteen yaap-thirteen ' +supported_roms=' AICP-t13.0 alphadroid-project-alpha-13 AOSPA-uvite ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-AOSP-14 Evolution-X-udc Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 RisingTechOSS-thirteen ResurrectionRemix-Q Spark-Rom-pyro-next SuperiorOS-thirteen syberia-project-13.0 VoltageOS-13 yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From f93901fc2435973dae538118a97b11f71b00f55e Mon Sep 17 00:00:00 2001 From: Rushi Ranpise <37355997+rushiranpise@users.noreply.github.com> Date: Wed, 15 Nov 2023 22:19:19 +0530 Subject: [PATCH 103/104] Add CRDroid 14.0 [skip ci] (#25503) --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 7e92b34716a..c23577fbcfa 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -83,7 +83,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-t13.0 alphadroid-project-alpha-13 AOSPA-uvite ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 DerpFest-AOSP-14 Evolution-X-udc Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 RisingTechOSS-thirteen ResurrectionRemix-Q Spark-Rom-pyro-next SuperiorOS-thirteen syberia-project-13.0 VoltageOS-13 yaap-thirteen ' +supported_roms=' AICP-t13.0 alphadroid-project-alpha-13 AOSPA-uvite ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 crdroidandroid-14.0 DerpFest-AOSP-14 Evolution-X-udc Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 RisingTechOSS-thirteen ResurrectionRemix-Q Spark-Rom-pyro-next SuperiorOS-thirteen syberia-project-13.0 VoltageOS-13 yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi From 6af7342ff503653efc8126fa90fecefa97e3c155 Mon Sep 17 00:00:00 2001 From: Khalakuzzaman Apon <61594531+Apon77@users.noreply.github.com> Date: Wed, 15 Nov 2023 23:18:21 +0600 Subject: [PATCH 104/104] add arrow a14 [skip ci] --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index c23577fbcfa..e3073dfd1db 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -83,7 +83,7 @@ if [[ $sync_check != *$sync_string* ]]; then echo Please follow repo sync line o rom_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d / -f 4) branch_name=$(grep 'repo init' $CIRRUS_WORKING_DIR/build_rom.sh | awk -F "-b " '{print $2}' | awk '{print $1}') rom_name=$rom_name-$branch_name -supported_roms=' AICP-t13.0 alphadroid-project-alpha-13 AOSPA-uvite ArrowOS-arrow-13.1 bananadroid-13 BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 crdroidandroid-14.0 DerpFest-AOSP-14 Evolution-X-udc Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 RisingTechOSS-thirteen ResurrectionRemix-Q Spark-Rom-pyro-next SuperiorOS-thirteen syberia-project-13.0 VoltageOS-13 yaap-thirteen ' +supported_roms=' AICP-t13.0 alphadroid-project-alpha-13 AOSPA-uvite ArrowOS-arrow-13.1 ArrowOS-arrow-14.0 bananadroid-13 BlissRoms-typhoon BootleggersROM-tirimbino CarbonROM-cr-9.0 CherishOS-tiramisu CipherOS-thirteen crdroidandroid-11.0 crdroidandroid-12.1 crdroidandroid-13.0 crdroidandroid-14.0 DerpFest-AOSP-14 Evolution-X-udc Havoc-OS-thirteen LineageOS-cm-14.1 LineageOS-lineage-15.1 LineageOS-lineage-16.0 LineageOS-lineage-17.1 LineageOS-lineage-18.1 LineageOS-lineage-19.1 LineageOS-lineage-20.0 Octavi-Staging-thirteen P-404-tokui PixelExperience-thirteen PixelExperience-thirteen-plus PixelExtended-thunder PixelOS-AOSP-thirteen PixysOS-twelve PixysOS-thirteen Project-Awaken-triton ProjectBlaze-13 RisingTechOSS-thirteen ResurrectionRemix-Q Spark-Rom-pyro-next SuperiorOS-thirteen syberia-project-13.0 VoltageOS-13 yaap-thirteen ' if [[ $supported_roms != *" $rom_name "* ]]; then echo Not supported rom or branch.; exit 1; fi