Add option to keep unreleased changes when calling changie batch
#195
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like
Describe alternatives you've considered Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
The alternative you describe is the intended method, appending to a generated changelog is not really feasible as it would require determining where exactly changes should go. And the changelogs don't have any sort of metadata on what sections relate to different kinds or the original times the changes were created. All that metadata is part of the fragment yamls. I can help further if you need it but an append is not feasbile, sorry. |
Beta Was this translation helpful? Give feedback.
-
Hi @miniscruff thanks so much for your feedback! And I totally understand the request was out of scope. I think what would be more feasible perhaps, and correct me if I'm wrong, would be to an optional flag to keep everything in the |
Beta Was this translation helpful? Give feedback.
-
I have considered a keep flag for a little while but was never sure of any particular usage pattern that would warrant using it over slightly adjusting the process to be more inline with the changie expected workflow. Before agreeing to include this feature I would like to know more of your full workflow to see if either it can be adjusted to better line with changie or as a designated alternate use case we should promote as being supported. I always feel weird suggesting you change your workflow but supporting many workflows would be difficult and detract from the aimed simplicity of the project. |
Beta Was this translation helpful? Give feedback.
-
Sure thing @miniscruff, so i have two independent workflows that use For the full implementation, the github actions files can be found at https://github.com/anGie44/terraform-provider-awscc/tree/main/.github/workflows , namely The workaround right now in |
Beta Was this translation helpful? Give feedback.
-
Ok I think I get what is going on. After each pull request is merged, you take that changelog fragment and generate the "next" releases changelog right away. Without committing the deletions of course. You continue to do this, updating that version until you decide to run the release action. This will do the default process and you can then release. Is the intent around To be a little more general, I can see what you are doing, but I need to know why you are doing it. Sorry I should of been more clear on that with my last comment. Also: https://github.com/anGie44/terraform-provider-awscc/blob/60f48c67f2ab712283a9c8ac54cf755f2d991078/.github/workflows/generate_changelog.yml#L28 uses
Including a |
Beta Was this translation helpful? Give feedback.
-
@anGie44 I am going to move this to a discussion and create a ticket for |
Beta Was this translation helpful? Give feedback.
-
@anGie44 v1.3.0 has the |
Beta Was this translation helpful? Give feedback.
-
Hi @miniscruff apologies for not following up here! Thanks so much for moving forward with the discussion and making those enhancements, really appreciate it! Definitely looking forward to using it 🎉 |
Beta Was this translation helpful? Give feedback.
@anGie44 v1.3.0 has the
--keep
option along with a few other additions.