-
-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul update site generation #365
Merged
daniel-beck
merged 169 commits into
jenkins-infra:master
from
daniel-beck:mavenless-plus
May 23, 2020
Merged
Changes from 89 commits
Commits
Show all changes
169 commits
Select commit
Hold shift + click to select a range
3fa8669
Remove backlink from HPI to PluginHistory
daniel-beck e0f4f07
Update dependencies
daniel-beck b424c88
Make this work as non-admin
daniel-beck c15b935
Some more ambiguous versions
daniel-beck f0eee1e
Print an error when GitHub fails with IOException
daniel-beck 9968162
Update some more dependencies
daniel-beck 317b828
Completely remove Maven dependency, modernize dependencies, cleanup
daniel-beck 053fc3b
Rename class
daniel-beck 9152bec
Adjust some output messages
daniel-beck 12fc060
Move one message from stderr to stdout
daniel-beck 0ef7383
Use reasonable defaults if id and connectionCheckUrl are unset
daniel-beck 9a138a9
No reason to install this
daniel-beck bee496a
Remove newly optional arguments
daniel-beck 76c0f6d
Stop generating java 11 experimental repo
daniel-beck 38eaa29
Move resource files out of src/main/resources
daniel-beck 4741de9
Increase major version
daniel-beck 492d44e
Update parent POM, fix a few findbugs issues
daniel-beck c545e25
Add TODO
daniel-beck c904ef2
Remove unused property
daniel-beck f48c3bf
Record hack as TODO
daniel-beck dabf290
Clean up imports and some license headers
daniel-beck cb0ab48
Replace direct build by downloading a pre-built generator
daniel-beck 29b0f64
No longer need mvn
daniel-beck 8faa2cf
Clean up script
daniel-beck 50bb323
Address some Java warnings
daniel-beck 5a14bf3
New build
daniel-beck 82fe5d3
This doesn't need to be public
daniel-beck 4903d8b
Minor code cleanup
daniel-beck 3485ad2
Refactor 'Plugin' to 'PluginUpdateCenterEntry' and 'PluginHistory' to…
daniel-beck 3453eba
Refactoring and cleanup
daniel-beck a5d497f
Move PluginFilter to a FilteringRepository wrapper, remove Artifactor…
daniel-beck 8a57d92
Remove now unused Gav class
daniel-beck 0270cf6
Remove obsolete comment
daniel-beck 9927a83
Remove unnecessary code, rename some stuff
daniel-beck 2c42a3a
Move some behavior from PluginUpdateCenterEntry into HPI; get started…
daniel-beck b67cfcc
Use fastjson to serialize release-history.json
daniel-beck 010d4ba
New version
daniel-beck a232560
Add cache for PluginUpdateCenterEntry#toJSON
daniel-beck 9812e71
New deployment
daniel-beck b177654
Address some warnings
daniel-beck 27a3b91
Add TODO
daniel-beck b21c37e
Fix release history generation
daniel-beck 70d00e1
Note TODO
daniel-beck 09b3ceb
New deploy
daniel-beck 6a9342a
Remove unused code
daniel-beck 14e4ed0
Nicer API for specifying a base repository
daniel-beck 86ebed7
Add support for -whitelist-file argument via new MavenRepositoryWrapper
daniel-beck e80f790
Prepare to get rid of this weird 'is authentic Jenkins' behavior
daniel-beck 95837d5
better error handling (thanks gitlab-branch-source 0.0.6-beta\ )
daniel-beck 881bfa1
Better logging
daniel-beck 745287c
Add more ambiguous releases
daniel-beck a8194f8
Blacklist more ambiguous nonsense
daniel-beck 64d85c2
Implement plugin-versions.json using fastjson
daniel-beck bdf12b4
Rename class
daniel-beck 38c106b
Clean up unused imports
daniel-beck e90f987
Add Deprecated annotations, note combination of features in one call
daniel-beck 6a4bc2b
New build
daniel-beck 044bb37
Add test confirming that the JSON impls result in same strings
daniel-beck b09897c
Generalize signature creation for JSON
daniel-beck ffe29a0
Remove unused code and dependency
daniel-beck c6bc2d9
Add signing support to WithSignature
daniel-beck 8df0320
Get started with generating update-center.* files using fastjson
daniel-beck 050a295
Add update-center.* generation via fastjson, work around encoding pro…
daniel-beck 00508a6
Fix invocation, note library issue
daniel-beck 4af23bc
Finish update-center.* creation with fastjson
daniel-beck 36ada04
Record TODOs related to non-json outputs done during jsonlib based up…
daniel-beck 5000ef9
New build
daniel-beck f24d9d2
Prevent running with non-UTF-8 encoding
daniel-beck 2a3b00a
Cache values in HPI
daniel-beck 39c40d2
New build
daniel-beck 76a3ac1
Slightly embiggen cache so it holds all parent POMs
daniel-beck 5afe904
Convert some outpout in ArtifactoryRepositoryImpl to log messages
daniel-beck 21746c4
Ignore plugin release without pom.xml
daniel-beck a4993de
Use support-log-formatter
daniel-beck acbbdfe
Better logging using JUL
daniel-beck cf93c14
Convert more output from System.err to JUL
daniel-beck 232dc63
More System.err -> JUL
daniel-beck 3fa9919
More System.err -> JUL
daniel-beck af64760
Rename method
daniel-beck 865c777
Reduce unnecessary visibility
daniel-beck 92dcaec
Remove fallback publishing as it hasn't been used in a while
daniel-beck 3e0c352
Refactor: Modernize package name
daniel-beck 3c69aaf
Refactor public fields to getters
daniel-beck 4348aa4
Remove obsolete json-lib based code in Signer
daniel-beck 0e90f1e
New build
daniel-beck eca2130
Update test cases, improve comments
daniel-beck bb6cd3b
Update link
daniel-beck 084de0f
Add more details to LAYOUT.md file
daniel-beck 50ad97b
Fix dir listings, more explanation for tiers
daniel-beck bba39f9
Better .htaccess docs
daniel-beck d6065a6
Merge branch 'master' into mavenless-plus
daniel-beck 806dc12
Add popularity to output for fastjson
daniel-beck 22e8c3f
New build
daniel-beck 8177b56
Don't need all three properties to be set
daniel-beck c14b6cd
New build, now with developer info
daniel-beck ef60f60
Fix typos that blacklisted entire plugins instead of specific releases
daniel-beck 194fa66
Improve readme, reformat to Asciidoc
daniel-beck 931070f
[INFRA-1502] Remove obsolete Hudson community cert
daniel-beck bb12ba1
Log certificates and trust anchors
daniel-beck 32ee90e
Add customizable log level
daniel-beck 66aba29
Remove concept of 'authentic Jenkins artifact' (based on groupId)
daniel-beck 3dd8a8d
Add support for pretty-printed output
daniel-beck 14ad003
Add generation of plugin-documentation-urls.json
daniel-beck af050b8
Add generation of latestCore.txt and pluginCount.txt
daniel-beck a26844b
Streamline resetting command line args
daniel-beck 990575a
Cleanup: Remove directory tree writing from Main, fix warnings etc.
daniel-beck a4fe31b
Build directory trees for -download and -www-download
daniel-beck 684aace
Fix directory to write plugin-documentation-urls.json to
daniel-beck 48896c6
Use Logger to log output
daniel-beck e7ac8ce
Add ArtifactCoordinates#toString
daniel-beck b6b6c53
Better log statements
daniel-beck fe5d3d7
Note plugin popularity data source
daniel-beck 3e05249
Use Asciidoc style listing
daniel-beck 16ba297
Fix invocation
daniel-beck d9c2bb8
Null safety
daniel-beck c4b4019
New deployment
daniel-beck 15f58b8
Reduce log level
daniel-beck b81e79e
Remove obsolete TODO
daniel-beck 5e8adb8
New build
daniel-beck e788270
Fix experimental download generation, symlink generation, better comm…
daniel-beck 38a3ec1
Add TODO
daniel-beck c16723b
Generate latestCore.txt files, a single latest-links for current
daniel-beck 2d6d154
Only record URL content if request was successful
daniel-beck 4e771fc
Deploy new build
daniel-beck 8c79b9e
Better logging when downloading files
daniel-beck fb091a8
Assume response is UTF-8 when no Content-Type is defined
daniel-beck 244240f
Address IDE warning
daniel-beck 92ded36
Address some IDE and Spotbugs warnings
daniel-beck 419828e
Remove obsolete toJSON() methods for json-lib
daniel-beck 8135b6b
Do not leak okhttp bodies
daniel-beck c9e0fc2
Deploy new build
daniel-beck 2a83a48
Clean up generate.sh a bit
daniel-beck 5563e47
Minor whitespace fixes
daniel-beck 8a28f7b
Fix up command line options
daniel-beck 3911997
Better logging
daniel-beck 1bfdd7a
Deploy new build
daniel-beck eb59bf5
Fix LTS update sites generation
daniel-beck 382bcc6
Build directory tree at the end
daniel-beck c88e0e9
Build plugin directories first, then core; new build
daniel-beck 0ffa051
Add a new parameter to explicitly generate plugin-documentation-urls.…
daniel-beck d0ba079
Make sure the parent directory exists
daniel-beck eb52efb
New build
daniel-beck 984c49b
Unzip quietly
daniel-beck 2dd69d0
Remove generator directory silently
daniel-beck 7d6b6a7
Download jq quietly
daniel-beck 0e0fc44
Remove files that are no longer being generated from the overview
daniel-beck 7cdb032
More context and details, improve formatting
daniel-beck 173f34b
Remove executions from Jenkinsfile as we currently need GH auth
daniel-beck a6aa4cc
Extract some constant strings from the code
daniel-beck 7158b4b
Move root certs into resources folder, require command line parameter
daniel-beck 819266a
Add support for custom args to generate.sh, use new snapshot
daniel-beck badeec0
Better logging of the update site certificate
daniel-beck d61ba3b
Use a wrapper for System.getenv and System.getProperty, change caches…
daniel-beck 27ce82e
Better name and description
daniel-beck 62513f7
New caches/ and tmp/ directories in script and .gitignore, misc cleanup
daniel-beck 9f1e6b1
Use new build
daniel-beck a538dd0
Create tmp directory
daniel-beck 0f89ecc
Allow customizing downloads root URL
daniel-beck 8ae24fd
Use new build with customizable download URL
daniel-beck 6dd959b
Merge branch 'master' into mavenless-plus
daniel-beck 6e3e332
Merge branch 'master' into mavenless-plus
daniel-beck b166adf
Switch to 'int' valued popularities
daniel-beck a03df2f
New build with integer-based popularity
daniel-beck 31172b6
Don't just use 'wiki' without explanation
daniel-beck 3e85070
Improve documentation, mostly around development
daniel-beck 23a376c
Fix list item
daniel-beck 42683eb
[INFRA-2613] Just the bytes please
daniel-beck 8568a89
Pick up new build
daniel-beck 2f7f2f1
[INFRA-2614] Generate latest/ directories in tiered update sites
daniel-beck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be 'update-center3' now? :)