-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Overhaul update site generation #365
Conversation
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.
I do not see anything wrong in this pull request. I like the new structure , and I agree with all removals. +1 for getting it merged.
@@ -239,8 +248,8 @@ | |||
</repositories> | |||
|
|||
<scm> | |||
<connection>scm:git:git://github.com/jenkinsci/backend-update-center2.git</connection> | |||
<developerConnection>scm:git:ssh://git@github.com/jenkinsci/backend-update-center2.git</developerConnection> | |||
<connection>scm:git:git://github.com/jenkins-infra/update-center2.git</connection> |
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? :)
4b416e0
to
6e3e332
Compare
FTR no need to panic:
|
It looks like my testing of fastjson output compatibility was incomplete and the library generates float numbers different from what Jenkins core writes out as the 'canonical' form (json-lib), resulting in checksum errors. Very small numbers are written in scientific notation in both json-lib and fastjson, but fastjson uses 'E' while json-lib uses 'e'. Floats without fractional part are written like ints by json-lib, while fastjson writes them with '.0' suffix. This basically means that, without switching out the serialization library, we're unable to have floats in update center data.
Especially now that the wiki is pretty much gone
Oleg mentioned a preference for this to be squashed, so that's how I merged it. |
Large-scale modernization of this tool.
Notable output changes:
aliyun-container-service-deploy
has all of its releases suspended now, so it's gone from update sites.correct_*
checksums and signatures, not the pre-1.433 variant. This means update center output is no longer compatible with Jenkins 1.433 (late 2011)latest/
directory, orplugin-documentation-urls.json
.latest/
directory,plugin-documentation-urls.json
, orlatestCore.txt
.While we remove some redundancy, I checked what files are required for things to continue working, and they are still being created:
update-center.*
files andlatestCore.txt
latestCore.txt
still existsstable
sitelatestCore.txt
still existsupdate-center.*
still exist (also needed for actual Jenkins)release-history.json
still existscurrent
update siteplugin-documentation-urls.json
still existscurrent
update siteplugin-versions.json
still existsOther changes:
It's running experimentally at https://trusted.ci.jenkins.io:1443/job/update-center2 from the origin branch with the same name, and completes a full run (except publishing/rsync) in ~45 seconds.