Skip to content

Feature request: cache multiple projects #12

@ssouffri

Description

@ssouffri

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions