[PATCH 0/2] Improved autofetch version handling and -a/--add behavior

Martin Kolman mkolman at redhat.com
Wed Aug 21 14:08:35 UTC 2013


The first patch fixes and improves how autofetch handles package versions.
Previously, all packages found in Defines and Requires were considered for
fetching and all version operators (>=,=,<=) were handled as simple =.
This has been fixed and autofetch will now correctly fetch the appropriate
package version specified by the >=,=,< operators =from Koji (if available).
The same works for the RPM cache: if a cached package is outdated,
it will not be used and new package version will be fetched from Koji.
Note that makeupdates will always fetch the newest compliant package version.

The second patch improves how the -a/--add option for manually adding RPMs to the
updates image is handled. Thanks to Ales for improvement ideas and bugreports ! :)
* multiple -a/--add options and -a/--add with multiple paths can now be safely
  used all at once
* relative paths now work correctly
* list of all unique "added" packages is printed to standard output
* manually added packages will not be autofetched, even if the version of the
  manually added package does not match the version range (so that any packages
  can be easily overridden without autofetch interfering)
* if autofetch skips any package due to manual override, name of the package is
  printed to standard output




Martin Kolman (2):
  Handle >=,<=,= for package version
  Fix handling for RPMs added by -a or -add

 scripts/makeupdates | 355 +++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 310 insertions(+), 45 deletions(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list