qitoolchain.database – Binary packages storage¶
QiBuild
-
class
qitoolchain.database.
DataBase
(name, db_path)¶ Binary Packages Storage
-
load
()¶ Load the packages from the xml file
-
save
()¶ Save the packages in the xml file
-
remove
()¶ Remove self
-
add_package
(package)¶ Add a package to the database
-
remove_package
(name)¶ Remove a package from a database
-
get_package_path
(name)¶ Get the path to a package given its name
-
get_package
(name, raises=True)¶ Get a package given its name
-
solve_deps
(packages, dep_types=None)¶ Parse every package.xml, and solve dependencies
-
update
(feed, branch=None, name=None)¶ Update a toolchain given a feed
feed
can be: * a path * an url * a git url (in this case branch and name cannot be None,andfeeds/<name>.xml
must exist on the given branch)
-
handle_package
(package, feed)¶ Download if needed and Handle a Package
-
handle_svn_package
(svn_package)¶ Handle an SVN Package
-
static
handle_local_package
(package, feed)¶ Handle a Local Package
-
download_package
(package)¶ Download a Package
-