mirror of
https://github.com/thegeeklab/git-sv.git
synced 2026-04-26 10:45:49 +03:00
[GH-ISSUE #119] Showcase how to create an up-to-date pending changelog #5
Labels
No labels
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sv#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pat-s on GitHub (Oct 18, 2024).
Original GitHub issue: https://github.com/thegeeklab/git-sv/issues/119
Not a request, just some thoughts (that could potentially be a nice addition to the README):
git sv release-notescreates the currently pending changelog for the next upcoming version.In the current CI runs of this repo there is already a step that generates those (
github.com/thegeeklab/git-sv@647aa9cf53/.woodpecker/build-package.yml (L20-L25)) but only publishes them on atagevent.Arguably, a pending changelog that is somewhat visible and easy to find while at the same time unintrusive can be beneficial for certain projects. I was thinking about this coming from the
plugin-release-ready-goplugin. I like thatgit-svis a lot more lightweight and doesn't keep a static PR that even triggers allpull_requestworkflows by default.A middle-way between a static PR and local invocation could be to have a dedicated pipeline (instead of a step) that just
cats the pending release notes.I don't see an easy way to dynamically infer the link to the respective latest pipeline execution (to add this then to the README), so the README would likely need a statement like "for the pending changelog, visit the "changelog" pipeline of the most recent CI run of the main branch").
PS: very nice work overall! 👍️
@xoxys commented on GitHub (Oct 20, 2024):
Personally, I would use an issue e.g. something like the renovate dashboard to always show the upcoming release changelog but I dont think I would like to implement it for this repo.
@pat-s commented on GitHub (Oct 20, 2024):
An issue would be neat indeed. I also thought about this but had the impression that this tool wants to avoid forge-specific code/actions and aims to only interact with the local git information. Which is why I focused on the "link to the latest CI run" idea.
But yes, I also think that this would be great. It would also solve the issue of the
plugin-ready-releaseplugin which always triggers unrelated checks for every changelog update.@xoxys commented on GitHub (Oct 20, 2024):
I don't want to implement it in this repo as, indeed, the tool should stay independent of a forge. My suggestion would to use preferred CI system to update a forge issue on every commit to the default branch.
@xoxys commented on GitHub (Oct 21, 2024):
I'm going to close this issue for now. If you have built something like that and want to document it, I'm happy to add it to the readme. Hope that's fine for you.
@pat-s commented on GitHub (Oct 21, 2024):
Here's an example of a generic solution that can be c/p in any (Forgejo/Gitea) repo. It is also CI agnostic, thanks to
git-sv, of course.A similar solution can easily be created for GH, maybe you're motivated to do so?
Examples for both GH and Gitea in the README would be a great addition, I think.
@pat-s commented on GitHub (Jan 18, 2025):
Forgot that the repo was private and is meanwhile deleted. Here's the example in text: