[PATCH] Make ccache use basenames for repos

Lars Wirzenius lars.wirzenius at codethink.co.uk
Thu Jan 3 15:32:20 GMT 2013

On Thu, Jan 03, 2013 at 03:21:39PM +0000, Jonathan Maw wrote:
> 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.

This information belongs in the commit message.

> 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.

TMPDIR=/src/tmp ./check
That should tell your tests to not put stuff into /tmp, and put them
into /src/tmp instead. You need to have a /src/tmp directory for this
to work. You can use any path, of course.

http://www.codethink.co.uk/ http://wiki.baserock.org/ http://www.baserock.com/

More information about the baserock-dev mailing list