Red Hat Bugzilla – Bug 1462182
RFE: look-aside cache
Last modified: 2017-07-18 05:17:46 EDT
Description of problem:
In Spacewalkproject we need to build thirdparty packages with a custom options or custom patches.
In such cases we store only package spec and patches in git repo because storing source tgzs in git is not efficient.
To build the package we need to have a place (look-aside cache) where we can upload tgz and copr will find it during build. It could be the same place where copr puts sources when building from srpm or url.
It is planned to open copr's dist-git for writing, similar to what we have
in Fedora's dist git (upload tarball, and commit only sources/patches to
git), this is bug 1397508.
You could build from Fedora's dist-git too, something to be fixed there
(bug 1391889) but could work for you.
There's tito feature that supports git annex too:
And perhaps you are interested in this too
Could this possibly be also addressed by adding GIT LFS support to COPR? Meaning that the tarballls you need to place in your repo would be links into a storage and COPR would auto-download them?
This seems to be a good way to solve this problem as well.