I currently have a git repository managed by phabricator. And wanted to add GitLFS capability to it.
I’ve got a functioning PoC where GitLFS are hosted by an Artifactory and Git repo is hosted by phabricator and work independently with their own authentication system.
Now I would like to hide the existence of Artifactory from a phabricator git user, which mean no .gitlfsconfig hardcoding artifactory endpoint.
And simplify authentication, by relying on phabricator only (mainly SSH).
From my understanding, GitLFS
git-lfs-authenticate reply can specify the custom GitLFS endpoint (https://github.com/git-lfs/git-lfs/blob/master/docs/api/server-discovery.md)
So I wondered, if there was a way to set this endpoint in Phabricator reply.
And then, what would it take to synchronize Phabricator with Artifactory so that Artifactory accept authorization token generated by phabricator.