This repository was archived by the owner on Mar 22, 2021. It is now read-only.

Description
In ostreedev/ostree#1462
+ # TODO: enhance papr to have caching, a bit like https://docs.travis-ci.com/user/caching/
+ - curl -Lo fedora-atomic-host.qcow2 https://getfedora.org/atomic_qcow2_latest
Something like:
- inputs_url_immutable:
- https://getfedora.org/atomic_qcow2_latest
Where PAPR would do the fetch, and here we want to follow the Location tag; what the "immutable" above hints at is that we cache based on the final filename.
This would end up in the container as:
/srv/inputs/atomic_qcow2_latest -> Fedora-Atomic-27-20180226.0.x86_64.qcow2
or so?
Obviously the other big caching case is rpm-md repos...maybe in some case we may want to pull container images too. I feel like those need their own separate design, but since we have a major need for the qcow2s I'd like to do that first.