-
Notifications
You must be signed in to change notification settings - Fork 129
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
The tito build --{s,}rpm --test
should have higher NVR than the system wide package
#460
Comments
The 'postX' Version tag allows us to explicitly require a specific pre-release version of mock in a pre-release mock-core-configs Version. The tag can be bumped during the development according to the actual needs. This way of version handling is also a way-around the missing Tito RFE: rpm-software-management/tito#460
The 'postX' Version tag allows us to explicitly require a specific pre-release version of mock in a pre-release mock-core-configs Version. The tag can be bumped during the development according to the actual needs. This way of version handling is also a way-around the missing Tito RFE: rpm-software-management/tito#460
The 'postX' Version tag allows us to explicitly require a specific pre-release version of mock in a pre-release mock-core-configs Version. The tag can be bumped during the development according to the actual needs. This way of version handling is also a way-around the missing Tito RFE: rpm-software-management/tito#460
The 'postX' Version tag allows us to explicitly require a specific pre-release version of mock in a pre-release mock-core-configs Version. The tag can be bumped during the development according to the actual needs. This way of version handling is also a way-around the missing Tito RFE: rpm-software-management/tito#460
FWIW, tito project itself has the problem now:
the version in Copr is 0.6.24-1.fc39 compared to system default 0.6.24-2.fc39 |
Thinking out loud ... so, can we simply automatize the same thing that #480 did? When using |
For me, this is hard to predict. Can we simply try that? Seems like a nice experiment. |
Just tried to chain build the client Copr packages from git-head:
But for the
|
If configured like $ cat .tito/tito.props [buildconfig] test_version_suffix = .tito.git The `tito build --test ...` NEVRA is always higher than the NEVRA of released RPMs. Fixes: rpm-software-management#460
If configured like $ cat .tito/tito.props [buildconfig] test_version_suffix = .tito.git The `tito build --test ...` NEVRA is always higher than the NEVRA of released RPMs. Fixes: rpm-software-management#460
If configured like $ cat .tito/tito.props [buildconfig] test_version_suffix = .tito.git The `tito build --test ...` NEVRA is always higher than the NEVRA of released RPMs. Fixes: rpm-software-management#460
The typical problem I have:
Package
Foo
withVersion: 1.1
andRelease: 1
is tagged toupstream git, and released (to Fedora)
Then
tito build --test ...
works fine because the generated releaselooks like
1.git.3548.f7f3934
. This is fine, because:IOW, the package with
--test
has a higher NVR than the one in Fedora.After some time, the Fedora package gets an asynchronous update by
Fedora community, bumping
Release: 2
(rebuild for GCC bump, e.g.)The
--test
package still provides the same NVR with1.1-1.git.3548.f7f3934
which is though:If the
--test
package is e.g. built n Copr, or locally, it doesn't easily updatethe one installed on the system which complicates testing.
I'm not saying now how to resolve this, or whether we should do it by
default. But it would be nice to have a way to provide a higher NVR than
the one in Fedora somehow. E.g. by bumping the Version? Bumping Release
to
666
? I don't know.The text was updated successfully, but these errors were encountered: