Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-14 | sbuild: run prebuild hooks with network enabled | Helmut Grohne | |
2023-12-11 | ssh: select non-interactive IPQoS | Helmut Grohne | |
Due to the piping, ssh thinks this is interactive and defaults to lowdelay. | |||
2023-04-08 | mdbp-ssh: add option --proxyrepos to forward repositories | Helmut Grohne | |
Given this option, http repositories will be forwarded using a ssh port forward and rewritten such they work on the remote side forwarding their traffic through ssh. | |||
2023-04-08 | mdbp-sbuild: fix extrarepositories | Helmut Grohne | |
2023-02-21 | mdbp-mmdebstrap: handle missing useradd | Helmut Grohne | |
Now that useradd isn't pulled by apt anymore, it's no longer available inside the chroot. Use the outer one instead. | |||
2022-09-21 | add support for hooks | Helmut Grohne | |
except for debspawn | |||
2022-09-21 | sbuild: generalize addition of hook commands | Helmut Grohne | |
2022-09-21 | pbuilder: generalize hook support code | Helmut Grohne | |
2022-09-21 | mmdebstrap: fix last mypy error | Helmut Grohne | |
mypy was failing to infer the type of the dict object and considered it values Any. | |||
2022-09-21 | mmdebstrap: simplify interface of hook_main | Helmut Grohne | |
2022-06-23 | common: rephrase optional import to make mypy --strict happy | Helmut Grohne | |
2022-06-23 | mmdebstrap: don't show a traceback for build failures | Helmut Grohne | |
2022-06-23 | mmdebstrap: add type hints to set_uids | Helmut Grohne | |
2022-06-23 | ssh: use tarfile as a context manager | Helmut Grohne | |
2022-06-23 | mmdebstrap: use Popen as a context manager | Helmut Grohne | |
2022-06-23 | ssh: use Popen as a context manager | Helmut Grohne | |
2022-06-23 | streamapi: use Popen as a context manager | Helmut Grohne | |
2022-04-20 | mmdebstrap: do not use pwd module | Helmut Grohne | |
The pwd module started caching /etc/passwd and fails to notice the user created using useradd. | |||
2021-07-10 | pbuilder: fail when apt-get update fails | Helmut Grohne | |
2021-07-10 | stop using from __future__ import annotations | Helmut Grohne | |
Its future in Python upstream sees uncertain. | |||
2021-07-10 | pbuilder: uninline a function for locating the base.tgz | Helmut Grohne | |
2021-07-08 | uninline helper function temporary_static_file | Helmut Grohne | |
2021-07-06 | pbuilder: rewrite cmd.extend sequence as list | Helmut Grohne | |
2021-07-06 | pbuilder: implement support for build_path | Helmut Grohne | |
2021-07-06 | pbuilder: use an ExitStack | Helmut 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-07-06 | mmdebstrap and sbuild shall agree on what build_path means | Helmut Grohne | |
While mmdebstrap would extract the package precisely to the build_path, sbuild would create a subdirectory <source>-<upstream_version> inside the build_path. Changing sbuild to do the mmdebstrap behaviour looks next to impossible, so this commit changes mmdebstrap to behave like sbuild. pbuilder also allows changing the build_path in principle. The documented BUILDDIR variable works quite similar to the sbuild option --build-path. pbuilder also allows changing the sub directory using the undocumented BUILDSUBDIR variable. That's another reason to do it like sbuild. | |||
2021-07-01 | sbuild: fix quoting of config strings | Helmut Grohne | |
Not escaping a $ would make perl interpolate it at config parsing time. Fixes: 8ea45852d692 ("sbuild: make environment passing work") | |||
2021-07-01 | drop unnecessary execution bit from mdbp/debspawn.py | Helmut Grohne | |
Fixes: c03690f53941 ("implement basic debspawn backend") | |||
2021-06-24 | rename a number of fields to become similar to debusine | Helmut 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-15 | implement basic debspawn backend | Helmut Grohne | |
2021-06-15 | allow passing custom options to pbuilder and sbuild | Helmut Grohne | |
2021-05-27 | correctly handle integer values for .parallel | Helmut Grohne | |
Fixes: 29859ef384a5 ("support a new field "parallel"") | |||
2021-05-27 | prefer subprocess.call over subprocess.run | Helmut Grohne | |
Avoid pylint complaining and we don't need the CompletedProcess object. | |||
2021-05-27 | pbuilder: allow missing .lintian in json | Helmut Grohne | |
Fixes: 65431c5ef882 ("pbuilder: support running lintian") | |||
2021-05-27 | add new field .output.artifacts to schema | Helmut 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-20 | common: simplify code using contextlib.suppress | Helmut Grohne | |
2021-05-20 | schema: fix indentation | Helmut Grohne | |
Fixes: 29859ef384a5 ("support a new field "parallel"") | |||
2021-05-19 | ssh: improve handling of failed builds | Helmut Grohne | |
When the wrapped backend fails, streamapi does not produce an artifact tar on stdout. When this goes missing, we'll see a traceback. Hide that traceback and adapt the exit code if necessary. | |||
2021-05-19 | sbuild: don't just apt upgrade, dist-upgrade instead | Helmut Grohne | |
2021-05-19 | pbuilder: support running lintian | Helmut Grohne | |
2021-05-19 | pbuilder: always update and upgrade the chroot | Helmut Grohne | |
2021-05-19 | sbuild: always update and upgrade the chroot | Helmut Grohne | |
2021-05-18 | mmdebstrap: tell debconf not to generate its database | Helmut Grohne | |
Bluntly copied from pbuilder as it does not seem to cause any problems there. | |||
2021-05-18 | enable building a source package by name and version | Helmut 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-18 | mmdebstrap: reimplement build hook recursively | Helmut Grohne | |
Instead of writing a complex shell script in a limited sub-language of shell, call out to ourselves and implement the build functionality in Python. | |||
2021-05-17 | mmdebstrap: don't keep a lintian.deb either | Helmut Grohne | |
2021-05-17 | mmdebstrap: fix logic error in parent commit | Helmut Grohne | |
Fixes: a5d4cfd4b996 ("mmdebstrap: don't keep downloaded .deb files") | |||
2021-05-16 | mmdebstrap: don't keep downloaded .deb files | Helmut Grohne | |
Since we delete the chroot anyway, there is no need to keep the .debs for the build. | |||
2021-05-16 | mmdebstrap: reorder source unpack vs build-dep | Helmut Grohne | |
By doing the unpack before the satisfying build dependencies, we can point apt at the extracted source package and stop talking about the .dsc file. It also means that we can clean those artifacts earlier. | |||
2021-05-16 | mmdebstrap: allow a PurePath for chdir in priv_drop | Helmut Grohne | |