dput-ng profile options
A minimal dput-ng profile for uploading to a Debusine server is as follows:
{
"allow_unsigned_uploads": true,
"debusine": {
"scope": "debian",
"workflow_data": {
"source_artifact": "@UPLOAD@"
},
"workspace": "developers"
},
"fqdn": "debusine.debian.net",
"incoming": "/",
"meta": "debusine",
"method": "debusine"
}
incoming must be set, but its value is ignored. In addition, either
debusine.workflow or debusine.workflows_by_distribution must be set.
Supported options:
fqdn: the host name of the Debusine serverdebusine.scope: the scope to upload todebusine.workspace: the workspace to upload todebusine.workflow: the name of the workflow template to start (configured by the workspace owners, and normally an instance of debian_pipeline); optional ifdebusine.workflows_by_distributionis set)debusine.workflows_by_distribution: a mapping from target distribution names in the.changesfile to workflow template names, as indebusine.workflow; optional ifdebusine.workflowis setdebusine.workflow_data: run-time parameters to provide to the workflow; the string"@UPLOAD@"will be replaced with the artifact ID of your upload
If you are uploading to debusine.debian.net, then these options are set
to reasonable values by default. In some cases you may need to override
debusine.workspace and/or debusine.workflow.
Once #983160 is fixed, you will be able
to set these options on the dput command line. Until then, you will
need to create a configuration file such as
~/.dput.d/profiles/debusine.debian.net.json instead; see the dput-ng
configuration file documentation for
details.