Open xsuchy opened 11 months ago
@xsuchy Actually, the default behaviour taken from the upstream is just a really simple git format you can easily reuse in the action.
cmd = [
"git",
"log",
"--no-merges",
"--pretty=format:- %s (%an)",
commits_range,
"--",
]
But that's probably not what you want if I understand your ask -- you want to edit the changelog interactively, don't you? (You don't know beforehand what edits are needed.)
If that's the case, then the ideal solution will be to let you push to the PR what is discussed in https://github.com/packit/packit/issues/2078 (Sadly, Pagure does not support edits by maintainers directly.)
I agree the comment might be more convenient but am a bit worried if more people will use this and also about the formatting.
One more thing about formatting is that originally, we wanted to mimic the CLI UX when providing the comment commands which this doesn't fulfil. On the other hand, requiring some escaping is a pain.
I was also thinking about something like GitHub/GitLab suggestions in file comments, but this looks more and more like functionality that should be covered by the git forge (i.e. Pagure) and not by us.
Description
I was using pull-from-upstream and I fighted with %changelog. First I had
But it is far from great changelog. I would like to edit it. I have option to fine-tune
changelog-entry:
but that is not the way in my case as I want to e.g. delete one line, and only once. Or I can clone the PR branch, edit it, commit, push (ahhhh, pain).What I would find convenient is to put comment in PR with:
and Packit then edited the PR for me. Resulting with:
Benefit
Mirek will be happy. Other users will be happy too.
Importance
No response
What is the impacted category (job)?
Fedora release automation
Workaround
Participation