|
Hi, We're working on the non-k8s diracx container deployment recipe and have run into some issues with loading the CS store... We've exported our existing CS into the diracx format and have it in a local git repo directory which we're initially bind mounting in as a read-only mount at /cs_store and setting This doesn't work: The git+file handler runs into a number of issues:
We modified the code, to use the git+https "RemoteGitConfigSource" handler for the git+file case too and this works (and I suspect would also work better if this directory was shared across multiple hosts). Our questions for discussion are:
We're not really sure how this is all going to work out if it needs to start pushing commits back: Getting the permissions all correct for writing a bind-mount on any platform seems to be its own challenge (but perhaps that isn't planned for a while and we can worry about that later?). Regards, Mentioning @marianne013 |
Replies: 1 comment 4 replies
|
Cloning a local directory with different ownership requires this delightful incantation: git -c safe.directory="*" \
clone \
-u 'git -c safe.directory="*" upload-pack' \
...See https://lore.kernel.org/git/20240529102307.GF1098944@coredump.intra.peff.net/t/#u |
Looks like the fix was git/git@0ffb5a6