summaryrefslogtreecommitdiff
path: root/mdbp/pbuilder.py
AgeCommit message (Collapse)Author
2022-09-21pbuilder: generalize hook support codeHelmut Grohne
2021-07-10pbuilder: fail when apt-get update failsHelmut Grohne
2021-07-10pbuilder: uninline a function for locating the base.tgzHelmut Grohne
2021-07-08uninline helper function temporary_static_fileHelmut Grohne
2021-07-06pbuilder: rewrite cmd.extend sequence as listHelmut Grohne
2021-07-06pbuilder: implement support for build_pathHelmut Grohne
2021-07-06pbuilder: use an ExitStackHelmut Grohne
Doing so bears three advantages: * Adding more context managers - especially conditional ones - becomes easier. * Context managers can be delayed until the point where they're actually needed without adding to indentation. * We get rid of two local variables. Less state in your head.
2021-06-24rename a number of fields to become similar to debusineHelmut Grohne
debusine describes a PackageBuildTask in docs/devel/ontology.rst. Changes performed herein: * dscpath -> source_package_path * dscuri -> source_package_url * buildarch -> build_architecture * hostarch -> host_architecture * options -> build_options * profiles -> build_profiles * buildpath -> build_path
2021-06-15allow passing custom options to pbuilder and sbuildHelmut Grohne
2021-05-27prefer subprocess.call over subprocess.runHelmut Grohne
Avoid pylint complaining and we don't need the CompletedProcess object.
2021-05-27pbuilder: allow missing .lintian in jsonHelmut Grohne
Fixes: 65431c5ef882 ("pbuilder: support running lintian")
2021-05-27add new field .output.artifacts to schemaHelmut Grohne
Using the field you can specify an ORed set of positive glob-style patterns for artifacts to retain in the .output.directory. It defaults to including all artifacts.
2021-05-19pbuilder: support running lintianHelmut Grohne
2021-05-19pbuilder: always update and upgrade the chrootHelmut Grohne
2021-05-18enable building a source package by name and versionHelmut Grohne
If a package is specified by name, it is downloaded inside the chroot using the embedded deb-src uris. sbuild implements this natively, pbuilder does not implement this yet, but there is #988419 and mmdebstrap can make it work.
2021-05-09the stdout fd contains the build logHelmut Grohne
Using a pipe enables streaming of logs, which would not be possible with a regular file output.
2021-04-23pbuilder: pass --no-source-only-changesHelmut Grohne
Neither sbuild nor mmdebstrap produce a source changes file by default. Skipping it for pbuilder improves consistency.
2021-04-23remove redundant values from schemaHelmut Grohne
The bd-uninstallable-explainer value null is equivalent to skipping the option and thus dropped. The network value "undefined" is equivalent to skipping the option and thus dropped. Reported-by: David Kalnischkies <donkult@debian.org>
2021-04-22forward exit codeHelmut Grohne
2021-04-18initial checkin of mdbpHelmut Grohne
Proof-of-concept status. Some things work.