Mailinglist Archive: opensuse-buildservice (306 mails)
| < Previous | Next > |
[opensuse-buildservice] Change in behavior of --prefer-pkgs with multiple packages with same name
- From: Luke Imhoff <luke@xxxxxxxx>
- Date: Fri, 15 Jan 2010 14:16:06 -0600
- Message-id: <1263586566.2332.224.camel@cerberus>
In 0.119.6, if there were two rpms with the same name given with
--prefer-pkgs, then the second rpms mentioned won:
first_path/
foo-1-1.rpm
second_path/
foo-1-0.rpm
are passed to
osc build --prefer-pkgs first_path --prefer-pkgs second_path
foo-1-0.rpm wins. However, after upgrading to osc 0.123, foo-1-1.rpm
wins because it has a newer release. The problem with this comes in
that there is no way to actually prefer an older rpm. An 'older' rpm
may be preferred if the user has a server built rpm
foo-version-check_in_count.build_count.rpm
like foo-1-16.1.rpm while also having a locally built foo-1-0.0.rpm.
The locally built rpm does not know the check_in_count nor build_count
so it defaults to 0.0 and therefore appears older than the server built
rpm. So, how does the user use his locally built foo-1-0.0.rpm over the
foo-1-16.1.rpm if they are both in local --prefer-pkgs directories?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
--prefer-pkgs, then the second rpms mentioned won:
first_path/
foo-1-1.rpm
second_path/
foo-1-0.rpm
are passed to
osc build --prefer-pkgs first_path --prefer-pkgs second_path
foo-1-0.rpm wins. However, after upgrading to osc 0.123, foo-1-1.rpm
wins because it has a newer release. The problem with this comes in
that there is no way to actually prefer an older rpm. An 'older' rpm
may be preferred if the user has a server built rpm
foo-version-check_in_count.build_count.rpm
like foo-1-16.1.rpm while also having a locally built foo-1-0.0.rpm.
The locally built rpm does not know the check_in_count nor build_count
so it defaults to 0.0 and therefore appears older than the server built
rpm. So, how does the user use his locally built foo-1-0.0.rpm over the
foo-1-16.1.rpm if they are both in local --prefer-pkgs directories?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |