libka.ironhand namespace¶
Submodules¶
libka.ironhand.ka_iron_hand module¶
This module just provides the KAIronHand class.
- class libka.ironhand.ka_iron_hand.KAIronHand(release_type, version, archive_name, dist)[source]¶
Bases:
objectThis class is meant to provide one or several graph types for the given release type.
- Parameters:
release_type – must be “qt”, “frameworks”, “plasma” or “applications”
version – the version in ka-metadata/versions.json
archive_name –
it can be either None, “staging” or “ubuntu”
None will not retrieve any info from Launchpad (only use it if you just need a build_depends graph),
”staging” will retrieve information from the default staging PPA for release_type,
”archive” will retrieve information from the Ubuntu archive.
dist – is the distribution name: focal, bionic, groovy …
- execute()[source]¶
Retrieves all the needed package information from Launchpad and performs all the operations to get the graphs and/or retry builds.
You can access the resulting graphs with the get_graphs method from this class.
- login()[source]¶
Mehod to log in into Launchpad anonymously. This is probably the first method you should call before doing anything else.
- set_graph_types(graph_types_list)[source]¶
Sets the graph types to render, takes as an argument a string list with the kind of graphs to render, current supported types: * “build_depends” * “build_status” * “proposed_migration” * “retry_builds”
libka.ironhand.ka_iron_hand_conf module¶
This module just provides the get_ka_iron_hand_config_parser() function.