Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: cache multiple projects #12

Open
ssouffri opened this issue Jan 15, 2022 · 0 comments
Open

Feature request: cache multiple projects #12

ssouffri opened this issue Jan 15, 2022 · 0 comments

Comments

@ssouffri
Copy link

ssouffri commented Jan 15, 2022

Can one server instance act as a cache for multiple projects?

This works 👍:

--url https://<server>/depot.git/info/lfs
git config lfs.url http://<user>:<token>@localhost:8080

But then I wanted to move the project-specific part depot.git/info/lfs to lfs.url and do the same for other projects (all hosted on the same server, of course). However, this seems to make my git-lfs fall back to the "origin" remote instead of lfs.url:

--url https://<server>
git config lfs.url http://<user>:<token>@localhost:8080/depot.git/info/lfs

I do see a small amount of network traffic going to the lfscache server so it could be that my git-lfs is making requests but that lfscache can't find the binaries and that this makes my git-lfs fall back to "origin".

Could this feature be added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant