[PATCH] Make ccache use basenames for repos
jannis.pohlmann at codethink.co.uk
Thu Jan 3 16:39:19 GMT 2013
maybe I'm missing something but can we not just use the
morph.repository value, quote it like we always do and use
that as the basename like we do in /src/cache/gifts?
Senior Software Engineer and Architect
Jonathan Maw <jonathan.maw at codethink.co.uk> 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.
>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(-)
>baserock-dev mailing list
>baserock-dev at baserock.org
More information about the baserock-dev