-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 06 Mar 2024 14:08:02 +0100 Source: mini-buildd Architecture: source Version: 2.1.12 Distribution: experimental Urgency: medium Maintainer: Stephan Sürken <absurd@debian.org> Changed-By: Stephan Sürken <absurd@debian.org> Changes: mini-buildd (2.1.12) experimental; urgency=medium . Summary: * SQL schema migration support && resp. model cleanup * More improvements for the web interface . Details: [ Gerhard A. Dittes ] * [90e9889] includes/api/base.html: fix (potential) iframe recursion (inside "Setup" area) * [03f316b] static/mini_buildd.css: finetune just everything * [f8314c6] static/admin.css: some button adaption * [658edd8] templates/mini_buildd/includes/range_menu.html: resort "limit" && "before" * [c40ff85] src/mini_buildd/static/icons/api.svg: improve * [75b8b9e] src/mini_buildd/static/icons/setup.svg: create * [08c13e7] src/mini_buildd/static/icons/crontab.svg: create * [f98915f] templates/mini_buildd/base.html: use icons "setup" && "crontab" * [9804da3] Revert "static/mini_buildd.css: make "logged in as 'admin'" visually distinguishable" * [5dd920d] Revert "static/icons/logged-in-as-admin.svg: create" * [833047e] Reapply "static/icons/logged-in-as-admin.svg: create" * [887b345] Reapply "static/mini_buildd.css: make "logged in as 'admin'" visually distinguishable" * [6771dc4] static/icons: some minor adaptions to several SVGs * [d688f72] static/mini_buildd.css: slightly tweak && clean up * [19e125a] static/mini_buildd.css: greatly improve header section's icon hovering * [22e939f] templates/mini_buildd/base.html: extend title of "setup" && "crontab" to be/look always reasonable * [2aff615] templates/mini_buildd/base.html: be more clear about "inspection info" * [ccee634] static/mini_buildd.css: prevent menus from being brightened (on hover) * [f20d3b5] static/mini_buildd.css: kinda revert "inner-focus" coloring * [3faf2b4] static/mini_buildd.css: improve appearance of "inner dt rollbacks" * [decb895] static/mini_buildd.css: improve "URL, CLI, JSON" area * [43ee1f0] static/mini_buildd.css: improve "register user" * [c532757] static/mini_buildd.css: improve "crontab" * [1ce7dca] static/mini_buildd.css: tweak minor things * [b95ee2c] static/mini_buildd.css: improve "Home, Reload, Close"-"button hovering" * [a4bffee] static/mini_buildd.css: crazily fix && improve "buildlog TOC jumps" * [146bdcd] builtins.py: add css classes to better support "toc buildlog jumps" * [6fd75ef] static/mini_buildd.css: make use of new buildlog classes and further enhance "eyecandyness" * [ab24877] static/mini_buildd.css: make sure "popup details" do not exceed their spacial limits * [7e8c3b6] includes/api/base.html: add css classes to address "result title bar" elements * [fc922b6] static/mini_buildd.css: make use of "result title bar" classes && improve * [04e4032] static/mini_buildd.css: enhance distribution snapshot (inner) table * [72a62af] static/mini_buildd.css: do not show close button on "non popup" results * [311dc06] templates/mini_buildd/includes/api/show.html: introduce css class "mbd-api-port" * [dcca5c9] static/mini_buildd.css: improve "port hovering" and stuff like that * [b35edc0] manual/_templates/mbd-sidebar-backlink.html: fix (potential) iframe recursion * [3f6a01b] static/mini_buildd.css: further improve "port hovering" * [0dfbfff] static/mini_buildd.css: bring "UCJ" into line with "port" appearance * [406adb2] static/mini_buildd.css: harmonize cursor style for title bar buttons * [4b85614] mini_buildd/static/mini_buildd.css: minorly tweak some things * [c1a0ec3] templates/mini_buildd/includes/tags/file.html: add some css classes * [6907f6e] static/mini_buildd.css: improve "file" (using newly introduced classes) * [f6e7312] static/icons: brighten a bit more some header bar icons * [4cf3474] static/admin.css: regain bookworm compatibility && finetune * [76cdf69] static/mini_buildd.css: finetune * [66e7ef5] static/admin.css: minorly finetune "django >= 4.x case" . [ Stephan Sürken ] * [8ca34dc] django_settings.py (pseudo_configure): Update doc (emphasize internal-only use) * [fa577db] django_settings.py (pseudo_configure): Extend settings to be able to run 'django admin' calls * [8ec024b] src/makemigrations: Add tool to call ``django-admin makemigrations`` (django SQL migrations) * [e1d8c52] Move ``src/makemigration`` to more general ``django-admin`` * [f81b74b] devel: Add ``makemigrations`` shortcut command && ignore pylint for migrations * [d79db63] devel (mbd_installdeps): Add sqlite3 * [f56b409] migrations/0001_initial.py: Initial SQL migration (``./devel makemigrations``) * [5f1376a] migrations/0002_remove_pickled_data.py: Drop 'pickled_data' field for good (not used since 1.0.x) * [ada3d9a] migrations/0003_remove_daemon_sbuild_jobs.py: Drop unused 'sbuild_jobs' field * [bf47a7a] migrations/0004_remove_distribution_apt_allow_unauthenticated.py: Drop unused field 'apt_allow_unauthenticated' * [a92d960] migrations/0005_remove_daemon_smtp_server.py: Drop unused field 'smtp_server' * [92af936] migrations/0006_remove_daemon_custom_hooks_directory.py: Drop unused field 'custom_hooks_directory' * [7460b39] migrations/0007_remove_auto_reactivate.py: Drop unused field 'auto_reactivate' * [7a9fc92] migrations/0008_remove_daemon_hostname.py: Drop unused field 'hostname' * [693a9ca] migrations/__init__.py: Add "extra options" support for (future) data migrations * [520abe2] setup.cfg ("migration mode"): Add hints on how to taint to also 'pylint' migration code * [b151945] devel (mbd_makedatamigrations): Add shortcut for datamigration (template) * [a7bd5f4] migrations/0009_add_source_extra_options.py: Add explicit fields for all functionality formerly in 'extra_options' * [452814d] migrations/0010_migrate_source_extra_options.py: Migrate 'extra_options' data to new fields * [140e28c] setup.cfg: Update 'pylintgeneratedmembers' * [3e78356] migrations/0011_add_layout_extra_options.py: Add meta_distribtions explicit fields, formerly in extra_options * [8aaccaa] migrations/0012_migrate_layout_extra_options.py: Migrate 'extra_options' data to new field (meta_distributions) * [9cf9b5b] src/mini_buildd/migrations/0013_alter_layout_meta_distributi ons_and_more.py: Allow blank for JSONFields (extra_identifiers, meta_distributions) * [09168ea] migrations/0014_add_distribution_extra_options.py: Add fields for all functionality formerly in 'extra_options' * [59a9cb0] migrations/0015_migrate_distribution_extra_options.py: Add data migration from extra_options to explicit fields * [e9221a5] migrations/0016_add_daemon_extra_options.py: Add custom_archive_origin field from extra options * [e75d378] migrations/0017_migrate_daemon_extra_options.py: Add data migration from extra options * [e574513] migrations/0018_add_chroot_extra_options.py: Add explicit fields for functionality formerly in extra options * [d998b40] migrations/0019_migrate_chroot_extra_options.py: Add data migration for extra options * [6094eec] migrations/0020_add_suiteoption_extra_options.py: Implement "rollback" as explicit field * [8debe98] migrations/0021_migrate_suiteoption_extra_options.py: Data migration for rollback * [adce007] models.py (Source.clean): Fix validator for 'post extra_options' * [1bda586] models.py (Distribution.clean): Fix verification for 'post extra_options' * [4b9e371] migrations/0022_remove_extra_options.py: Remove generic "extra_options" helper field for good * [0b70721] *.py, manual: Fix up various places where "extra options" are mentioned * [555d9e5] webapp.py (WebApp.__init__): Post-fixup ``config.sqlite`` file permissions: 'rw-r' only * [cff052f] share/remove-aptkey-constraints.sql: Drop -- does not make sense after SQL migration in place * [87f02f9] setup.py: Add 'version_py' command (use instead of 'build_py' where only working python is needed) * [61da4a7] models.py (style): Update all models fields to more consistent notation * [e8d6163] *.py (style): Bulk-improve (read- && diffability) various "multiline notations" (multiline str, dict, list) * [5d022b0] models.py: Add ``help_html`` conversion helper && add to all 'help_text' args * [9f23114] src/django-admin: Monkey-patch ``Field.deconstruct`` to ignore 'help_text' changes for migrations * [93951f2] mini-buildd-ssh-uploader-command: Don't run SSH command in shell mode * [ae8b11f] accounts/profile/index.html: Fix doubled title * [bf19397] migrations/0024_remove_daemon_keep_build_results_and_more.py: Drop (unused) fields 'keep_build_results', 'wait_for_build_results' * [46c8604] migrations/0025_remove_daemon_show_last_builds.py: Drop 'show_last_builds': No (longer) used * [a60a1a8] files.py (AptLine.get): Update notation * [a9405ae] files.py (AptLine.get): Quote (with '"') 'suite' part if it contains space * [a6f069e] net.py (Endpoint): Make _url_netloc() public as netloc() * [efce89c] models.py (Repository._mbd_reprepro_conf_distributions): [style] Fix multiline str notation * [59cd27a] models.py (Meta): Consistently use list (not tuple) for options * [65d5d30] models.py (Admin): Consistently use tuple (not list) for options * [d73496e] cron.py (expire_builds): Rather should be daily, not weekly * [c08f9fb] setup.cfg (pylint 3.0): Add exception 'duplicate-code' for "migration mode" * [aab89a5] migrations/0026_rename_show_...: Properly rename three model fields * [917a971] src/django-admin: Ignore arg "validators" for migrations * [a3c8af6] models.py (RegexValidator): Update all 'regex validations' to field level * [da3a970] models.py (GnuPGPublicKey): Use MinLengthValidator on 'key_id' field (instead of overriding clean()) * [626d954] models.py (Source.extra_identifiers): Add per field validator, drop clean() override * [41ecbd1] models.py (RegexValidator): Support 'message' override * [efa52ad] models.py (Archive): Move "trailing slash" validator to field && regex * [e25b653] models.py (Distribution): Update validators for sbuild_config|setup_blocks,chroot_setup_script to field-based * [0ae7dd9] models.py (Daemon): Update validators for ftpd_bind|options to field-based * [a2b99a0] models.py (Source, Distribution): Some bulk field re-order for convenience * [fa41089] src/django-admin (mbd_deconstruct): Also ignore arg "editable" for migrations * [e66e67d] models.py (GnuPGPublicKey): Rather use editable=False than readonly_fields && adapt list_display * [cbbb87d] models.py (Source.Admin): Add meta field "apt line" for list_display * [ebebe03] migrations/0027_source_codeversion_override.py: (Re-)introduce codeversion_override (i.e., now with matching impl) * [67f9141] migrations/0028_migrate_source_codeversion_override.py: Datamigration: Keep old override behaviour for existing instances. * [f121be6] models.py (StatusModel): Rather use _status, not colored_status (renicing admin display) * [39acecf] models.py (Source.Admin): Simplify list_display && search options * [e985511] models.py: Consistently add editable=False for all readonly fields * [15d8e5a] models.py (Model.Admin): For all models: Add "save as" && additional "save buttons" on top * [0eb2e45] models.py (Source, Repository, Chroot): Drop 'magic readonly fields' in favor of appropriate clean actions * [5336688] models.py (Daemon): Fix field order * [10fa1cc] migrations/0029_alter_source_options.py: Drop 'Meta.ordering' for Source * [84ec3d0] models.py (Model.clean()): Consistently drop support for optional arguments (Model.clean() does not use any) * [eda72b3] models.py (Source.mbd_prepare): Rather use full_clean() now we also use per-field validators * [702683a] models.py (doc): Bulk-update field's 'help_text' * [0a20ef9] migrations/0030_remove_suiteoption_auto_migrate_after.py: Drop unused "auto_migrate_after" * [613d692] reprepro.py: Update "reprepro hang" error note * [9a99247] webapp.py: For all django admin calls: Just go with default verbosity (instead of silencing) * [3083bb6] webapp.py (__init__): Improve logging (levels, wording) * [650ce85] django_settings.py: Move 'migration monkey-patching' here (avoids 'missing migrations' warnings on actual migrations) * [2517d62] django_settings.py: Fix/update comment * [18df077] migrations/*.py: Post-drop all "help_text" field args * [0acb6b6] Revert "django_settings.py: Move 'migration monkey-patching' here (avoids 'missing migrations' warnings on actual migrations)" * [59abcc2] devel (pylint): Add extra (automatic) pylint check for migrations (previously ignored/manual only) * [964d795] Daemon (fields identity, email_address, allow_emails_to): Default values per function && post-fix migration code * [65ba60d] devel (mbd_pid): Drop pgrep 'cgroup' support (only works in certain conditions) * [019f238] devel (pgrep helpers): Simplified and more robust support for "pid" and "kill" * [4970e3d] devel (mbd_pythonkeyringtestconfig): Force rc file to be a symlink * [7b0ef21] html (wording): Don't use "View foo" for link titles (just foo) * [e630cfe] html(style): Rather always use '<code>', not '<kbd>' (as replacement for '<tt>') * [d5624d3] api/show.html: Drop redundant "DSC URL" link on version * [f08b1d8] api/show.html: Add pool link * [bd040f3] net.py (Endpoint.geturl): Add support to provide relative URL * [546d884] api.py (Call.url_relative): Add helper function for template use * [b3e7c77] builtins.py: Add custom tag to build absolute URI from relative location * [626b498] api/base.html (URL): Fix URL link && value to use hostname currently used (not the server's canonical hostname) * [01124a7] webapp.py: Only output/log admin call's if log level is >=DEBUG * [b7b705a] models.py (Daemon): Make max_parallel_builds default via function && retro-fit migration code * [127adc6] devel (profiles): Add 'debug_django' profile * [558e3b2] api.py (Ls, Show): Clarify description for 'ls' and 'show' . [ Gerhard A. Dittes ] * [fa32286] src/mini_buildd/static/icons/pool-dir.svg: Create * [3d2d925] templates/mini_buildd/includes/api/show.html: Make use of new "pool icon" Checksums-Sha1: 0177eb8f1c15e48589bdb0b3d64c84e4e7956cfb 2309 mini-buildd_2.1.12.dsc 946956082c6efbcce9bffda519c6949be7a873c5 596040 mini-buildd_2.1.12.tar.xz 63ac6d78bcc642a8709a55e9c57498796cb7b068 12235 mini-buildd_2.1.12_source.buildinfo Checksums-Sha256: d096bc01235dead2722180fae671685120b50e3f375a7ecc8abdc2e5c38a0b76 2309 mini-buildd_2.1.12.dsc 8ba7cf5a3f134dd39cbc5bbbe93101ba98b5a75dc2fd4c859f1e2e867857bf1c 596040 mini-buildd_2.1.12.tar.xz ee98ed6fa0cbeb0b72b956b47749c16466c99d9e2242d9c15aded3a47df4984a 12235 mini-buildd_2.1.12_source.buildinfo Files: 149d94f30dc43acdee38f9be43edf170 2309 devel optional mini-buildd_2.1.12.dsc 0615e07f5e3f430268889993c7d984db 596040 devel optional mini-buildd_2.1.12.tar.xz 8a52d8575cfdeaa85d7ade521bbc8d68 12235 devel optional mini-buildd_2.1.12_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEVOttCJ+jfBmmRZCzBm3oAX4rYdkFAmXobHQSHGFic3VyZEBk ZWJpYW4ub3JnAAoJEAZt6AF+K2HZ+ycQAKuLzJrZZeEC8Qvsvo2q0FY4SbkFxkvh HflHBOAXmEwaA9vafFVGMGOVklGQgIenPXA+hfezcRRRPP0S49rLjF6ovH8QSBki th1G7q8DatxX9VSVfM+kzwRj+cwmlsyxBezFFQ14ZLQgFd8anNOgqe/4L2xVbfZx 8pyAuxEOZROe1l8JSktDhRgxuUOMpZDlujs7/RcINaRR1P5kB6PD+x4dotkdsz3K XXQurtyiOy622u390ndNjcg+YJHniVBxh54+wkOUXr11T5hq0mGV8h9baVGcrRdi N9d0eGVK8C4PX7/4fcd8nYTlaj7cpG2C+fIXHcy15iNzlVUZE9xAK7Df+82cTM5s XivI90K1+tSFILThoUzwphaTM/zLb0htN80p9BoN0AaL3xDNfUW9FRwV2FaodAi9 ekDTd2ISRNEzABbpLOEzBni3sG3SoCaMDzmuE5BRcEa5goSdSL0oaxZvYzRZgXi/ wDq+FeUWZf9XnAhAbkwTd7TJsK4At7OaZqDzCB5T3ORXudlIKhR0Y2lg2VRhPA9y F6xl7y6k+IyFleVaHYSF9cLoA9NXnRNqVmEYKgLwK4qlTqhJNeU9Ch5+1M2utvgO Fatysr+e1i17Ql/QB06bbvkP2T/peK8BgnnqiG127RDaD4ODUrBu/W+OCR3aTrWw 2BxTooxX2QWS =uyhu -----END PGP SIGNATURE-----
Attachment:
pgpwlDiwgXdsu.pgp
Description: PGP signature