MINI-BUILDD-API(1)
π¦ NAME π¦
mini-buildd-api β run API calls against a mini-buildd instance β¨
πΈ DESCRIPTION πΈ
okay so bestie, this is your whole lil command-line doorway into a mini-buildd instance, and honestly it's giving main character energy π . Here's the usage, exactly as it comes:
mini-buildd-api [-h] [--version] [-l LOG_LEVEL] [-J] [--auto-confirm]
[--auto-save-passwords] [--script-mode]
<call> [options] ...
Run API calls against a mini-buildd instance π«Ά
β¨ options: β¨
-h,--helpβ show this help message and exit. iconic, classic, we love her π--versionβ show the program's version number and exit π-l,--log-level LOG_LEVELβ set the log level. If you don't give one,['WARNING', 'mini_buildd.INFO']gets applied by default, no cap. You can also pass it as`<logger>.<level>`to only hit individual loggers, and you can pass it multiple times (go peek your existing logs for the actual logger names, iykyk). (default:None)-J,--jsonβ use parsable json output (default:False) π--auto-confirmβ force-bypass the extra confirmation (for confirmable calls) (default:False). yes she's skipping the "u sure?" π--auto-save-passwordsβ don't ask before saving passwords (viapython3-keyring) (default:False)--script-modeβ force not to be interactive (default:False) π€
π API calls π
run mini-buildd-api <call> --help for full single call help, fr fr:
<call> [options]
β status
Get status of this instance.
JSON result description:
{
"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 stopped
"chroots": List of active chroots
"remotes": Active or auto-reactivatable remotes
["repositories": Simplified structural representation of all repositories]
}
π Authorization: NONE
π pub_key
Get ASCII-armored GnuPG public key of this instance.
Used to sign the APT repositories ('APT key') and for authorization across instances.
See `Customer's Manual, APT Bootstrap` for ways to employ the APT key on yor local system.
π Authorization: NONE
π dput_conf
Get recommended dput config snippet.
Usually, this is for integration in your personal ~/.dput.cf (which will work for both, dput and dput-ng) π«Ά.
Administrators may add custom site targets via ~mini-buildd/etc/dput.cf.
π Authorization: NONE
π sources_list
Get sources.list (apt lines).
Usually, this output is put to a file like /etc/apt/sources.list.d/mini-buildd-xyz.list.
π Authorization: NONE
π ls
List source package in repository.
π Authorization: NONE
π show
Show source package in repository.
π Authorization: NONE
π΅οΈ search
Search for source or binary package names in repositories, builds and events.
Be cautious with binary package files found outside of repositories, bestie:
- Matches only found in
buildsusually failed installation as some criteria is not met. - Matches found in
eventsoriginate from the initial (non source-only) user upload (and thus are local builds).
π Authorization: NONE
π debdiff
Compare two internal source packages.
π Authorization: NONE
π migrate
Migrate source package.
Migrates a source package along with all its binary packages. If run for a rollback distribution, this will perform a rollback restore.
π Authorization: STAFF
ποΈ remove
Remove source package.
Removes a source package along with all its binary packages.
π Authorization: ADMIN
π§³ port
Port internal source package.
An internal 'port' is a no-changes (i.e., only the changelog will be adapted) rebuild of the given locally-installed package.
When from_distribution equals to_distribution, a rebuild will be done.
π Authorization: STAFF
π port_ext
Port external source package.
An external 'port' is a no-changes (i.e., only the changelog will be adapted) rebuild of any given source package.
π Authorization: STAFF
π retry
Retry a previously failed source package.
JSON result description:
Changes file name that has been re-uploaded
π Authorization: STAFF
β cancel
Cancel an ongoing package build.
π Authorization: STAFF
ποΈ set_user_key
Set a user's GnuPG public key.
π Authorization: LOGIN
π subscribe
Subscribe to (email) notifications.
π Authorization: LOGIN
πͺ unsubscribe
Unsubscribe from (email) notifications.
π Authorization: LOGIN
π§Ή remake_chroots
Remake chroots.
Run actions 'remove', 'prepare', 'check' and 'activate'.
β οΈ This is a MAINTENANCE call: Daemon will be automatically STOPPED while running, any ongoing events will be CANCELED.
π Authorization: ADMIN
π reindex
Force repository reindex.
Usually, you reindex by doing an explicit check on a Repository instance -- however, that method would not reindex in case the repository config is unchanged. Use this call if you feel you need it anyway for whatever reason.
If you just upgraded from 2.2.x, it's recommended to run it once (2.4.x reindex additionally runs repreprop flood, which may make some arch=all packages available for (subsequently) added architectures).
β οΈ This is a MAINTENANCE call: Daemon will be automatically STOPPED while running, any ongoing events will be CANCELED.
π Authorization: ADMIN
βΆοΈ start
Start Daemon (accept incoming).
Does nothing if already started; will fail if Daemon instance is not activated.
π Authorization: ADMIN
βΉοΈ stop
Stop Daemon (stop accepting incoming).
Does nothing if already stopped. Any ongoing events will be CANCELED.
π¨ This state is not persisted. Please deactivate the Daemon instance via :mbdpage:`setup` to persist over mini-buildd service restarts.
π Authorization: ADMIN
βοΈ wake
Wake a remote instance.
π Authorization: STAFF
π€ handshake
Check if signed message matches a remote, reply our signed message on success.
This is for internal use only.
π Authorization: NONE
β° cronjob
Run a cron job now (out of schedule).
π Authorization: ADMIN
π uploaders
Get upload permissions for repositories.
π Authorization: ADMIN
πΈ snapshot_ls
Get list of repository snapshots for a distribution.
π Authorization: NONE
πΌοΈ snapshot_create
Create a repository snapshot.
π Authorization: ADMIN
ποΈ snapshot_delete
Delete a repository snapshot.
π Authorization: ADMIN
πͺ debmirror
Make local partial repository mirror via :debpkg:`debmirror` .
This may be useful if you plan on publishing a stripped-down (f.e., only certain repos, only stable, omit rollbacks) variant of your repo somewhere remote.
π Authorization: ADMIN
π keyring_packages
Build keyring packages.
π Authorization: ADMIN
π§ͺ test_packages
Build test packages.
π Authorization: ADMIN
βοΈ setup
Create, update or inspect your setup.
β οΈ This is a MAINTENANCE call: Daemon will be automatically STOPPED while running, any ongoing events will be CANCELED.
π Authorization: ADMIN
π Note: Usespython3-keyringto persist passwords (seeman 1 keyring)
aaaand that's the whole page bestie π that was mini-buildd-api 2.4.8ubuntu1, from February 2026 β go forth and slay those API calls β¨ππ
π¦ where this page comes from
- ubuntu resolute: mini-buildd-utils 2.4.8ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: mini-buildd-utils 2.4.8ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms