-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 16 Mar 2021 12:15:31 +0100 Source: mini-buildd Architecture: source Version: 1.9.19 Distribution: experimental Urgency: medium Maintainer: Stephan Sürken <absurd@debian.org> Changed-By: Stephan Sürken <absurd@debian.org> Changes: mini-buildd (1.9.19) experimental; urgency=medium . User summary: * Update sbuild config and setup handling: * New 'Sbuild-Config-Blocks-Top' 'Extra Option': Configure 1st. * New 'Sbuild-Setup-Blocks-Top' 'Extra Option': Run 1st. * "auto-apt-keys": Smartly don't use deprecated 'apt-keys' when possible. * Proper usage help. * "Banner support" (makes mini-buildd's setup sections appear in magic buildlog TOCs) * Moves '15mini-buildd-workarounds' chroot setup script to predefined selectable blocks. * Removes "fix-shm" workaround (not needed for quite some time now -- still available as selectable block, though). * Minor improvements. . Details: * [0491488] net.py (reactor): Add function to get twisted reactor, and use this (not None) for *FromString (fixes twisted client warning). * [aaf2197] Update two left-over uses of deprecated 'ignore- lintian=true'. * [d8fbd74] httpd.py: Events: Call notifyFinish() when connection is lost, don't try to write(). * [670532f] sbuild.py: Add experimental block, trying to re-enable squeeze (debug option only). * [b266e19] includes/mbd_events.html: Fix: migrate, retry, remove should not use action=html (they have no views). * [c916094] sbuild.py: "experimental-squeeze-apt-fix": Fix non-escaped '\n'. * [918bee5] sbuild.py: Copy "15mini-buildd-workarounds" to setup blocks (smoke tested). * [cf5fe93] sbuild.py: Add getter for blocks, with user error handling. * [75716ec] sbuild.py: Properly breakup 15mini-buildd-workarounds into the two workarounds it actually is. * [b26bd7c] builder.py (Build.build): Use new getter for setup blocks. * [df660cd] builder.py: (Update sbuild getter, and) use getter for sbuild config. * [3184240] api.py: Commenting "too much debug" -- enable only when needed. * [8cd9f5d] files.py (PerlModule.add_sbuild_blocks): Add helper to add sbuild blocks. * [b2bba81] builder.py (Build.build): Blocks: Add support for '-Top' variant: config: first in file, setup: run first. * [7f14605] builder.py (Build): Use extra methods to generate setup, config resp. * [2e01021] builder.py (Build): Use class vars for config and setup. * [c1da9db] sbuild.py: codespell: Fix wrong spelling in comment. * [0b2c972] builder.py: Minor cosmetics. * [a0bee9f] builder.py (Build.generate_sbuild_cmd): Put sbuild_cmd generation in extra method, and make class var. * [e27dcbb] models/distribution.py: Blocks: Fix up inline doc for new -Top variant. * [80a00e5] changes.py (Upload.gen_buildrequests): Also loop new -Top through to buildrequest. * [ea1b242] builder.py (Build.generate_config): Always define $path first (use sbuild's default path). * [70eed7d] builder.py (Build.generate_setup): Show sbuildrc 1st, even before -Top. * [bbe1a94] debian/mini-buildd.maintscript: Rm conffile /etc/schroot/setup.d/15mini-buildd-workarounds (now in sbuild setup blocks). * [19be572] models/distribution.py: setup defaults: Use fix-shm, set- check-valid-until for now by default (as before). * [a80ea31] sbuild.py: "ccache" config block: Avoid possible overwrite of unrelated values. * [2822ad9] sbuild.py: Fix typo in comment. * [4be11ce] sbuild.py: Block "fix-shm": Omit CHROOT_PATH, omit function. * [5aca825] sbuild.py: Rename block "set-check-valid-until" -> "disable-*" && use correct env var to make actually work again. * [2717f1e] sbuild.py: "ccache": Don't ignore install errors. * [bf7bc67] builder.py: Merge 'auto-apt-key-workaround' into 'auto-apt- setup' && always only use least outdated variant to add apt keys. * [b807244] Depend on schroot 1.6.10-3, and obsolete setup block 'fix- shm'. * [c1a630e] files.py (File): Support description string per 'File'. * [c3cc4df] files.py (File): Add "banner" (i.e, headline to be easily parsable later) support. Shell scripts only for now. * [b943f7f] sbuild.py: Update all blocks to have a description. * [a04ddf0] builder.py: Update all auto-Blocks to have a description. * [dc875fb] builtins.py (Plain): Add files.py's banners to buildog TOC. * [409efc0] builder.py: Stop generating extra "cat" command (banners now cat themselves). * [dc54042] sbuild.py: Add proper usage (name: description) for blocks. * [532da63] sbuild.py: Use dedicated classes for CONFIG|SETUP_BLOCKS. * [4efcecc] sbuild.py (Blocks): Integrate usage* and get* functions into new generic class. * [018defb] sbuild.py (Blocks): Compute extra_option(s) strings, update usage(). * [de1c2c4] sbuild.py (Blocks): Generalize/fix validation functionality. * [02d3bf1] models/distribution.py (Distribution.clean): Add (config,setup) blocks validation. * [744ce84] sbuild.py: Remove most hadcoded uses of Sbuild-*-Block[-*]. * [ce78d5b] sbuild.py (Blocks): Should rather be OrderedDict, not dict. * [8f92a0c] sbuild.py: Add defaults settings here, and update default setup (no more hardcoded use of Sbuild-*-Blocks[-*] now, albeit doc). * [fd67a10] files.py (ShellScript.add_banner): Put actual banner before cat'ing script. * [9c30ad1] files.py (File): Add "name" option, put "name, description" first. * [6f6cd1e] files.py: Don't add banner in Dir, just produce it on the fly in File.get(). * [bdb3bcd] builder.py (Build.generate_setup): Fix: Duplicate assignment for self.setup. * [b70e06b] files.py: Make "name" mandatory for all File(s). * [191d5eb] sbuild.py (Blocks.add): Add add(), and remove all explicit dict setters. * [17372b0] builder.py: chroot setup commands: Renice directory name to '.setup.d'. * [0c9dbc9] sbuild.py: Derive sbuild.Blocks use files.Dir. * [c442a82] sbuild.py: Move Blocks.get() to Dir.get() (generic). * [2a6cedb] files|sbuild|builder.py: Skip all "prefix support" (basically only makes things complicated and is confusing). * [e3fe15c] builder.py (Build.generate_setup): Update all explicit dict setters to add(). * [39241ed] files.py (File): Update doctests. * [3ff0c0f] files.py (File): Banner support for both, whole file and snippet. * [96fb9b3] builder.py (Build.generate_config): Descriptions for all snippets (instead of verbatim script comments). * [744a6d4] files.py (File.banner): Prefix File.name in default banner. * [e83c1de] files.py (PerlModule): Add "perl banner" example code (commented). * [96dcedc] files.py (File.__init__): Add support to add snippet directly with constructor (most common use case). * [bed4dc3] sbuild|builder.py: files: Update all applicable cases to add snippet directly from constructor. * [c2630ec] files.py (Dir.add): Never override existing (error out). * [e6f45c6] files.py (Dir.add_dir): Add files from another 'Dir' (with optional filtering). * [39f99fe] builder|files|sbuild.py: Refactor, simplify. * [08835fa] builder.py: auto setups: Properly rename show-sbuilrd -> auto-show-sbuilrd. * [8894d59] builder.py: auto setups: Rename auto-https -> auto-apt- https. * [b5c8f89] builder.py: auto setups: Split up 'auto-apt-setup' in 'auto- apt-keys', 'auto-apt-update'. * [92b6762] devel: testsuite: Simplify sequences to be three-digit numbers. * [74f3cfc] models/source.py (Archive.mbd_get_matching_release): Raise proper internal excption when no Release file is found. * [7345fad] models/source.py (Source.mbd_check): No need for extra handling of internal Unauthorized; improve message wording. * [0bc280b] distribution.py: Solve the jessie dilemma ('archive.debian.org' and 'ftp.debian.org' are not the same). * [43256bb] control: Add dep python3-distro-info (for use in distribution.py, import only for now). * [5468203] __init__.py (e2http): Don't always log exception. * [0e0baef] devel: Fix bash-completion for new sequence numbers. * [dbacd28] files.py: File: API update: save_as, update_as, save, update, add dir.update and update all code. Checksums-Sha1: 8e9a1f138d828b4155006bf0957786a5dd25abca 2290 mini-buildd_1.9.19.dsc 99637866faae87a955509ff2fb111dc57147d3f5 462352 mini-buildd_1.9.19.tar.xz 94d87e76e857f6194f0d650f5573a11261cdace1 10694 mini-buildd_1.9.19_source.buildinfo Checksums-Sha256: 9b22ce6f6c0a3ad05fa277b093ea7d82d63472268f1184f9eddcd7b8d0856881 2290 mini-buildd_1.9.19.dsc 088cf625fe353f9fcacf459299ad702cac9d38c8cc381ddbd2de35c6a2f48afd 462352 mini-buildd_1.9.19.tar.xz 5bd8eac6f10a202623ea4a289339db5ce6bd0a11301a961741ef58e010ea5549 10694 mini-buildd_1.9.19_source.buildinfo Files: 8b9a9ec0c4700df48e62211f51949ec1 2290 devel optional mini-buildd_1.9.19.dsc 566b438e751d7ef17c979c5cec66c4ed 462352 devel optional mini-buildd_1.9.19.tar.xz 17c51bd2327852948ad8a2d47a1a7a9d 10694 devel optional mini-buildd_1.9.19_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEVOttCJ+jfBmmRZCzBm3oAX4rYdkFAmBQlxYSHGFic3VyZEBk ZWJpYW4ub3JnAAoJEAZt6AF+K2HZ1KAP/ivgKszZ3/ZgxexOSCRuxj3s39+qE8LX 8q0XaqJ+0wkEB1p8+Q+cVqvkla9hK9PxxjiQvgDs5hCFwzO+hZ9syTCKztlo7ZUH 6L6E0NaUJVz03EqF3w80/5kqGj2vPN12qh3R63InGVjI20WPyXL68wd5RbDvPjG0 lW6/s+yUzSgvzYZvJVr0EN46dGrRBZeY+IIlOVIcbtVj8QR77wMWeRVkCJLUx5Qq xnk7ohRxlEhryiq88LPpwP7YHM5Yd+SUXvgJU9bTSWHe6sDMqMyDNUqggvOvzblV kGgQXItTb7zynM/+UfYZuqLIjSNiRBw0I9BPIjXsND3zdcP7eqtra8g0oHqDugB2 nUdyXNqsMfYdAFXP7o0O7UJaajf7pTLp0S1hMVzRiSHdBnZFrjqT6T76L7qLA4lw 0c4l/qQv0WJ7KHsJNd2eKwIKjSgBGa9NTe5VS9VJiXcA1nue8IK+l205AQ57EVQR p4Msuk0KfLALtu0HsCtbPiEe0vdj6HelFb9GSphjwsIdzGjV14LougB/w8edLtjQ AXKGMQ+UY5zsy+Lq70rFjKLENr/zSGhiL6QctINLrRtCgBzMbwexZ0iSAvs5y93v evw8BnIA0WnlGjn67X1T/KOv5mGtnjlX2M+islot0oLFmRfU6ZfXwyobWWQ9Obe6 fZISIEadFTzr =AmpP -----END PGP SIGNATURE-----