Skip to content

Generate Linux repositories from your packages

License

Notifications You must be signed in to change notification settings

VSCodium/repositories-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repositories Linux

This project generates the repositories for the linux archives .deb and .rpm.

The instructions are available at https://repo.vscodium.dev.

Your own repositories

This project can be forked and reconfigured to generate repositories from any packages available on GitHub.

Environment Variables

  • GH_REPOSITORIES (VSCodium/vscodium VSCodium/vscodium-insiders)
  • PACKAGE_NAME (codium)
  • PAGE_NAME (vscodium-repo)
  • PROJECT_NAME (VSCodium)
  • PROJECT_URL (https://github.com/VSCodium/vscodium)
  • R2_BUCKET_NAME (vscodium-repo)
  • R2_BUCKET_URL (https://r2repo.vscodium.dev)
  • REPO_ARCH_DEB (amd64 arm64 armhf)
  • REPO_ARCH_RPM (x86_64 aarch64 armv7hl)
  • REPO_NAME (vscodium)
  • REPO_URL (https://repo.vscodium.dev)

Secrets Variables

  • secrets.CLOUDFLARE_ACCOUNT_ID
  • secrets.CLOUDFLARE_API_TOKEN
  • secrets.CLOUDFLARE_KV_NAMESPACE_ID
  • secrets.GPG_PASSPHRASE
  • secrets.GPG_PRIVATE_KEY

Debug

DNF

dnf repoquery --location <package name>

Dispatch

Use the following code to create a repository dispatch event to deploy your repositories

deploy-repo:
  runs-on: ubuntu-latest
  steps:
    - name: Trigger repository rebuild
      uses: peter-evans/repository-dispatch@v3
      with:
        token: ${{ secrets.STRONGER_GITHUB_TOKEN }}
        repository: VSCodium/repositories-linux
        event-type: deploy

Thanks

I would like to thank the following projects which have inspired this project:

License

MIT © Baptiste Augrain

About

Generate Linux repositories from your packages

Resources

License

Stars

Watchers

Forks