diff --git a/.github/workflows/amdgpu.yml b/.github/workflows/amdgpu.yml deleted file mode 100644 index ba9f335..0000000 --- a/.github/workflows/amdgpu.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: PikaOS Radeon AMDGPU Sync - -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.sh && ./amdgpu.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 }} diff --git a/.github/workflows/external-kubuntu.yml b/.github/workflows/external-kubuntu.yml deleted file mode 100644 index 9ff421e..0000000 --- a/.github/workflows/external-kubuntu.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PikaOS Kubuntu Backports PPA Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '17 2 * * *' - -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-kubuntu.sh && ./external-kubuntu.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-lunarg-vulkan.yml b/.github/workflows/external-lunarg-vulkan.yml deleted file mode 100644 index 0de02e3..0000000 --- a/.github/workflows/external-lunarg-vulkan.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: PikaOS LunarG Vulkan SDK (External) - -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-lunarg-vulkan.sh && ./external-lunarg-vulkan.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 }} diff --git a/.github/workflows/external-misc.yml b/.github/workflows/external-misc.yml deleted file mode 100644 index 2892ef7..0000000 --- a/.github/workflows/external-misc.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: PikaOS Misc PPAs Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '19 2 * * *' - -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-misc.sh && ./external-misc.sh - - - name: Purge cache - uses: jakejarvis/cloudflare-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} diff --git a/.github/workflows/external-mozilla.yml b/.github/workflows/external-mozilla.yml deleted file mode 100644 index 88c04a7..0000000 --- a/.github/workflows/external-mozilla.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PikaOS Mozilla PPA Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '21 2 * * *' - -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-mozilla.sh && ./external-mozilla.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-nvidia.yml b/.github/workflows/external-nvidia.yml deleted file mode 100644 index 75fc7f3..0000000 --- a/.github/workflows/external-nvidia.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PikaOS Nvidia Repo Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '20 2 * * *' - -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-nvidia.sh && ./external-nvidia.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-oibaf.yml b/.github/workflows/external-oibaf.yml deleted file mode 100644 index 94395f1..0000000 --- a/.github/workflows/external-oibaf.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: PikaOS Oibaf Build-deps PPA Sync (External) - -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-oibaf.sh && ./external-oibaf.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-steam.yml b/.github/workflows/external-steam.yml deleted file mode 100644 index 4e66b80..0000000 --- a/.github/workflows/external-steam.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: PikaOS Steam Repo Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '22 2 * * *' - -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-steam.sh && ./external-steam.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 }} diff --git a/.github/workflows/external-sys76.yml b/.github/workflows/external-sys76.yml deleted file mode 100644 index 5bd75b5..0000000 --- a/.github/workflows/external-sys76.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PikaOS System76 PPA Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '23 2 * * *' - -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-sys76.sh && ./external-sys76.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-winehq.yml b/.github/workflows/external-winehq.yml deleted file mode 100644 index acfd53a..0000000 --- a/.github/workflows/external-winehq.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: PikaOS WineHQ Repo Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '24 2 * * *' - -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-winehq.sh && ./external-winehq.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 }} diff --git a/.github/workflows/external-xtradeb.yml b/.github/workflows/external-xtradeb.yml deleted file mode 100644 index 9fb1ef9..0000000 --- a/.github/workflows/external-xtradeb.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: PikaOS XtraDEB Apps PPA Sync (External) - -on: - workflow_dispatch: - # schedule: - # - cron: '26 2 * * *' - -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-xtradeb.sh && ./external-xtradeb.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 }} - diff --git a/.github/workflows/oneapi.yml b/.github/workflows/oneapi.yml deleted file mode 100644 index e2e210c..0000000 --- a/.github/workflows/oneapi.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: PikaOS Sync Intel oneAPI Sync - -on: - workflow_dispatch: -# schedule: - # - cron: '19 2 * * *' - - -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 ./oneapi.sh && ./oneapi.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 }} diff --git a/.github/workflows/parrot-steam.yml b/.github/workflows/parrot-steam.yml new file mode 100644 index 0000000..556a2d2 --- /dev/null +++ b/.github/workflows/parrot-steam.yml @@ -0,0 +1,31 @@ +name: Process Steam Powered Repository (Parrot) + +on: + push: + branches: + - main + paths: + - '.github/parrot-steam' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ubuntu:latest + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - 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: Pika Package Processor Script + run: ./parrot-steam.sh diff --git a/.github/workflows/pigeon-amdgpu.yml b/.github/workflows/pigeon-amdgpu.yml new file mode 100644 index 0000000..c108cff --- /dev/null +++ b/.github/workflows/pigeon-amdgpu.yml @@ -0,0 +1,31 @@ +name: Process AMDGPU-PRO Repository (Pigeon) + +on: + push: + branches: + - main + paths: + - '.github/pigeon-amdgpu' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ubuntu:latest + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - 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: Pika Package Processor Script + run: ./pigeon-amdgpu diff --git a/.github/workflows/pigeon-intel.yml b/.github/workflows/pigeon-intel.yml new file mode 100644 index 0000000..6216b80 --- /dev/null +++ b/.github/workflows/pigeon-intel.yml @@ -0,0 +1,31 @@ +name: Process Intel Official Repository (Pigeon) + +on: + push: + branches: + - main + paths: + - '.github/pigeon-intel' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ubuntu:latest + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - 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: Pika Package Processor Script + run: ./pigeon-intel.sh diff --git a/.github/workflows/raven-rocm.yml b/.github/workflows/raven-rocm.yml new file mode 100644 index 0000000..6a4b912 --- /dev/null +++ b/.github/workflows/raven-rocm.yml @@ -0,0 +1,31 @@ +name: Process Radeon ROCm Repository (Raven) + +on: + push: + branches: + - main + paths: + - '.github/raven-rocm' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ubuntu:latest + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - 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: Pika Package Processor Script + run: ./raven-rocm.sh diff --git a/.github/workflows/rocm.yml b/.github/workflows/rocm.yml deleted file mode 100644 index fb6d320..0000000 --- a/.github/workflows/rocm.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: PikaOS Radeon ROCm Sync - -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.sh && ./rocm.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 }} diff --git a/.github/workflows/sync-purge.yml b/.github/workflows/sync-purge.yml deleted file mode 100644 index 87537ef..0000000 --- a/.github/workflows/sync-purge.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: PikaOS Sync All Repos and Purge Cache - -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 ./syncpurge.sh && ./syncpurge.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 }} diff --git a/.github/workflows/ubuntu-backports.yml b/.github/workflows/ubuntu-backports.yml deleted file mode 100644 index 91cc092..0000000 --- a/.github/workflows/ubuntu-backports.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: PikaOS Ubuntu Repo Sync (Backports) - -on: - workflow_dispatch: - # schedule: - # - cron: '55 0 * * *' - -jobs: - build: - runs-on: self-hosted - container: - image: ubuntu:23.04 - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: APT - run: apt update && apt install gnupg -y - - - 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-backports.sh && ./ubuntu-backports.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-proposed.yml b/.github/workflows/ubuntu-proposed.yml deleted file mode 100644 index e1d47e1..0000000 --- a/.github/workflows/ubuntu-proposed.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: PikaOS Ubuntu Repo Sync (Proposed) - -on: - workflow_dispatch: - # schedule: - # - cron: '55 0 * * *' - -jobs: - build: - runs-on: self-hosted - container: - image: ubuntu:23.04 - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: APT - run: apt update && apt install gnupg -y - - - 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-proposed.sh && ./ubuntu-proposed.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-security.yml b/.github/workflows/ubuntu-security.yml deleted file mode 100644 index 0ab07c3..0000000 --- a/.github/workflows/ubuntu-security.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: PikaOS Ubuntu Repo Sync (Security) - -on: - workflow_dispatch: - # schedule: - # - cron: '50 0 * * *' - -jobs: - build: - runs-on: self-hosted - container: - image: ubuntu:23.04 - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: APT - run: apt update && apt install gnupg -y - - - 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-security.sh && ./ubuntu-security.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-updates.yml b/.github/workflows/ubuntu-updates.yml deleted file mode 100644 index 992a86e..0000000 --- a/.github/workflows/ubuntu-updates.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: PikaOS Ubuntu Repo Sync (Updates) - -on: - workflow_dispatch: -# schedule: - # - cron: '45 0 * * *' - -jobs: - build: - runs-on: self-hosted - container: - image: ubuntu:23.04 - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: APT - run: apt update && apt install gnupg -y - - - 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-updates.sh && ./ubuntu-updates.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.yml b/.github/workflows/ubuntu.yml deleted file mode 100644 index 8096959..0000000 --- a/.github/workflows/ubuntu.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: PikaOS Ubuntu Repo Sync (Main) - -on: - workflow_dispatch: - # schedule: - # - cron: '30 0 * * *' - -jobs: - build: - runs-on: self-hosted - container: - image: ubuntu:23.04 - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: APT - run: apt update && apt install gnupg -y - - - 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.sh && ./ubuntu.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/external-kubuntu.sh b/external-kubuntu.sh deleted file mode 100644 index c829616..0000000 --- a/external-kubuntu.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal Kubuntu Backports PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/external-lunarg-vulkan.sh b/external-lunarg-vulkan.sh deleted file mode 100644 index 4f10d2d..0000000 --- a/external-lunarg-vulkan.sh +++ /dev/null @@ -1,29 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal lunarg PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/external-misc.sh b/external-misc.sh deleted file mode 100644 index 056474d..0000000 --- a/external-misc.sh +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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/ ./ - -../ppp https://ppa.pika-os.com/dists/pikauwu/external/binary-amd64/Packages https://ppa.launchpadcontent.net/linneris/xivlauncher-core-stable/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/linneris/xivlauncher-core-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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/external-mozilla.sh b/external-mozilla.sh deleted file mode 100644 index 03ac0f7..0000000 --- a/external-mozilla.sh +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal Mozilla PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/external-nvidia.sh b/external-nvidia.sh deleted file mode 100644 index 9388a9f..0000000 --- a/external-nvidia.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal Nvidia MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/external-oibaf.sh b/external-oibaf.sh deleted file mode 100644 index 43f5fb8..0000000 --- a/external-oibaf.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal Oibaf 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/ ./ "bindgen,libtgowt,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/ ./ "bindgen,libtgowt,16,15,spirv,directx-headers,libdrm" -wget http://deb.debian.org/debian/pool/main/m/meson/meson_1.3.1-1_all.deb -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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/external-steam.sh b/external-steam.sh deleted file mode 100644 index a7710c7..0000000 --- a/external-steam.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal Steam MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/external-sys76.sh b/external-sys76.sh deleted file mode 100644 index 8e26774..0000000 --- a/external-sys76.sh +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal System76 PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/external-winehq.sh b/external-winehq.sh deleted file mode 100644 index 5d98c00..0000000 --- a/external-winehq.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal WineHQ MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/external/binary-i386/Packages https://dl.winehq.org/wine-builds/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://dl.winehq.org/wine-builds/ubuntu/ ./ -../ppp https://ppa.pika-os.com/dists/pikauwu/external/binary-amd64/Packages https://dl.winehq.org/wine-builds/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://dl.winehq.org/wine-builds/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/external-xtradeb.sh b/external-xtradeb.sh deleted file mode 100644 index e6aefb8..0000000 --- a/external-xtradeb.sh +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Extranal XtraDEB PPA MIRROR -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/external/binary-amd64/Packages https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/dists/mantic/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 pikauwu-external /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/oneapi.sh b/oneapi.sh deleted file mode 100644 index dd5658d..0000000 --- a/oneapi.sh +++ /dev/null @@ -1,49 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Get oneAPI pool -mkdir -p ./manticoutput-tmp -cd ./manticoutput-tmp - -../ppp https://ppa.pika-os.com/dists/pikauwu/rocm/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/jammy/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./ - -rm -rfv ./intel-i915-dkms_*.deb -rm -rfv ./libdrm*.deb -rm -rfv ./*va*.deb -rm -rfv ./intel-gsc*.deb -rm -rfv ./libmetee*.deb -if [ $(ls ./ | wc -l) -lt 1 ]; then - echo "Mantic repos are synced" - exit 0 -fi -wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg -echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy unified" | tee /etc/apt/sources.list.d/intel-gpu-jammy.list -apt update -apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee - -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").pikauwu2#g" $i-tmp/DEBIAN/control - sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control - dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-pika-pikauwu2-fixed.deb -done - -cd ../ - -mkdir -p ./manticoutput/ -mv -v ./manticoutput-tmp/*-fixed.deb ./manticoutput/ - -# 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 pikauwu-rocm /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/parrot-steam.sh b/parrot-steam.sh new file mode 100644 index 0000000..24702c2 --- /dev/null +++ b/parrot-steam.sh @@ -0,0 +1,19 @@ +#! /bin/bash +set -e + +# Give correct perms to Pika Package Processor +chmod 755 ./ppp + +# External steam-powered mirror +mkdir -p ./output +./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./output/ +./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./output/ + +# Check if any updates have been downloaded +if [ $(ls ./output/ | wc -l) -lt 1 ]; then + echo "Repos are synced" + exit 0 +fi + +# send debs to server +rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/parrot-incoming/ diff --git a/amdgpu.sh b/pigeon-amdgpu.sh similarity index 99% rename from amdgpu.sh rename to pigeon-amdgpu.sh index f7fd307..375f840 100644 --- a/amdgpu.sh +++ b/pigeon-amdgpu.sh @@ -1,6 +1,8 @@ #! /bin/bash set -e +exit 1 + # AMDGPU MIRROR mkdir -p ./outputpika/amdgpu cd ./outputpika/amdgpu diff --git a/pigeon-intel.sh b/pigeon-intel.sh new file mode 100644 index 0000000..53d6ec8 --- /dev/null +++ b/pigeon-intel.sh @@ -0,0 +1,52 @@ +#! /bin/bash +set -e + +# Give correct perms to Apt version checker +chmod 755 ./ppp + +# Get Intel pool +mkdir -p ./output-temp +cd ./output-temp + +../ppp https://ppa.pika-os.com/dists/pika/pigeon/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/noble/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./ + +# Delete Unwanted Packages or failure points with ppp +rm -rfv ./intel-i915-dkms_*.deb +rm -rfv ./libdrm*.deb +rm -rfv ./*va*.deb +rm -rfv ./*mesa*.deb +rm -rfv ./intel-gsc*.deb +rm -rfv ./libmetee*.deb + +# Check if any updates have been downloaded +if [ $(ls ./ | wc -l) -lt 1 ]; then + echo "Repos are synced" + exit 0 +fi + +# Use apt to download weird packages that fail with ppp +wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg +echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble unified" | tee /etc/apt/sources.list.d/intel-gpu-noble.list +apt update +apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee + +# Patch Downloaded Packages control files +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)+pigeon$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control + sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control + dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-pigeon-fixed.deb +done + +cd ../ + +# Move patched packages to output +mkdir -p ./output/ +mv -v ./output-temp/*-fixed.deb ./output/ + +# send debs to server +#rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/pigeon-incoming/ + diff --git a/raven-rocm.sh b/raven-rocm.sh new file mode 100644 index 0000000..2c1d9f3 --- /dev/null +++ b/raven-rocm.sh @@ -0,0 +1,18 @@ +#! /bin/bash +set -e + +# Give correct perms to Pika Package Processor +chmod 755 ./ppp + +# External Radeon ROCm mirror +mkdir -p ./output +./ppp https://ppa.pika-os.com/dists/pika/raven/binary-amd64/Packages http://repo.radeon.com/rocm/apt/6.1.3/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/6.1.3/ ./output/ + +# Check if any updates have been downloaded +if [ $(ls ./output/ | wc -l) -lt 1 ]; then + echo "Repos are synced" + exit 0 +fi + +# send debs to server +rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/raven-incoming/ diff --git a/rocm.sh b/rocm.sh deleted file mode 100644 index 1e9e252..0000000 --- a/rocm.sh +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# Get ROCm pool -mkdir -p ./manticoutput -cd ./manticoutput - -../ppp https://ppa.pika-os.com/dists/pikauwu/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/6.1.1/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/6.1.1/ ./ - -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 pikauwu-rocm /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/syncpurge.sh b/syncpurge.sh deleted file mode 100644 index 1ad9bef..0000000 --- a/syncpurge.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash -set -e - -# publish all the repos -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:' - -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' diff --git a/ubuntu-backports.sh b/ubuntu-backports.sh deleted file mode 100644 index 96710eb..0000000 --- a/ubuntu-backports.sh +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install dpkg-sig wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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 pikauwu-ubuntu /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-proposed.sh b/ubuntu-proposed.sh deleted file mode 100644 index 6a3303e..0000000 --- a/ubuntu-proposed.sh +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install dpkg-sig wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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 pikauwu-ubuntu /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-security.sh b/ubuntu-security.sh deleted file mode 100644 index 045fdf1..0000000 --- a/ubuntu-security.sh +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install dpkg-sig wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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 pikauwu-ubuntu /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu-updates.sh b/ubuntu-updates.sh deleted file mode 100644 index 864d1de..0000000 --- a/ubuntu-updates.sh +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install dpkg-sig wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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 pikauwu-ubuntu /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file diff --git a/ubuntu.sh b/ubuntu.sh deleted file mode 100644 index 196f2f4..0000000 --- a/ubuntu.sh +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/bash -set -e - -# Give correct perms to Apt version checker -chmod 755 ./ppp - -# output folders -mkdir -p ./manticoutput - -cd ./manticoutput - -apt install dpkg-sig wget rsync ssh -y - -# Get ubuntu main pool -echo "Getting ubuntu main pool 32bit" -../ppp https://ppa.pika-os.com/dists/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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/pikauwu/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 pikauwu-ubuntu /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file