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

Need flag for skip SSL certificate validatoin for self-signed certificates #10

Closed
bozaro opened this issue Jan 15, 2016 · 9 comments
Closed

Comments

@bozaro
Copy link
Owner

bozaro commented Jan 15, 2016

No description provided.

@DVGeoffrey
Copy link

+1 would like to see this feature.

@DVGeoffrey
Copy link

@bozaro do you have ru.bozaro.gitlfs up somewhere?

@bozaro
Copy link
Owner Author

bozaro commented Jan 16, 2016

@DVGeoffrey
ru.bozaro.gitlfs is located at https://github.com/bozaro/git-lfs-java repository.

This module used in two my projects:

bozaro added a commit that referenced this issue Jan 18, 2016
bozaro added a commit that referenced this issue Jan 18, 2016
@DVGeoffrey
Copy link

Just tried this latest commit and am no longer getting cert errors. Seems to be working!

@bozaro
Copy link
Owner Author

bozaro commented Jan 18, 2016

Ok. I tagged this version.

@bozaro bozaro closed this as completed Jan 18, 2016
@DVGeoffrey
Copy link

Unfortunately after the convert finished, I followed the instructions and ran git fsck and then tried a push, but it didn't seem to work. Ie. the push worked, but when checking it out on another system I ran into "smudge" errors. Looking at our GitHub Enterprise site, I don't see any entries in the "LFS" section for the repo pushed.

@DVGeoffrey
Copy link

When pushing I noticed there was no mention of LFS:

[root@rndsvn svn2devops_converted]# git push --mirror git@192.168.50.223:DevOps/Projects.git
Counting objects: 12293, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11154/11154), done.
Writing objects: 100% (12293/12293), 13.88 MiB | 2.77 MiB/s, done.
Total 12293 (delta 5546), reused 0 (delta 0)
To git@192.168.50.223:DevOps/Projects.git
 * [new branch]      master -> master
 * [new branch]      svn/trunk -> svn/trunk

And then when cloning, the smudge error:

local:git-transition geoff$ git clone git@192.168.50.223:DevOps/Projects.git
Cloning into 'Projects'...
remote: Counting objects: 12293, done.
remote: Compressing objects: 100% (5608/5608), done.
remote: Total 12293 (delta 5546), reused 12293 (delta 5546), pack-reused 0
Receiving objects: 100% (12293/12293), 13.88 MiB | 6.01 MiB/s, done.
Resolving deltas: 100% (5546/5546), done.
Checking connectivity... done.
Downloading Puppet/modules/asis/files/Tools/PsExec.exe (378.69 KB)
Error accessing media: Puppet/modules/asis/files/Tools/PsExec.exe (3c26ef3208a8bf6c2a23d46ef15c238197f528c04877db0bac2a090d15ec53b2)

Errors logged to .git/lfs/objects/logs/20160118T162457.234190293.log
Use `git lfs logs last` to view the log.
error: external filter git-lfs smudge %f failed 2
error: external filter git-lfs smudge %f failed
fatal: Puppet/modules/asis/files/Tools/PsExec.exe: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

@bozaro
Copy link
Owner Author

bozaro commented Jan 19, 2016

As I known, git push --mirror don't upload LFS object. LFS objects uploaded by git-lfs-migrate tool (you need specify --lfs or --git parameter).

Can show git-lfs-migrate command, used for converting your repo?

P.S. I think write to closed issue is not good idea.

@DVGeoffrey
Copy link

You're right! This fixed things... thanks!

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

No branches or pull requests

2 participants