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>" 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to