diff --git a/README.md b/README.md index 7c4ed6e2..6ac68e6a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The JGit framework is rich and diverse, it has two layers, a low-level _api_ and This project tries to provide a collection of ready-to-run snippets which provide a quick start for building functionality using JGit. -Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](http://download.eclipse.org/jgit/site/6.8.0.202311291450-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively. +Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](http://download.eclipse.org/jgit/site/6.10.0.202406032230-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively. *Note: Please use sites such as http://stackoverflow.com for general questions about JGit usage, not issues in this project. Issues should be used for problems with snippets and suggestions of missing snippets. Snippets from good answers on stackoverflow can then be included here, naturally.* @@ -134,12 +134,12 @@ Another simple way to start the sample-server is to run `./gradlew run` in the h * Iterate all commits of a repository: https://gerrit.googlesource.com/plugins/branch-network/+log/refs/heads/master/src/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/JGitFacade.java * Take some of the unit tests as example: https://github.com/eclipse/jgit/tree/master/org.eclipse.jgit.test/tst/org/eclipse/jgit/api -* SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/6.8.0.202311291450-r/apidocs/org/eclipse/jgit/submodule/package-frame.html +* SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/6.10.0.202406032230-r/apidocs/org/eclipse/jgit/submodule/package-frame.html * Diffing: http://stackoverflow.com/questions/12987364/how-to-diff-with-two-files-by-jgit-without-creating-repo * Amend a previous commit: http://stackoverflow.com/questions/4772142/jgit-unstaging-files-removing-files-from-the-index-and-ammending-a-commit * Remove a file from the index: http://stackoverflow.com/questions/4803462/jgit-java-git-library-unstaging-files * Git repo on Amazon S3: http://stackoverflow.com/questions/8744611/git-repository-on-s3-as-origin-not-as-backup http://stackoverflow.com/questions/7031729/publish-to-s3-using-git http://www.fancybeans.com/blog/2012/08/24/how-to-use-s3-as-a-private-git-repository/ -* CherryPick: http://download.eclipse.org/jgit/site/6.8.0.202311291450-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent +* CherryPick: http://download.eclipse.org/jgit/site/6.10.0.202406032230-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent * More authentication: http://www.lordofthejars.com/2016/09/authenticating-with-jgit.html * How to do a shallow clone (i.e. --depth 1) as soon as https://bugs.eclipse.org/bugs/show_bug.cgi?id=475615 is implemented @@ -151,7 +151,7 @@ If you find these snippets useful and would like to support it, you can [Sponsor The following sources were used to build the snippets: -* [JGit JavaDoc](http://download.eclipse.org/jgit/site/6.8.0.202311291450-r/apidocs/) +* [JGit JavaDoc](http://download.eclipse.org/jgit/site/6.10.0.202406032230-r/apidocs/) * [JGit User Guide](http://wiki.eclipse.org/JGit/User_Guide) * [JGit related questions on stackoverflow](http://stackoverflow.com/questions/tagged/jgit) * [AlBlue's Blog: Embedding JGit](http://alblue.bandlem.com/2013/11/embedding-jgit.html) diff --git a/build.gradle b/build.gradle index 2696f37f..3767d7eb 100644 --- a/build.gradle +++ b/build.gradle @@ -8,10 +8,10 @@ repositories { } dependencies { - implementation 'org.eclipse.jgit:org.eclipse.jgit:6.8.0.202311291450-r' - implementation 'org.eclipse.jgit:org.eclipse.jgit.archive:6.8.0.202311291450-r' - implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:6.8.0.202311291450-r' - implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:6.8.0.202311291450-r' + implementation 'org.eclipse.jgit:org.eclipse.jgit:6.10.0.202406032230-r' + implementation 'org.eclipse.jgit:org.eclipse.jgit.archive:6.10.0.202406032230-r' + implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:6.10.0.202406032230-r' + implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:6.10.0.202406032230-r' implementation 'commons-io:commons-io:2.16.1' implementation 'org.slf4j:slf4j-simple:2.0.10' diff --git a/httpserver/build.gradle b/httpserver/build.gradle index 8ac98a01..3c07312a 100644 --- a/httpserver/build.gradle +++ b/httpserver/build.gradle @@ -19,7 +19,7 @@ repositories { } dependencies { - implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:6.8.0.202311291450-r' + implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:6.10.0.202406032230-r' implementation 'org.eclipse.jetty:jetty-servlet:9.4.51.v20230217' implementation 'org.slf4j:slf4j-simple:2.0.10' diff --git a/pom.xml b/pom.xml index 0934ff1c..ccabb8cb 100644 --- a/pom.xml +++ b/pom.xml @@ -20,28 +20,28 @@ org.eclipse.jgit org.eclipse.jgit - 6.8.0.202311291450-r + 6.10.0.202406032230-r org.eclipse.jgit org.eclipse.jgit.archive - 6.8.0.202311291450-r + 6.10.0.202406032230-r org.eclipse.jgit org.eclipse.jgit.ssh.jsch - 6.8.0.202311291450-r + 6.10.0.202406032230-r org.eclipse.jgit org.eclipse.jgit.ssh.apache - 6.8.0.202311291450-r + 6.10.0.202406032230-r commons-io commons-io - 2.16.0 + 2.16.1 org.slf4j