Hey,
With
https://git.eclipse.org/r/#/c/118648/ I’m adjusting the API slightly, so that it will be easier to install LFS support.
Basically you only need to call LfsFactory.getInstance().getInstallCommand().call() – or similar
J This will enable
LFS (the JGit built-in version) in the current users ~/.gitconfig. Now the only missing thing is a repository with a .gitattributes file with appropriate “filter=lfs” attributes.
Cheers,
Markus
From: Mark Waite [mailto:mark.earl.waite@xxxxxxxxx]
Sent: Monday, March 5, 2018 2:12 PM
To: Duft Markus <Markus.Duft@xxxxxxxxxxxxxxxx>
Cc: Matthias Sohn <matthias.sohn@xxxxxxxxx>; JGit Developers list (jgit-dev@xxxxxxxxxxx) <jgit-dev@xxxxxxxxxxx>
Subject: Re: [jgit-dev] LFS
Markus,
I've experimented with adding a call to InstallLfsCommand into the Jenkins git client plugin. I see the call being made but haven't gone further with it. Since git client plugin work is weekend and nights work and I'm traveling for business
next weekend, it is unlikely I'll make significant progress on it in the next 2-4 weeks.
Are there other objects and methods I need to use (and study) in order to enable LFS from the JGit implementation in the Jenkins git client plugin?
Thanks.
And thanks everybody for helping me LFS into JGit
J Especially all the reviewers of course.
I assume there will still be a lot of changes to the support in the future, but there
is a basis to build upon now J Please everyone test and feel free to bash
me if somethings not working.
I will now go on preparing the last bits to integrate into EGit, so we can properly consume
this support in Eclipse without manual configuration editing.
Cheers,
Markus
From: Matthias
Sohn [mailto:matthias.sohn@xxxxxxxxx]
Sent: Sunday, March 4, 2018 9:28 PM
To: Mark Waite <mark.earl.waite@xxxxxxxxx>
Cc: Duft Markus <Markus.Duft@xxxxxxxxxxxxxxxx>; JGit Developers list (jgit-dev@xxxxxxxxxxx) <jgit-dev@xxxxxxxxxxx>
Subject: Re: [jgit-dev] LFS
Markus,
I've been following the latest changes in JGit 4.11.0-SNAPSHOT. It now includes LFS changes.
I was a little surprised that InstallLfsCommand.setRepository() is not returning "this". That makes it so I cannot use:
InstallLfsCommand cmd = new InstallLfsCommand();
cmd.setRepository(repo).call();
InstallLfsCommand cmd = new InstallLfsCommand();
SSI Schäfer IT Solutions GmbH |
Friesachstrasse 15 | 8114 Friesach | Austria
Registered Office: Friesach | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz
SSI Schäfer IT Solutions GmbH | Friesachstrasse 15 | 8114 Friesach | Austria
Registered Office: Friesach | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz
|