From afc546f93fe1df3553628bffa5978bfa33837d41 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 07:27:22 +0000 Subject: [PATCH 1/3] Bump io.jenkins.tools.bom:bom-2.361.x Bumps [io.jenkins.tools.bom:bom-2.361.x](https://github.com/jenkinsci/bom) from 2081.v85885a_d2e5c5 to 2102.v854b_fec19c92. - [Release notes](https://github.com/jenkinsci/bom/releases) - [Commits](https://github.com/jenkinsci/bom/commits) --- updated-dependencies: - dependency-name: io.jenkins.tools.bom:bom-2.361.x dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a923a88..f0b89d7 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ io.jenkins.tools.bom bom-2.361.x - 2081.v85885a_d2e5c5 + 2102.v854b_fec19c92 import pom From ca83775b52b810fcd89d3e22abf69e4b843b3785 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 12 Oct 2023 08:46:20 -0600 Subject: [PATCH 2/3] Test with Java 21 Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in early October and would like the most used plugins to be compiled and tested with Java 21. The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21. The change intentionally tests only two Java configurations, Java 17 and Java 21 because we believe that the risk of a regression that only affects Java 11 is low. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8d38b97..8b7fd8d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ buildPlugin(useContainerAgent: true, configurations: [ - [platform: 'linux', jdk: 17], - [platform: 'windows', jdk: 11], + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], ]) From 3ff6a91b4ad45ef6248d7e3ddc4ad6c6f1aa65db Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 15 Oct 2023 07:07:15 -0600 Subject: [PATCH 3/3] Minor documentation cleanup Remove the old changelog and link to a tagged version on GitHub. Replace outdated jenkins-ci.org with jenkins.io domain name. Link bug reporting to a page that offers bug, improvement, and security reporting so that users are encouraged to report issues more accurately and are encouraged to report security issues in the SECURITY project rather than the JENKINS project. --- README.md | 15 +++++-------- docs/OLD_CHANGELOG.md | 51 ------------------------------------------- 2 files changed, 5 insertions(+), 61 deletions(-) delete mode 100644 docs/OLD_CHANGELOG.md diff --git a/README.md b/README.md index b2adb36..521d8f1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,4 @@ -Git Server Plugin for Jenkins -================= - -[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/git-server.svg)](https://plugins.jenkins.io/git-server) -[![GitHub release](https://img.shields.io/github/release/jenkinsci/git-server-plugin.svg?label=changelog)](https://github.com/jenkinsci/git-server-plugin/releases/latest) -[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/git-server.svg?color=blue)](https://plugins.jenkins.io/git-server) +# Git Server Plugin for Jenkins This plugin wraps the server-side functionality of JGit so that other plugins can easily expose Git repositories from Jenkins via its SSH transport and HTTP in a collaborative fashion. @@ -24,12 +19,12 @@ is a convenient default implementation that simplifies this further. [GitUserContentRepository](https://github.com/jenkinsci/git-userContent-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitUserContent/GitUserContentRepository.java) in `git-userContent-plugin` is an example of using this class. This use also implements -[RootAction](https://wiki.jenkins-ci.org/display/JENKINS/Action+and+its+family+of+subtypes#Actionanditsfamilyofsubtypes-RootAction) +[RootAction](https://wiki.jenkins.io/display/JENKINS/Action+and+its+family+of+subtypes#Actionanditsfamilyofsubtypes-RootAction) to bind this repository at `http://server/jenkins/userContent.git`, and This combination is fairly common. The other class of interest is [`RepositoryResolver`](https://github.com/jenkinsci/git-server-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitserver/RepositoryResolver.java). -Git server plugin adds necessary [Jenkins SSH](https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+SSH) CLI hook for exposing Git repositories over SSH. +Git server plugin adds necessary [Jenkins SSH](https://wiki.jenkins.io/display/JENKINS/Jenkins+SSH) CLI hook for exposing Git repositories over SSH. The only missing link here is that when the client runs `git clone ssh://server/foo/bar/zot.git`, we need to figure out what repositories on the server corresponds to `/foo/bar/zot.git`, and that's what the `RepositoryResolver` extension point does. [The sample implementation](https://github.com/jenkinsci/git-userContent-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitUserContent/GitUserContentRepositorySSHAccess.java) in `git-userContent-plugin` will be hopefully self-explanatory. @@ -38,9 +33,9 @@ In this case, `GitUserContentRepository` is a singleton (because it's `RootActio ## Changelog * See [GitHub Releases](https://github.com/jenkinsci/git-server-plugin/releases/latest) for recent releases -* See the [Changelog Archive](./docs/OLD_CHANGELOG.md) for versions 1.7 and older +* See the [Changelog Archive](https://github.com/jenkinsci/git-server-plugin/blob/git-server-1.9/docs/OLD_CHANGELOG.md) for versions 1.7 and older ## Reporting issues -Use [Jenkins Bugtracker](https://issues.jenkins-ci.org/) to report issues or feature requests +Use [Jenkins issue tracker](https://www.jenkins.io/participate/report-issue/redirect/#17613) to report issues or feature requests (project = `JENKINS`, component = `git-server-plugin`). diff --git a/docs/OLD_CHANGELOG.md b/docs/OLD_CHANGELOG.md deleted file mode 100644 index 5879866..0000000 --- a/docs/OLD_CHANGELOG.md +++ /dev/null @@ -1,51 +0,0 @@ -## Changelog Archive - -This page contains changelof for versions 1.7 and older. -SeeĀ [GitHub releases](https://github.com/jenkinsci/git-server-plugin/releases) for newer versions. - -### 1.8 and newer - -SeeĀ [GitHub releases](https://github.com/jenkinsci/git-server-plugin/releases). - -### 1.7 - -Release date: (July 12, 2016) - -- [JENKINS-35510](https://issues.jenkins-ci.org/browse/JENKINS-35510) - Update to the new Parent POM - -### 1.6 - -Release date: (Dec 18 2014) - -- git clone fails over HTTP, although SSH works - ([JENKINS-25212](https://issues.jenkins-ci.org/browse/JENKINS-25212)) - -### 1.5 - -Release date: (Nov 14 2014) - -- git-push via HTTP will work correctly even when CSRF protection is - enabled. No more "No valid crumb was included in request" error. - -### 1.4 - -Release date: (Oct 14 2014) - -- De-couple jgit dependencies from [Git Client - Plugin](https://wiki.jenkins.io/display/JENKINS/Git+Client+Plugin) - to avoid LinkageError caused by jgit version incompatibility. - -### 1.3 - -Release date: (Feb 10 2014) - -- Another JGit incompatibility with Git Client - ([JENKINS-21163](https://issues.jenkins-ci.org/browse/JENKINS-21163)) - -### 1.2 - -Release date: (Aug 09 2013) - -- JGit incompatibility with new Git Client plugin - ([JENKINS-18973](https://issues.jenkins-ci.org/browse/JENKINS-18973))