Ubuntu Manpages

mini-buildd-api

Run API calls against a mini-buildd instance

usage: mini-buildd-api [-h] [--version] [-v] [-q] [-J] [--auto-confirm]

[--auto-save-passwords]
<call> [options] ...

Run API calls against a mini-buildd instance

show this help message and exit
show program's version number and exit
increase log level. Give twice for max logs (default: 0)
decrease log level. Give twice for min logs (default: 0)
use parsable json output (default: False)
force-bypass extra confirmation (for confirmable calls) (default: False)
don't ask before saving passwords (via python-keyring) (default: False)

<call> [options]
Get the status of an instance.
JSON Result:
* version
: mini-buildd's version.
* identity
: Instance identity.
* url
: Instance URL (HTTP).
* incoming_url: Incoming URL (currently FTP).
* load : Instance's (0 =< load <= 1). If negative, the instance is not powered on. * chroots : Active chroots. * remotes : Active or auto-reactivatable remotes.
.
Get (ASCII-armored) GnuPG public key (apt key).
.
Get recommended dput config snippet.
Usually, this is for integration in your personal ~/.dput.cf.
.
Get sources.list (apt lines).
Usually, this output is put to a file like '/etc/sources.list.d/mini-buildd-xyz.list'.
.
Show package.
.
Find package.
Like 'ls', but call will fail on no results.
.
List packages (deb or src).
expensive operation - pick <package> and <distributions> wisely.
.
Migrate package.
run for a rollback distribution, this will perform a rollback restore.
__plain__: string: textual migration log.
.
Remove package.
Removes a source package along with all its binary packages.
__plain__: string: textual removal log.
.
Port internal package.
will be adapted) rebuild of the given locally-installed package.
When from-distribution equals to_distribution, a rebuild will be done.
uploaded: list of triples of all items uploaded
.
Port external package.
will be adapted) rebuild of any given source package.
uploaded: list of triples of all items uploaded
.
Retry a previously failed package.
JSON Result:
* changes: Changes file that has been re-uploaded.
.
Cancel a running package build. Authorization: STAFF .
Set a user's GnuPG public key.
.
Subscribe to package (email) notifications.
.
Unsubscribe from package (email) notifications.
.
Create, update or inspect your setup.
Daemon will be stopped while running, and started when finished (i.e., even if it was not running before).
.
Remake chroots.
Run actions 'remove', 'prepare', 'check' and 'activate'.
Daemon will be stopped while running.
.
Power Daemon (incoming) on or off (toggles by default).
.
Wake a remote instance.
.
Check if signed message matches a remote, reply our signed message on success.
This is for internal use only.
.
Run a cron job now (out of schedule).
.
Get upload permissions for repositories.
.
Get list of repository snapshots for a distribution.
dict: <distribution>: [snasphot,...]: List of snapshots for the given distribution.
.
Create a repository snapshot.
.
Delete a repository snapshot. .
Build keyring packages.
uploaded: list of triples of all items uploaded
.
Build test packages.
uploaded: list of triples of all items uploaded
.

Note: Uses 'python-keyring' to persist passwords (see '~/.local/share/python_keyring/')