Dne 09. 06. 24 v 16:12 Mattia Verga via devel napsal(a):
I was just thinking... for users with a limited upload bandwidth it is a pain to upload big sources to the lookaside cache. What about implementing a way to avoid the chain "user downloads the source -> user upload the source to lookaside cache" by having some service running in the infrastructure which downloads the source file directly in the lookaside cache? My idea is that a user could issue a command like "fedpkg new-sources-download <SOURCE_FILE_URL> <HASH>"
Or rather "fedpkg refresh-lookaside-cache" once the updated source file is committed.
BTW this would also help with PRs, where the sources are not uploaded. Vít
which triggers some service running in Fedora infra, near to the system where the lookaside cache is stored, which downloads the source from <SOURCE_FILE_URL>, check the hash of the downloaded file with the hash provided by user command and then store the source in lookaside cache. The user still need to download the source to provide the hash, for enhanced security, but at least avoids the limits of their upload bandwidth. This is just an idea, I don't really know how to implement that, where the backend service could run, etc... just posting to gather some thoughts. Mattia -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue