Skip to content

Refactor CHANGELOG for v0.27#9497

Merged
ahukkanen merged 13 commits intorelease/0.27-stablefrom
chore/v0.27-stable-changelog
Jul 7, 2022
Merged

Refactor CHANGELOG for v0.27#9497
ahukkanen merged 13 commits intorelease/0.27-stablefrom
chore/v0.27-stable-changelog

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

While reviewing the CHANGELOG for v0.27 I found it a bit weird to follow, as we had different sections unordered.

This PR tries to solve that by introducing Categories in the notes. I'm not 100% happy with the result, but I think it improves the readability of the notes.

As a summary, these are the proposed categories:

  1. Upgrade notes: with the commands, as we already do in the Releases page
  2. General notes: important things to communicate to implementers
  3. One time actions: commands to be run on the production database
  4. Scheduled tasks: changes on the scheduled tasks
  5. Changes in APIs: these are for advanced uses of Decidim (such as implementers with customizations or module developers)

The main idea is that I shouldn't need to be jumping between sections, for instance when configuring the scheduled tasks.

I've also tried to simplify and make the wording consistent by changing the person to "We" and also by changing the "As per #XXX ...." to "You can read more about this change on PR XXX."

Testing

With GitHub raw text diff UI is impossible to read this, it's better to read it on https://github.com/decidim/decidim/blob/f9c89fb334298ba4c8a6f0fe84ba92c89b3220c6/CHANGELOG.md

♥️ Thank you!

@andreslucena andreslucena added the type: internal PRs that aren't necessary to add to the CHANGELOG for implementers label Jun 28, 2022
@andreslucena andreslucena force-pushed the chore/v0.27-stable-changelog branch from f9c89fb to 7f32f6d Compare June 28, 2022 10:59
@andreslucena andreslucena changed the title Better formatting for the manual CHANGELOG entries Refactor CHANGELOG for v0.27 Jun 28, 2022
Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andreslucena, great as usual.

I just noticed one formatting error. Content-wise it's all good.

I wasn't quite sure how to format the CHANGELOG honestly, I was trying to "decrypt" from the previous ones but they seemed to have a bit difference in them, so it was a bit unclear to me as well. The content structure felt weird to me too, so great that we can get this improved.

Should we document the instructions somewhere how the CHANGELOG should be formatted? Or are they already somewhere?

andreslucena and others added 2 commits June 29, 2022 11:53
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
@andreslucena
Copy link
Copy Markdown
Member Author

I was trying to "decrypt" from the previous ones but they seemed to have a bit difference in them

As I've mentioned in the meeting, I like to try new things to see what works best 😄

Should we document the instructions somewhere how the CHANGELOG should be formatted? Or are they already somewhere?

I'll add this new structure with the boilerplate to the current CHANGELOG and also to the bin/changelog_generator script so it's already there. I'll open a PR with that.

@andreslucena andreslucena requested a review from ahukkanen June 29, 2022 12:21
@andreslucena
Copy link
Copy Markdown
Member Author

Ready to be reviewed again @ahukkanen

Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added some final suggestions below after testing this in real life and after working with the term customizer upgrade. The might be useful for instance implementors and module developers.

```

#### New Api Documentation engine
### 3. One time actions
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mentioned in the last weekly that you were not perfectly satisfied with this heading. I could not come up with any better either but here are some alternative suggestions that you can consider:

  • Manual chores (or just Chores)
  • Call to action (or CTA or Actions)
  • Configuration
  • Refinements (can be ambiguous)
  • Finalization

Feel free to dismiss if the current one is better. Just tried to come up with some alternatives.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the ones we have. Thanks for the options, though, I'll take this into account in the next release.

andreslucena and others added 7 commits July 5, 2022 09:29
Suggested on code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
@andreslucena
Copy link
Copy Markdown
Member Author

@ahukkanen I've added all your proposed changes already. Thanks for the feedback!

@andreslucena andreslucena requested a review from ahukkanen July 6, 2022 07:12
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
@andreslucena andreslucena requested a review from ahukkanen July 7, 2022 06:10
@ahukkanen ahukkanen merged commit 740fc23 into release/0.27-stable Jul 7, 2022
@ahukkanen ahukkanen deleted the chore/v0.27-stable-changelog branch July 7, 2022 13:13
@alecslupu alecslupu added this to the 0.27.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: internal PRs that aren't necessary to add to the CHANGELOG for implementers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants