Skip to content

Instantly share code, notes, and snippets.

@ndren
Last active August 24, 2023 13:18
Show Gist options
  • Save ndren/7f0776d56a54717f679bfaef67332c98 to your computer and use it in GitHub Desktop.
Save ndren/7f0776d56a54717f679bfaef67332c98 to your computer and use it in GitHub Desktop.
Generic Package Repositories Open Letter

Dear GitHub,


In my work for Google Summer of Code 2023 I have designed a system for Continuous Integration for packages built for OpenWrt's package manager, opkg.

After building packages, this requires uploading in a particular file structure the binaries used for CI. Something very similar to Ubuntu's PPA, but hosted on GitHub itself.

I wanted to use GitHub Packages but found they only allow package-management-specific configurations, like Docker or RubyGems. There's no generic method to provide a custom repository structure, unlike other forges.

In this particular case, I was able to use GitHub releases, but only because the maximum file depth was 1. It would be great if GitHub would allow generic package repositories with uploads through HTTP requests and thus give more uses cases to GitHub Packages.

The feature would be similar to npm package integration: Octocat npm demo


Andrei Enache, 2023 GSoC Contributor

@zoobab
Copy link

zoobab commented Aug 24, 2023

Add this link for npm example, with a screenshot where the package is visible in red https://docs.github.com/en/packages/quickstart

@ndren
Copy link
Author

ndren commented Aug 24, 2023

@zoobab: Thank you, added!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment