DESCRIPTION

usage: mini-buildd-tool [-h] [--version] [-v] [-q] [-O {plain,html,python}]

[-R] [-P {http,https}]

HOST {status,start,stop,printuploaders,meta,getkey,getdputconf,getsourceslist,logcat,list,show,migrate,remove,port,portext,retry,setuserkey,subscription} ...

Command line tool to run API calls.

positional arguments:

HOST

target host, either '[[email protected]]host:port', or '[[email protected]]DPUT_TARGET'

optional arguments:

-h, --help

show this help message and exit

--version

show program's version number and exit

-v, --verbose

lower log level. Give twice for max logs (default: 0)

-q, --quiet

tighten log level. Give twice for min logs (default: 0)

-O {plain,html,python}, --output {plain,html,python}

output type (default: plain)

-R, --reset-save-policy

reset save policy of used keyring (to 'ask') (default: False)

-P {http,https}, --protocol {http,https}

protocol to use. Note: mini-buildd 1.0.x only speaks http -- you may use this in case you have manually set up a https proxy, though. (default: http)

API commands:

  • {status,start,stop,printuploaders,meta,getkey,getdputconf,getsourceslist,logcat,list,show,migrate,remove,port,portext,retry,setuserkey,subscription}

status

Show the status of the mini-buildd instance.

start

Start the Daemon (engine).

stop

Stop the Daemon (engine).

printuploaders

Print all GPG ids allowed to upload to repositories.

meta

Call arbitrary meta functions for models; usually for internal use only.

getkey

Get GnuPG public key.

getdputconf

Get recommended dput config snippet. Usually, this is for integration in your personal ~/.dput.cf.

getsourceslist

Get sources.list (apt lines). Usually, this output is put to a file like '/etc/sources.list.d/mini-builddxyz.list'.

logcat

Cat last n lines of the mini-buildd's log.

list

List packages matching a shell-like glob pattern; matches both source and binary package names.

show

Show a source package.

migrate

Migrate a source package (along with all binary packages).

remove

Remove a source package (along with all binary packages).

port

Port an internal package. An internal 'port' is a nochanges (i.e., only the changelog will be adapted) rebuild of the given locally-installed package.

portext

Port an external package. An external 'port' is a nochanges (i.e., only the changelog will be adapted) rebuild of any given source package.

retry

Retry a previously failed package.

setuserkey

Set a user's GnuPG public key.

subscription

Manage subscriptions to package notifications. A package subscription is a tuple 'PACKAGE:DISTRIBUTION', where both PACKAGE or DISTRIBUTION may be empty to denote all resp. items.

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