-
Notifications
You must be signed in to change notification settings - Fork 29
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
ssh protocol for LFS #32
Comments
Can you show running command and error message? |
Sure: |
As I known, Git LFS use only HTTP for transport. As I known, artifactory uses URL like:
I make some Git LFS investigations in Dec 2016 with trial Artifactory: git-as-svn/git-lfs-java#4 |
Artifactory can use ssh for authentication (as any other LFS service). Then, all transactions are done via HTTP(s). |
Another question - why do you care about it? Can you just put this info into .lfsconfig file and let me push it with original LFS? |
You can specify Git repository URL with -g option:
But I'm not sure about port parameter... |
Git repository and LFS are separate services. Git is located at Bitbucket while LFS is at Artifactory. |
You can specify:
|
I did not understand your question. You can even omit the |
|
It's unrelated problems. This file is outside working copy and all users should create it manually. |
Why users should create it manually??? It should be part of the repo. All LFS files are located at predefined server at predefined folder. It's a constant. |
Manual git-lfs service configutaions usually used for testing and working with unconfigured git-lfs vs git intergration. |
This is working if Git server serves as LFS storage. If they are different you cannot "guess" configuration from git url. And here comes the .lfsconfig with LFS url. |
No. Git server should provide only integration point:
If you want to use Git server and LFS storage without discovery integration, you will feel pain. |
How exactly you can configure Git server to provide LFS url on external server? What Git server you are using that provides this functionality? |
In my case I use GitLab as Git server and Git as Subversion as LFS external storage. |
In my case it is Bitbucket and Artifactory. And I cannot get Bitbucket to make authentication for Artifactory. I need .lfsconfig file to do that. |
Both of them (Bitbucket and Artifactory) is proprietary and I can't install them to help you. I would also highly recommend you assess the feasibility of using Artifactory as a repository Git LFS: as at December 2016 the implementation of server strongly did not meet specifications (git-as-svn/git-lfs-java#4). I was under the impression that Git LFS storage feature is implemented in Artifactory only for marketing. |
They must have fixed that in version 5.0.1. Everything is working if I supply .lfsconfig file. |
We have the same use case. We are using various git repositories (bitbucket, gerritt, etc) paired with Artifactory. I agree with @masics that splitting git from lfs would be nice. It's unfortunate that there is not a way for you to develop/test against it. I would work on a PR, but I think for us, simply modifying the repo after conversion will be good enough. We have many repos, but we also have many engineering teams. |
I'm trying to migrate to LFS with ssh protocol but instead I get an error:
ssh protocol is not supported
How to make it working? Thank you.
The text was updated successfully, but these errors were encountered: