Skip to content

Conversation

palas
Copy link
Collaborator

@palas palas commented Sep 11, 2025

Currently the cardano-api repo has 4 projects in it, and the generate-pr-changelogs.sh script collects them mixed, this makes it hard to create independent changelogs for each of the projects.

This PR takes advantage of the projects field if available, and it classifies the change log entries in separate lists for each of the projects in the entries listed.

  • If a project doesn't have a project specified it will be classified under Project not specified
  • If a project has several projects specified it will be classified under each of them

See this related PR: IntersectMBO/cardano-api#950

I recommend looking at this PR by disabling whitespace changes.

@palas palas self-assigned this Sep 11, 2025
@palas palas changed the title Classify PRs using project field Classify PRs using .projects field Sep 11, 2025
Copy link

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

Can you first confirm with a previous release that this generates the same change logs?

@palas
Copy link
Collaborator Author

palas commented Sep 15, 2025

Can you first confirm with a previous release that this generates the same change logs?

I've checked and it seems to work. I tried it for 10.16.0.0, and it produced the same exact entries that are in the changelog.md for that release. With the difference now it writes them under ## Project not specified.

@palas palas merged commit 7a4c9f1 into main Sep 18, 2025
@palas palas deleted the add-projects-to-pr-gathering branch September 18, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants