New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alpine: Add support for remote repositories #78
Comments
|
This is already supported, but unfortunately not in a generic way (so this needs explicit support of the respective backend). See https://github.com/ximion/appstream-generator/blob/master/src/asgen/backends/debian/debpkg.d#L101 for some of the needed code (both the archive index use the global Downloader instance to both download files on demand to the temporary directory of the current run, and also clean up the packages once they are no longer needed (so disk usage doesn't get excessive for bigger runs)) |
|
Oh great, that makes things easier :)
Yup, that was the problem for us as well. Am I understanding the |
|
Fixed by #80 |
Hello,
our (Alpine's) infra team has notified me that we may receive new, tiered mirrors in the future, meaning that we won't be able to just mount the entire repository as a folder into a docker container to run asgen on it. As such they suggested something rsync (or something similiar), so that asgen still only downloads changed packages, but doesn't need the entire repository available to generate metadata. I'm not sure how much effort it'd be to implement a different storage backend in asgen and I guess this is kind of a special requirement to Alpine, so I'm not sure if this is something that you'd want in asgen though :)
The text was updated successfully, but these errors were encountered: