SRPM Caching

seth vidal skvidal at fedoraproject.org
Sat Mar 9 17:54:08 UTC 2013


On Fri, 08 Mar 2013 14:26:33 -0500
Nathaniel McCallum <npmccallum at redhat.com> wrote:

> So apparently copr caches SRPMs based on the URL. If you create a new
> build using the same URL as a previous failed build it doesn't
> download the new SRPM. I suspect that the behavior should be to never
> cache for failed builds.
> 
> Alternatively, if you want to cache in that case, you should cache not
> based on URL but based on the Etag header. This ensures that if the
> contents change, you will always get the new SRPM.
> 

It's not caching anything. What's happening is that if it has had a
successful build of a pkg with the same nevra then it is skipping it
for the next build.

-sv


More information about the copr-devel mailing list