[PATCH] Make ccache use basenames for repos

Jonathan Maw jonathan.maw at codethink.co.uk
Thu Jan 3 15:21:39 GMT 2013

head:   0d08f8dbe4e450921ee873cb9e2c037dc0020e06
branch: jonathanmaw/ccache-local-fix
repo:   ssh://git@trove.baserock.org/baserock/baserock/morph

This patch makes morph store its ccaches by the url's basename instead
of using the whole url. This fixes the problem of morph choking when it
tries to mount a directory with a colon in its path, and also makes
all clones of one repository use the same cache (probably). This will
cause projects with the same name to use the same cache, but that is
not likely to cause serious problems.

I have tried to run ./check to see if this breaks anything. It might do.In my baserock image, ./check fills up /tmp which causes every
successive test to fail. I would like confirmation of whether my
baserock image is messed-up, or if we have a serious problem.

Jonathan Maw (1):
  Make ccache use the same directory for repos that are clones

 morphlib/builder2.py | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)


More information about the baserock-dev mailing list