File: sbuild.rst

package info (click to toggle)
debusine 0.14.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,200 kB
  • sloc: python: 195,951; sh: 849; javascript: 335; makefile: 116
file content (48 lines) | stat: -rw-r--r-- 1,188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.. task:: Sbuild

Sbuild task
-----------

Regarding inputs, the ``sbuild`` task is compatible with the ontology
defined for :task:`PackageBuild` even though it implements only a subset of
the possible options at this time.

Currently unsupported :task:`PackageBuild` task keys:

* ``host_architecture``
* ``build_options``
* ``build_path``

Output artifacts and relationships:

a. :artifact:`debian:package-build-log`: sbuild output

   * relates-to: ``source_artifact``
   * relates-to: ``b``

b. :artifact:`debian:binary-package`: one for each binary package
   (``*.deb``) built from the source package

   * relates-to: ``source_artifact``

c. :artifact:`debian:upload`: ``b`` plus the right administrative files
   (``.changes``, ``.buildinfo``) necessary for its binary upload

   * extends: ``b``
   * relates-to: ``b``

d. :artifact:`debusine:signing-input`: the ``.changes`` file ready for
   signing if required

   * relates-to: ``c``

e. :artifact:`debusine:work-request-debug-logs`: debusine-specific worker
   logs

   * relates-to: ``source_artifact``


The task computes dynamic metadata as:

.. dynamic_data::
  :method: debusine.tasks.sbuild::Sbuild.build_dynamic_data