Branch: refs/heads/master
Home: https://github.com/jenkinsci/backend-update-center2
Commit: 66ae4f80f2c7bf05b6fa13b05f69803a98fe2b24
https://github.com/jenkinsci/backend-update-center2/commit/66ae4f80f2c7bf05b6fa13b05f69803a98fe2b24
Author: Christopher Orr <[email protected]>
Date: 2015-06-01 (Mon, 01 Jun 2015)
Changed paths:
M pom.xml
M src/main/java/org/jvnet/hudson/update_center/ConfluencePluginList.java
M src/main/java/org/jvnet/hudson/update_center/LatestLinkBuilder.java
M src/main/java/org/jvnet/hudson/update_center/Main.java
M src/main/java/org/jvnet/hudson/update_center/MavenRepository.java
M src/main/java/org/jvnet/hudson/update_center/MavenRepositoryImpl.java
M src/main/java/org/jvnet/hudson/update_center/Plugin.java
A src/test/java/org/jvnet/hudson/update_center/ConfluencePluginListTest.java
Log Message:
-----------
Exclude plugins without a valid wiki page from the Update Centre JSON files.
The criteria for inclusion are:
- Plugins must specify a Jenkins wiki URL in their pom.xml, via the <url> tag
- The wiki page must exist on the Jenkins wiki
- The wiki page must be a child of the "Plugins" page
Also accepted are:
- Wiki short URLs (e.g. /x/GYCGAQ)
- Wiki URLs with a numeric ID (e.g. /pages/viewpage.action?pageId=60915753)
- URLs which have legacy URL prefixes (e.g. non-HTTPS, wiki.hudson-ci.org)
- URLs ending with a trailing slash
Plugins not meeting these criteria will not be included in the Update Centre
JSON file, nor in the release history JSON file.
As before, plugins may also be excluded via the "artifact-ignores.properties"
file, or if a plugin does specify a valid wiki page, but that wiki page has the
"plugin-deprecated" label.
While building the plugin list, more informational output is now printed to the
console regarding why plugins are being excluded, or whether their wiki URL was
rewritten to the canonical wiki URL format.
A summary of the total number of included, excluded and deprecated plugins is
also shown at the end of building the Update Centre plugin list.
A number of test cases were added to test the basic URL resolution process, as
well as some of the rarer types of URL found in currently-released plugins.
Commit: 38a695b20f98d87f56df845d874ec9dca98c332b
https://github.com/jenkinsci/backend-update-center2/commit/38a695b20f98d87f56df845d874ec9dca98c332b
Author: Christopher Orr <[email protected]>
Date: 2015-06-01 (Mon, 01 Jun 2015)
Changed paths:
M src/main/java/org/jvnet/hudson/update_center/AlphaBetaOnlyRepository.java
M src/main/java/org/jvnet/hudson/update_center/Main.java
M src/main/java/org/jvnet/hudson/update_center/MavenRepository.java
M src/main/java/org/jvnet/hudson/update_center/TruncatedMavenRepository.java
M
src/main/java/org/jvnet/hudson/update_center/VersionCappedMavenRepository.java
Log Message:
-----------
When building the old/stable UC files, keep plugins without wiki pages for
now.
Even if plugin developers update their plugins to include a wiki URL, and make a
new release, this will not apply to older plugin releases. Because the UC for
LTS releases may only include older plugin releases, and not the latest version
of any given plugin, we should not exclude those plugins because they don't have
a wiki page.
This is a workaround which should ideally be removed once we no longer generate
UC files for LTS 1.596, which was the last LTS in which we tolerated plugins
without a valid wiki URL.
Commit: 9645fdbe075f1d773f4e39645705a03b94d7ba94
https://github.com/jenkinsci/backend-update-center2/commit/9645fdbe075f1d773f4e39645705a03b94d7ba94
Author: Christopher Orr <[email protected]>
Date: 2015-06-01 (Mon, 01 Jun 2015)
Changed paths:
M pom.xml
M src/main/java/org/jvnet/hudson/update_center/AlphaBetaOnlyRepository.java
M src/main/java/org/jvnet/hudson/update_center/ConfluencePluginList.java
M src/main/java/org/jvnet/hudson/update_center/LatestLinkBuilder.java
M src/main/java/org/jvnet/hudson/update_center/Main.java
M src/main/java/org/jvnet/hudson/update_center/MavenRepository.java
M src/main/java/org/jvnet/hudson/update_center/MavenRepositoryImpl.java
M src/main/java/org/jvnet/hudson/update_center/Plugin.java
M src/main/java/org/jvnet/hudson/update_center/TruncatedMavenRepository.java
M
src/main/java/org/jvnet/hudson/update_center/VersionCappedMavenRepository.java
A src/test/java/org/jvnet/hudson/update_center/ConfluencePluginListTest.java
Log Message:
-----------
Merge pull request #20 from orrc/exclude-undocumented-plugins
Exclude plugins without a valid wiki page from the Update Centre JSON files
Compare:
https://github.com/jenkinsci/backend-update-center2/compare/2d6cfae3ec17...9645fdbe075f
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.