Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since 2.111 we have been publishing a https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-parent/2.366/jenkins-parent-2.366-src.zip source archive. Note that unlike e.g. https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-core/2.366/jenkins-core-2.366-sources.jar and https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/2.366/jenkins-war-2.366-sources.jar (which just cover the
core/
andwar/
Maven modules), this actually contains the whole Git repository, much like https://github.com/jenkinsci/jenkins/archive/refs/tags/jenkins-2.366.zip but with the exception that (unlike the GitHub version) it accidentally omits test resources that end with.zip
due tojenkins/assembly-src.xml
Line 45 in 93f69b2
src.zip
using GitHub Code Search in thejenkinsci
,jenkins-infra
, andcloudbees
GitHub organizations without finding any references to consumers, and I cannot imagine why someone would want to consume this source archive: while it would make sense in the context of e.g. a C project where the packaging build scripts downloaded the source code and compiled it into a binary and then packaged the result, our Docker image and OS packaging scripts start with a pre-built WAR file and therefore have no need to download sources and verify their signature. I cannot imagine a use case where someone would need to verify a signature when casually downloading sources for offline consumption, so such a use case could be easily satisfied via GitHub's download feature. Altogether I am leaning toward flensing this code, but I do not feel strongly: if someone wants to keep it, I will gladly close this PR. My only reason for wanting to delete it is that this cleans up our release build and saves space on Artifactory for what I believe is an unnecessary historical relic.Proposed changelog entries
Removed: The signed
jenkins-parent-${JENKINS_VERSION}-src.zip
source archives have been removed from Artifactory for future releases. Users who wish to download source archives for offline consumptions are encouraged to do so via GitHub.Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
if applicable.eval
to ease future introduction of Content-Security-Policy directives (see documentation on jenkins.io).Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).