-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support external repositories and move supported packages to one #313
Comments
I agree that we need to separate the package definitions from the main script 👍 Making a monolithic script was a conscious choice at the very beginning, in order to quickly bootstrap the project. Also, I did not anticipate just how many packages would be available to include in I'd like to make one exception, and that is for I would also like to get Debian and Codename support in |
Yes, I agree that |
i was just thinking filing an issue about this xd |
Nice, if you have some suggestions, feel free to share. |
i do have an idea but i think i need to work it out first |
@flexiondotorg after #466 is merged I believe everything related to Debian and codename support should be sorted out, so I'll start working on this implementation. |
@flexiondotorg an implementation is available at https://github.com/natanjunges/deb-get/tree/extrepo, but I'll wait for all other pending PR's to be merged before opening this one, so all conflicts are sorted out. Also, the repository for the main external repository should be created first. |
+1 for this And should deb-get project be the place to collect any external repositories like for: https://packages.icinga.com/? |
On Debian Wiki there is a list: https://wiki.debian.org/DebianRepository/Unofficial |
@natanjunges I think it is time to move forward with this. Trying to merge the ever-growing list of new packages into the monolithic script is no longer maintainable 😭 I think we'll just have to bite the bullet. Migrate to a repositories collection and close outstanding pull requests add new apps and ask contributors to resubmit them in the new format. I would prefer that this repo be used to host the repositories collection in a suitable directory in |
What do you mean by this? Do you want to keep both the |
My first thought was Yes; I would like to keep
As for a separate repo for the
On balance, I think I would like to keep the Thoughts? |
The
As mentioned above, this would not be a problem. In this regard, keeping them together or splitting them makes no difference. I agree that keeping everything in the same repository is a good idea, I just had not though of that before. I would just recommend keeping the package metadata and some of the documentation in a |
sorry about that i didn't find the time to work out the idea i had. i do think keeping it one repo does make contributions and releases either, how would the latest metadata be served? would it just pull the raw files from the branch tip? |
GitHub can serve raw files through this URL scheme:
Yes, but we could work on a dedicated development branch and only merge to the main branch once everything is properly reviewed and tested, thus keeping the package metadata as stable as possible. |
Oh interesting that sounds promising to me |
Closed by #523. |
This is a long-term proposal.
The list of supported packages is growing very fast, and hardcoding it into the main script does not scale well:
README
gets polluted with the list of supported packages.To address those issues, I propose adding support to external repositories, and moving all supported packages to one. A repository would consist of:
When a repository is added, only the manifest file is downloaded. The script for a certain package would only be downloaded when required. It would also only be loaded in the main script when required, as the manifest can be used to get the list of supported packages. The wrapping
deb_
functions could even be removed from the scripts.The text was updated successfully, but these errors were encountered: