diff --git a/.github/workflows/amdgpu-wipe-clean.yml b/.github/workflows/amdgpu-wipe-clean.yml deleted file mode 100644 index 3d09d11..0000000 --- a/.github/workflows/amdgpu-wipe-clean.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Wipe AMDGPU Pool Clean (Danger) - -on: - workflow_dispatch: - -jobs: - build: - runs-on: self-hosted - container: - image: ghcr.io/pikaos-linux/pika-package-container:latest - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Sync Repository - run: chmod +x ./amdgpu-wipe-clean.sh && ./amdgpu-wipe-clean.sh - - - name: Purge cache - uses: strrife/cloudflare-chunked-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - PURGE_URLS: ${{ vars.PURGE_URLS }} - diff --git a/.github/workflows/external-wipe-clean.yml b/.github/workflows/external-wipe-clean.yml deleted file mode 100644 index de848ef..0000000 --- a/.github/workflows/external-wipe-clean.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Wipe External Pool Clean (Danger) - -on: - workflow_dispatch: - -jobs: - build: - runs-on: self-hosted - container: - image: ghcr.io/pikaos-linux/pika-package-container:latest - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Sync Repository - run: chmod +x ./external-wipe-clean.sh && ./external-wipe-clean.sh - - - name: Purge cache - uses: strrife/cloudflare-chunked-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - PURGE_URLS: ${{ vars.PURGE_URLS }} - diff --git a/.github/workflows/rocm-wipe-clean.yml b/.github/workflows/rocm-wipe-clean.yml deleted file mode 100644 index 7c6de19..0000000 --- a/.github/workflows/rocm-wipe-clean.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Wipe ROCm Pool Clean (Danger) - -on: - workflow_dispatch: - -jobs: - build: - runs-on: self-hosted - container: - image: ghcr.io/pikaos-linux/pika-package-container:latest - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Sync Repository - run: chmod +x ./rocm-wipe-clean.sh && ./rocm-wipe-clean.sh - - - name: Purge cache - uses: strrife/cloudflare-chunked-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - PURGE_URLS: ${{ vars.PURGE_URLS }} - diff --git a/.github/workflows/ubuntu-wipe-clean.yml b/.github/workflows/ubuntu-wipe-clean.yml deleted file mode 100644 index 80559cc..0000000 --- a/.github/workflows/ubuntu-wipe-clean.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Wipe Ubuntu Pool Clean (Danger) - -on: - workflow_dispatch: - -jobs: - build: - runs-on: self-hosted - container: - image: ghcr.io/pikaos-linux/pika-package-container:latest - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Sync Repository - run: chmod +x ./ubuntu-wipe-clean.sh && ./ubuntu-wipe-clean.sh - - - name: Purge cache - uses: strrife/cloudflare-chunked-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - PURGE_URLS: ${{ vars.PURGE_URLS }} - PURGE_URLS: ${{ vars.PURGE_URLS }} diff --git a/amdgpu-wipe-clean.sh b/amdgpu-wipe-clean.sh deleted file mode 100644 index 94bf35f..0000000 --- a/amdgpu-wipe-clean.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/bash -set -e - -### In the Case of a major mishap we wipe the amdgpu pool clean and re run all repos -# Pull down existing ppa repo db files etc -mkdir -p ./output/repo -rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo - -# Remove our All package from the pool -reprepro -C amdgpu -V --basedir ./output/repo/ removefilter lunar 'Package (% *)' - -# Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/amdgpu.sh b/amdgpu.sh index f1b12de..fc2a9f8 100644 --- a/amdgpu.sh +++ b/amdgpu.sh @@ -65,67 +65,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' -cd ../ - -mkdir -p ./outputmantic/amdgpu -cd ./outputmantic/amdgpu -# amdgpu drm dir -mkdir -p ./libd -cd ./libd -wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/libd/ -# Return to AMDGPU MIRROR -cd ../ -# amdgpu mesa dir (depends only) -mkdir -p ./mesa -cd ./mesa -wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/m/mesa-amdgpu/ -# Return to AMDGPU MIRROR -cd ../ -# amdgpu wayland dir (depends only) -mkdir -p ./wayland-amdgpu -cd ./wayland-amdgpu -wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/w/wayland-amdgpu/ -# Return to AMDGPU MIRROR -cd ../ -# amdgpu wayland protocols dir (depends only) -mkdir -p ./wayland-protocols-amdgpu -cd ./wayland-protocols-amdgpu -wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/w/wayland-protocols-amdgpu/ -# Return to AMDGPU MIRROR -cd ../ -# amdgpu proprietary dir -mkdir -p ./proprietary -cd ./proprietary -wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m https://repo.radeon.com/amdgpu/5.7/ubuntu/pool/proprietary/ -# Return to AMDGPU MIRROR -cd ../ -# amdgpu-dkms-firmware dir -mkdir -p ./amdgpu-dkms-firmware -cd ./amdgpu-dkms-firmware -wget http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms-firmware_6.2.4.50700-1652687.22.04_all.deb -# Return to AMDGPU MIRROR -cd ../ -mkdir -p ./outputmantic -mkdir -p ./outputmantic-tmp -find . -name \*.deb -exec cp -vf {} ./outputmantic-tmp \; - -cd ./outputmantic-tmp -for i in ./*.deb -do - mkdir $i-tmp - dpkg-deb -R $i $i-tmp - cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version - sed -i "s#$(cat $i-version)#$(cat $i-version)-pika$(date +"%Y%m%d").mantic2#g" $i-tmp/DEBIAN/control - dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-pika-mantic2-fixed.deb -done -cd ../ -mv -v ./outputmantic-tmp/*-fixed.deb ./outputmantic/ - -# send debs to server -rsync -azP ./outputmantic/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-amdgpu-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' diff --git a/external-kubuntu.sh b/external-kubuntu.sh index c9e9569..8c2a444 100644 --- a/external-kubuntu.sh +++ b/external-kubuntu.sh @@ -15,6 +15,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -25,26 +26,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./ -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/external-lunarg-vulkan.sh b/external-lunarg-vulkan.sh index acc8a57..4936cbf 100644 --- a/external-lunarg-vulkan.sh +++ b/external-lunarg-vulkan.sh @@ -16,6 +16,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -27,25 +28,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://packages.lunarg.com/vulkan/dists/jammy/main/binary-i386/Packages https://packages.lunarg.com/vulkan/ ./ - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://packages.lunarg.com/vulkan/dists/jammy/main/binary-amd64/Packages https://packages.lunarg.com/vulkan/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' diff --git a/external-misc.sh b/external-misc.sh index 6a4cc4e..f60eea3 100644 --- a/external-misc.sh +++ b/external-misc.sh @@ -16,6 +16,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -27,26 +28,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/wasta-linux/cinnamon-testing/ubuntu/dists/jammy/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/wasta-linux/cinnamon-testing/ubuntu/ ./ "mintinstall,warpinator,webapp-manager,mint-common,mint-translations" - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' diff --git a/external-mozilla.sh b/external-mozilla.sh index b775ac9..03b45e3 100644 --- a/external-mozilla.sh +++ b/external-mozilla.sh @@ -14,35 +14,5 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" -fi - -# send debs to server -rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" exit 0 fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/external-nvidia.sh b/external-nvidia.sh index acd9c2d..ccb44fd 100644 --- a/external-nvidia.sh +++ b/external-nvidia.sh @@ -15,6 +15,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -25,26 +26,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./ -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/external-oibaf.sh b/external-oibaf.sh index ca7a8e1..2d815e3 100644 --- a/external-oibaf.sh +++ b/external-oibaf.sh @@ -15,6 +15,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -25,26 +26,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm" -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm" - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/external-steam.sh b/external-steam.sh index 4848f06..0948b42 100644 --- a/external-steam.sh +++ b/external-steam.sh @@ -15,6 +15,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -26,25 +27,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./ -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' diff --git a/external-sys76.sh b/external-sys76.sh index feadcd5..dcd6a2e 100644 --- a/external-sys76.sh +++ b/external-sys76.sh @@ -14,6 +14,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -25,24 +26,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' diff --git a/external-wipe-clean.sh b/external-wipe-clean.sh deleted file mode 100644 index f0c22fd..0000000 --- a/external-wipe-clean.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/bash -set -e - -### In the Case of a major mishap we wipe the external pool clean and re run all repos -# Pull down existing ppa repo db files etc -mkdir -p ./output/repo -rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo - -# Remove our All package from the pool -reprepro -C external -V --basedir ./output/repo/ removefilter lunar 'Package (% *)' - -# Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/external-xtradeb.sh b/external-xtradeb.sh index 40b88c6..827bd51 100644 --- a/external-xtradeb.sh +++ b/external-xtradeb.sh @@ -14,6 +14,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -24,25 +25,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/ ./ "chromium" - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/rocm-wipe-clean.sh b/rocm-wipe-clean.sh deleted file mode 100644 index a1c2448..0000000 --- a/rocm-wipe-clean.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/bash -set -e - -### In the Case of a major mishap we wipe the rocm pool clean and re run all repos -# Pull down existing ppa repo db files etc -mkdir -p ./output/repo -rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo - -# Remove our All package from the pool -reprepro -C rocm -V --basedir ./output/repo/ removefilter lunar 'Package (% *)' - -# Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/rocm.sh b/rocm.sh index 8a68072..4e99b20 100644 --- a/rocm.sh +++ b/rocm.sh @@ -14,6 +14,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -25,23 +26,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/mantic/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-rocm-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' diff --git a/ubuntu-backports.sh b/ubuntu-backports.sh index f2b5eee..a85408a 100644 --- a/ubuntu-backports.sh +++ b/ubuntu-backports.sh @@ -44,6 +44,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -54,50 +55,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu main pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu multiverse pool -echo "Getting ubuntu multiverse pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu multiverse pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu restricted pool -echo "Getting ubuntu restricted pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu restricted pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu universe pool -echo "Getting ubuntu universe pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu universe pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-backports/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then -echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-proposed.sh b/ubuntu-proposed.sh index dacbd5b..f5035fa 100644 --- a/ubuntu-proposed.sh +++ b/ubuntu-proposed.sh @@ -44,6 +44,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -54,50 +55,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu main pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu multiverse pool -echo "Getting ubuntu multiverse pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu multiverse pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu restricted pool -echo "Getting ubuntu restricted pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu restricted pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu universe pool -echo "Getting ubuntu universe pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu universe pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-proposed/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then -echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-security.sh b/ubuntu-security.sh index 1407b95..efe4e78 100644 --- a/ubuntu-security.sh +++ b/ubuntu-security.sh @@ -43,7 +43,8 @@ echo "Getting ubuntu universe pool 64bit" cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then - echo "Lunar Repos are synced" + echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -54,50 +55,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu main pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu multiverse pool -echo "Getting ubuntu multiverse pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu multiverse pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu restricted pool -echo "Getting ubuntu restricted pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu restricted pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu universe pool -echo "Getting ubuntu universe pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu universe pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-security/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then -echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-updates.sh b/ubuntu-updates.sh index 83c8e48..3c5bb3c 100644 --- a/ubuntu-updates.sh +++ b/ubuntu-updates.sh @@ -44,6 +44,7 @@ cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -54,50 +55,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu main pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu multiverse pool -echo "Getting ubuntu multiverse pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu multiverse pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu restricted pool -echo "Getting ubuntu restricted pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu restricted pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu universe pool -echo "Getting ubuntu universe pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu universe pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic-updates/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then -echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-wipe-clean.sh b/ubuntu-wipe-clean.sh deleted file mode 100755 index 15ae933..0000000 --- a/ubuntu-wipe-clean.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/bash -set -e - -### In the Case of a major mishap we wipe the ubuntu pool clean and re run all repos -# Pull down existing ppa repo db files etc -mkdir -p ./output/repo -rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo - -# Remove our All package from the pool -reprepro -C ubuntu -V --basedir ./output/repo/ removefilter lunar 'Package (% *)' - -# Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/ubuntu.sh b/ubuntu.sh index f170411..80be81c 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -43,7 +43,8 @@ echo "Getting ubuntu universe pool 64bit" cd ../ if [ $(ls ./output/ | wc -l) -lt 1 ]; then - echo "Lunar Repos are synced" + echo "Lunar repos are synced" + exit 0 fi # send debs to server @@ -54,50 +55,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika- # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu main pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu multiverse pool -echo "Getting ubuntu multiverse pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu multiverse pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu restricted pool -echo "Getting ubuntu restricted pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu restricted pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -# Get ubuntu universe pool -echo "Getting ubuntu universe pool 32bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ -echo "Getting ubuntu universe pool 64bit" -../ppp https://ppa.pika-os.com/dists/mantic/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/mantic/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./ - -cd ../ - -if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then -echo "Mantic repos are synced" - exit 0 -fi - -# send debs to server -rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/ - -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu-mantic /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:' \ No newline at end of file