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
YAML based LTS changelog #661
YAML based LTS changelog #661
Conversation
so wait, can we merge this or not? |
I wanted to propose structured changelog format myself so I really like this. How about the weekly changelog? Since I process them automatically, I would appreciate if the switch is fast and done on both places. |
content/_data/changelogs/lts.yml
Outdated
pull: 2674 | ||
- type: bug | ||
message: Properties were _not_ passed to Maven command by Maven build step when the Inject Build Variables flag was not set | ||
issue: 39268 |
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.
Imo we should use JENKINS-39268
here.
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 grepped the weekly changelog and found 0 referenced to other projects JIRAs. So I guess this is not such a problem after all.
@olivergondza @daniel-beck Advantages of Markdown:
|
Off-topic: Here is an example of remoting changelogs PoC:
|
It seems to me that using @daniel-beck, wdyt? |
The major challenge here is moving the content over. If I somehow manage to show output for a combined new YML changelogs / old HTML changelogs output, this should be trivial. If we need to convert everything before switching over, this is going to be more difficult.
I wanted an actual data format here, without it concerned about the (vast majority) of semantically useless URLs. That's why So, why allow top-level |
Alright, I do not feel strongly here.
I always hated to write in the old format so getting rid of it for new weekly releases as well seems worthy. There is no need to complicate things too much transcribing the old changelogs. How about hardcode the old entries as HTML into page so new releases would be generated and old ones will be presented as written? We can hurry the outdated changelog entries archiving too in case it will cause problems or look strange. |
That's what I meant when I wrote combined … output. I'll look into this. |
@oleg-nenashev @olivergondza The current state of this PR is 2.32.x in YAML, older changelogs kept as HTML. For me locally, I see no difference in output between the live site and mine (except that the security advisory link itself is also bold now…). This could be merged as is, but would of course result in a disparity between weekly and LTS changelogs. Please note that format to changelog.html in jenkinsci/jenkins need @kohsuke to adapt his script, unless we just retire that file (importing old content into the site) and write to |
Is it just marking the trunk changes as released and adding the empty trunk section? In case that is all retiring sounds quite possible to me. |
I think it is important to move both changelogs at once to simplify the maintenance.
+1. We do not really need that logic |
@oleg-nenashev @olivergondza I'd be happy to do both at once, but I need to know the following: Where do we want changelog.yml to be located? changelog.html's content will move here, it's an archive of sorts -- like changelog-stable.html after this PR. A skeleton changelog.html will remain in jenkinsci/jenkins for a bit, to not break the release scripts until they can be adapted. But changelog.yml? For the following reasons I strongly recommend we put it here:
|
@daniel-beck, agree with that. AFAICT, stable changelog is hosted in jenkins-infra/jenkins.io solely for a long time (changlog.html exists in stable branches but noone touch it). I have a good experience with automation generating changelog to be tweaked a bit by human before publishing. I guess we can do something similar, extract all issues/PRs and put it in the yaml and submit PR. Then we will review/adjust where needed and merge. |
Do we need to get further community input for this decision, or can we implement this and just announce? FWIW since 2.0 in April last year (the current changelog.html), out of ~350 changes, around ~20 were not authored by Oleg or me based on some creative grepping of |
@daniel-beck I think the three people involved in this PR are the three primary contributors to the changelogs and I doubt anybody will mind having a better way of managing this 😄 I say go for it! |
@oleg-nenashev @olivergondza I migrated the weekly changelog in #666. Approve and we can get this done this weekend! |
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.
Looks good to me. Definitely it's better than HTML
- else | ||
, | ||
- if reference.issue | ||
%a{:href => "https://issues.jenkins-ci.org/browse/JENKINS-#{reference.issue}" }<> |
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.
The logic here should ideally check a custom prefix (e.g. "SECURITY"), but not required right now
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.
We don't have separate changelog entries for security vulnerabilities (instead we link to the advisory), and the rare references elsewhere can be done with full URL and label.
Closing this in favor of #666 |
Making the changelog less… HTML.
@olivergondza @oleg-nenashev WDYT?