lp:~paul-eggleton/smart/yocto-smart-fixes

Created by Paul-eggleton and last modified
Get this branch:
bzr branch lp:~paul-eggleton/smart/yocto-smart-fixes
Only Paul-eggleton can upload to this branch. If you are Paul-eggleton please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Paul-eggleton
Project:
Smart Package Manager
Status:
Development

Recent revisions

1096. By Paul-eggleton

Print a more friendly error if YAML output is requested without PyYAML

Signed-off-by: Paul Eggleton <email address hidden>

1095. By Bogdan Marinescu <email address hidden>

To fix some multilib issues, change the way the RPM backend decides
if two packages can coexist: if they have a different architecture,
automatically assume that they can coexist (which is fundamental for
multilib).

Signed-off-by: Bogdan Marinescu <email address hidden>

1094. By Bogdan Marinescu <email address hidden>

Improve error reporting in smart

Add code to check proper command line arguments for various
smart commands. Exit with error if erroneous/additional arguments
are given in the command line.

Signed-off-by: Bogdan Marinescu <email address hidden>

1093. By Mark Hatle <email address hidden>

backends/rpm: Fix incorrect call to the match function

The match function should take three parameters, name, comparison, version...
The original code was passing it a reference to the object holding the data
instead, which caused the comparison in match to always fail.

Signed-off-by: Mark Hatle <email address hidden>

1092. By Paul-eggleton

backends/rpm: remove creation of /var/tmp

This doesn't appear to be needed, and breaks installation of base-files
in OpenEmbedded (since that is a symlink installed as part of the
package).

Signed-off-by: Paul Eggleton <email address hidden>

1091. By Paul-eggleton

backends/rpm: fix parsing of rpm-md metadata

If assertions are disabled then the queue.pop() wasn't being executed,
leading to requires, recommends etc. not being read properly.

Signed-off-by: Paul Eggleton <email address hidden>

1090. By Paul-eggleton

backends/rpm: add support for setting dependency flags

This is useful for OpenEmbedded so that we can do the equivalent of
the --nolinktos and --noparentdirs rpm command line options.

Signed-off-by: Paul Eggleton <email address hidden>

1089. By Paul-eggleton

backends/rpm: implement rpm-extra-macros option

Allow defining extra macros in the smart configuration to be passed
to rpm before opening the database.

Signed-off-by: Paul Eggleton <email address hidden>

1088. By Paul-eggleton

Handle recommended packages in core and rpm backends

Identify and store recommended packages in the cache, add a query option
to read them and ignore them if they are not present when installing.

Initial identification code from Mark Hatle <email address hidden>.

Signed-off-by: Paul Eggleton <email address hidden>

1087. By Paul-eggleton

Fix smart RPM backend to handle rpm-dbpath/rpm-root properly

Don't assume that if the dbpath starts with / that it is an absolute
path. This matches the behaviour of rpm itself. (If the root path is
specified and does not start with /, rpm will prepend the root path
twice and fail).

Signed-off-by: Paul Eggleton <email address hidden>

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers