-
Notifications
You must be signed in to change notification settings - Fork 63
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
Use tito for builds and share the actions #2956
Conversation
/packit build |
Looks like it's failing on the explicit
|
Yes, that's what tito does. If you do |
@praiskup Good to know. How should I incorporate this with the existing |
Good question, but dunno :-) when I tested such a generated tarball, it seemed correct to me (the correct version was dumped into the archived |
It rather feels like the spec file generator and tarball generator are too disconnected; tarball is correct, but the |
d4ede76
to
4a17dbe
Compare
Well, if this fixes the problem ... but I'd be much more happy if we well-integrated Tito into packit, and we could use the tito versioning scheme. It is mostly cosmetics, but if someone is used to work with Tito, having completely different versions feels weird. |
common/python-copr-common.spec
Outdated
@@ -16,7 +16,7 @@ | |||
%endif | |||
|
|||
Name: python-copr-common | |||
Version: 0.20.1.dev1 | |||
Version: 1.130 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird ... :-) this seems like cross-package version leak
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ups, I didn't want to commit this...;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, that was tito who committed that... I should be more careful about playing with that..;)
Yes, it would be better. I thought that Also, I didn't find a way how to update |
4a17dbe
to
bf1a701
Compare
OK, I've changed the approach to reading the version from the specfile so I don't need to change anything. Packit will just edit the release field. I hope this is fine. |
I think we should create a dedicated command in Tito for this, if there's no such command, yet.
Well, Tito never touches the files in the current git repo, unless you do a new release (in which case it is not a temporary change, but a committed change). Do you want just a temporary local change? (not sure Tito knows this, @FrostyX?). Tito normally modifies the file "on the fly" while generating the distribution tarball, in a temporary directory. |
Not sure. The tarball generated by tito will have a bumped version in |
We have |
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Packit updates just the release field. Signed-off-by: Frantisek Lachman <flachman@redhat.com>
7b58166
to
71140fe
Compare
/packit build |
Ok, after the Monday meeting, I think this is much better than before. We basically checked that both Can't this be merged? |
Still in progress after several days. Is this a new bug? I thought this should have been fixed already. |
I need to take a look but it looks to me like we've hit a project limit for GitHub interactions since the build itself went well. |
/packit build |
Looks like it was really a flake. |
Nice! Thank you. |
No description provided.