-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packit doesn't perform koji_build when only the release is bumped while using %autorelease #1918
Comments
I am a bit confused about why you want to add a new release with no changes. Is it to make sure that it pulls the latest How about But about |
We have discussed via chat that the builds can still be retriggered via dist-git PR comment or via CLI locally as @LecrisUT mentions. Can this issue be closed or do we want to discuss anything else here? |
@LecrisUT Yes, it could be related to the As @lbarcziova mentioned, there are other possibilities of manual triggers, which are fine with me. I'm okay with closing. |
What about this ☝️? This is unexpected behaviour |
What part do you consider the unexpected behaviour? (We have the behaviour of the koji builds explained in the docs) |
Ok I see @ljavorsk. You have not set yourself as Otherwise, just to confirm that pushing an empty commit still triggers the build if |
No, as per the documentation, there needs to be a spec file change so that Packit reacts to a commit. |
Hmm, that is an undesired behaviour when we have |
On second thought... I think that Packit should trigger a build after a non-spec file change (in case |
Discussion outcome:
TODO:
|
My understanding of autochangelog is that those comments will be used until a new change in Also, I do thing this could be a positive.
I think it is also discouraged to use git tags on fedora. But what about file changes? |
According to the documentation, only the first line of a commit message is added to the changelog, following lines are added only if they start with |
Hi, are there any updates on this issue? |
Hi @ljavorsk ! Sorry, totally missed the comment. We haven't planned this issue yet, but I think we should think about the |
I wanted to bump the version of my package, but since the package uses the %autorelease the only thing to do is to create an empty commit.
However, Packit watches for the spec file changes and it didn't get any from my release bump.
That results in no action from the Packit Bot.
Would it be possible to implement this into Packit?
If the
%autorelease
is present in the.spec
file the user could add some line to the commit like:-- Perform Packit koji_build
I know I could have triggered it by just adding an empty line to the spec file but I don't like adding empty lines to my spec file, I would rather add some line to the actual commit.
The text was updated successfully, but these errors were encountered: