Sabayon/community-buildspec

implementing CACHE_VERSION

Open

#1 opened on Mar 6, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Shell (3 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

if CACHE_VERSION=1 in build.sh, it gets written to a file in vagrant box. When build.sh is run it compares the CACHE_VERSION to the file; if they don't match (or more specifically if build.yaml is greater than the file), clean cache, update file, continue so if I say remove a while load of packages from my build.sh command, I can bump the version number and ensure on the next run everything is cleaned up. I don't then have to wait for nightly job and make a second change (I'll forget/be lazy

Contributor guide