[ubuntu/jammy-proposed] mini-buildd 1.9.99 (Accepted)
Bryce Harrington
bryce at bryceharrington.org
Sun Apr 3 09:47:19 UTC 2022
mini-buildd (1.9.99) experimental; urgency=medium
More testing, more fixes, more documentation:
* [be87836] api.py (List.iarguments): distributions: Default to all
distributions.
* [d238265] models/base.py: Better 'attention support'.
* [b7ca178] daemon.py: Rather use "source" model for repository
attention.
* [7f5b26f] __init__.py: Add helper 'rrpes'.
* [a746e1f] builtins.py (mbd_parse_distribution): Avoid crash/deliver hr
error on build sources generation fail.
* [e2c76cd] html: Merge "chroots" into "builders".
* [d3dfa71] devel: Make MBD_PIPINSTALL conf'able via env.
* [5953526] devel: Convert local pip helpers to "global" tooling.
* [db322cd] devel: Embed 'profile scripts' into devel.
* [f739669] debian/control ([Build-]Depends): Fix: Need to use epoch for
py3-django.
* [fef5dff] devel: Add option to skip tests via MBD_SKIP.
* [c05974d] devel (mbd_prof_localhost_buster): Add profile for buster.
* [e28b1d7] devel (mbd_supertestall): Update to new 'profiles'.
* [349643e] devel: Update quickstart notes.
* [6e672ea] builders/index.html: Move 'remake_chroots' to (remote)
actions.
* [536e2bd] builders/index.html: Simplify chroot table.
* [cf789db] builders/index.html: Move status class (color) to remote
columns only.
* [e6662c6] builders/index.html: Simplify status column.
* [bd692f7] builders/index.html: Simplify remote column.
* [9f0b3d3] builders/index.html: Add 'status' to actions.
* [d2bb83e] builders/index.html: Move chroots table into remotes table
("ourselves").
* [86cc724] builders/index.html: Mv remake_chroot (all) actiion to
chroot table.
* [ee81760] models/base.py, html: attention: Return list, not multiline
str.
* [82397e6] daemon.py: attention: Rm obsoleted "chroots", make builders
use both chroot+remotes.
* [b65147b] repositories/index.html: Use one datatable per dist.
* [ce92e80] builders/index.html: Show 'attention' for chroots.
* [523ea03] builders/index.html: Show 'attention' for remotes.
* [23ead35] models/base.py (StatusModel.Admin.colored_status): Update to
fstrings.
* [be9cd87] models/base.py (StatusModel.Admin.colored_status): Show
'attention'.
* [0d9c4be] builders/index.html: Remove extra chroots table (admin
should suffice).
* [720cfe6] builders/index.html: chroots: Add remake action && move jump
to config (admin) here.
* [5265905] builders/index.html: Fix chroot/remote attention.
* [c3b73f2] repositories/index.html: Cosmetics, add (global)
'attention'.
* [a53155f] gnupg.py: Fix: Rm some leftover html fragments from help
text.
* [0b638f5] manual/administrator.rst: Move auth/ssh wrapper section
down.
* [7f98a91] Internal crontab: Remove "days_until_recheck" workaround
(obsoleted) && add doc section. (Closes: 892837)
* [fee9b92] testsuite-packages/installed-options: Pimp up tests: Also
test for arch-specific options.
* [6ab5f34] Upload Options: Add specific "nocheck" upload test, and
document setting via DEB_BUILD_OPTIONS as example. (Closes: 875920,
877083)
* [74ab123] manual/*.rst: Update to more recent codenames in some
examples.
* [2bfbca8] manual/developer.rst: Add FAQ: Can I access built packages
that have not been installed into the repository? (Closes: 906736)
* [aae3b79] manual/administrator.rst: Refine wording on m-b-debug-build
FAQ. (Closes: 796867)
* [62f75b9] etc/schroot/mini-buildd/fstab-generic: Add note about
special home setups. (Closes: 849544)
* [c9642f4] devel (bash-completion): Rm obsoleted
devel.hostname|localhost commands.
* [ccdf795] sbuild.py (Blocks.extra_option): Fix fstring usage
(cosmetic).
* [9759575] sbuild.py: apt-disable-check-valid-until: Fix missing
quoting && simplify.
* [8578da2] models/base.py (Model.mbd_get_extra_options): Document that
last entry wins.
* [1bd5ee8] dist.py: setup: Update jessie+wheezy to use 'apt-disable-
check-valid-until'.
* [1a98f29] dist.py: setup dict: Drop "produces_ddebs", just go with
extra_options.
* [4afdfce] dist.py: setup dict: Add Ubuntu impish.
* [c78263c] mini-buildd-debug-build: dpkg-source: Using '-x' not '--
extract' to be compatible with older dpkg.
* [ee47126] config.py, html: Cosmetic restructure of main menu.
* [feb3087] mini_buildd.css: Pimp h1 margin and padding.
* [7aeebe3] __init__.py (HTTPError): Fix: Remove obsoleted "detail"
class var, and fixup several wrong usages throughout code.
* [13dece5] events.py (Event.strerror): Better name and simplify.
* [e071f4d] devel: Change profile system (again). Make all bash-
complete-able.
* [97928e0] dist.py: Remove squeeze/lenny presets.
mini-buildd (1.9.98) experimental; urgency=medium
'Lost in documentation' release. Focus on in-place model documentation:
* [1fe17a0] mini_buildd.css: Fix margin/padding handling.
* [0fa3ed2] tags/api_arg.html: Fix: Arg header workaround not adapted to
new triple grid.
* [dfeb740] mini_buildd.css: Further simplify and add note for
padding/marging.
* [b03174c] mini_buildd.js: Add user alert on (any) js error (which
would otherwise fail silently for most users)
* [d86de3a] repositories/index.html: Fix typo in snapshot datatables
(fixes js error).
* [4ef91c1] base.html: Embed js error alert code, as 1st js code (really
catch all errors).
* [9cda430] base.html: Embed Clipboard.js init.
* [58b559c] base.html: Embed js cursor setup; obsoletes mbd_init().
* [c4984dc] base.html: Embed js functions.
* [fe6844c] setup, html: Completely remove mini_buildd.js.
* [b08debb] admin/base_site.html: Rather use HTML comment for CSS
workaround note.
* [daaa63d] models/daemon.py: "hostname": Rather use blank default
(obsoleted).
* [9bfa3f5] daemon.py (Daemon.get_title): Fix: Don't use obsoleted
'hostname' field.
* [613d32e] models/daemon.py: Document all remaining fields that
(inescapably) still need a Daemon restart. (Closes: 838393)
* [768919b] models/daemon.py: Just (mis)use "show_last_packages" as
event queue size && deprecate "show_last_builds".
* [0a7101b] models/daemon.py: Re-label "build queue size" to "max
parallel builds".
* [3466ec8] devel (tidy): Update code to be more flexible setting '--
mute' arg (ignore)
* [1caa404] devel (tidy): Add (sphinx) manual pages to tidy check.
* [18150c0] repositories/index.html: Silly typo time again.
* [3e20334] models/daemon.py, manual/developer.rst: Move && update note
about parallel package building to (developer) manual.
* [3c06ac6] daemon.py: Add internal note for deprecated
'custom_hooks_directory' field (doc for new custom event hooks is in
the 'Administrator's Manual') (Closes: 790058)
* [0006bb2] models/daemon.py: Config: Don't show any deprecated fields.
* [6d6f8d2] models/daemon.py: Move key generation/removal note to
'gnupg_template' doc.
* [32f083c] models/base.py: Support to automatically disable/reorder and
get custom help for 'pickled_data' and 'extra_options'.
* [b668148] models/daemon.py: Exclude unused fields
"wait_for_build_results", "keep_build_results".
* [3112a98] models/daemon.py: Add pickled_data help, drop custom
fieldset.
* [b9b5a34] models/base.py: Update/simplify extra_options generic help.
* [5fac59a] models/daemon.py: Add help for extra options (X-Archive-
Origin).
* [1484e40] models/base.py: Auto-embed all field's help in 'pre'.
* [cbcdf68] models/base.py: extra optios help text: may use <> now.
* [bd8b8fe] models/daemon.py: Bulk-Update all help to be plain text.
* [9bea732] ftpd.py: Update ftpd options usage to plaint text.
* [a34103f] devel (pylint-fixme, pylint-locally-disabled): Rather run
later (so we get 'real' errors 1st).
* [0fa04b1] models/chroot.py: Bulk-update for plain text help and new
extra options help.
* [fda579d] models/base.py: Add guard to not update help_text multiple
times (monkey-patch-style)
* [92b474b] models/distribution.py: Bulk-update all help_texts to plain.
* [8f8cdb5] models/distribution.py (Layout): Update to new extra options
doc setup.
* [34d0fc2] models/distribution.py (SuiteOptionInline): Should exclude
extra_options, pickled_data.
* [859b08e] models/distribution.py: Fix leftover <b> in plain text.
* [8e2e4e9] models/distribution.py (Distribution): Update extra options
doc to new style.
* [381c442] models/gnupg.py (GnuPGPublicKey.Admin): No longer need to
exclude pickled_data, extra_options.
* [7e3a61b] models/repository.py: Bulk-update to new plain help texts.
* [eb3749a] models/source.py: Bulk-update to new plain text and extra
options doc setup.
* [f0bc781] accounts/profile/index.html: Fix subscriptions display (was
not updated to 'class var view').
* [2a3f76e] mini_buildd/base.html: User Profile -> Profile (already in
context 'user').
* [c9b31fa] models/chroot.py: Re-add empty Meta/Admin classes (they need
to derive from superclass).
mini-buildd (1.9.97) experimental; urgency=medium
Adds tool 'mini-buildd-debug-build' && doc around manually
repeating/debugging failed builds.
Fixes "please consider adding a command to create the helper directory",
thanks to Marc Haber (Closes: #797587).
* [15af23f] sbuild.py: APT_GET: Remove '--option=APT::Install-
Recommends=false' duplication.
* [06b3555] src/mini-buildd-debug-build: Initial version of debug
helper.
* [95720ae] mini-buildd-debug-build: Also accept '-h' for help.
* [868d435] mini-buildd-debug-build: Fix order, don't change anything
before confirmation.
* [c856d3e] mini-buildd-debug-build: Allow <BUILD> arg with trailing
slash.
* [738abc8] mini-buildd-debug-build: Do 'chmod +w' outside chroot.
* [0f5c639] mini-buildd-debug-build: Print info before entering schroot
interactively.
* [8363b30] mini-buildd-debug-build: Rather use explicit DST directory
(guessing from DSC is clumsy).
* [a537ac8] mini-buildd-debug-build: MBD_CODENAME: Compute from breq,
and make configurable via env.
* [de17dd6] manual/developer.rst: Add tip for emacs changelog mode.
* [f73de6e] mini-buildd-debug-build: Avoid build-time values in man
(also for reproducibility).
* [b9e8229] administrator.rst: Add tip for local debugging.
mini-buildd (1.9.96) experimental; urgency=medium
More doc updates, tests, fixes:
* [1b4817f] reprepro.py: Remove "show_command" support, log reprepro
calls (to daemon.log).
* [2e49dc8] builtins.py: mbd_api: Use 'verbose' flag to set title/doc.
* [120bbde] mini_buildd.css: Rm button styles for C/R/D (obsoleted --
now icons).
* [3ea2a9f] tags/api_arg.html: On verbose, also add arg doc as pre.
* [7ced168] manual/developer.rst: Replace (redundant) 'Upload Options'
table by hint to apicall doc.
* [ed71809] manual/developer.rst: Use <arch> not <alt> as UO modifier
(there is no other use case).
* [4c98813] manual/developer.rst (via): UO: Fixup deprecated formatingg
&& add extra section.
* [05ecf62] manual/developer.rst: UO section: Move unrelated error to
"Advanced Topics" && structure fixes.
* [3851cda] api.py (Call): Add support to split a call's doc to title
and body.
* [f52c6dc] tags/api_arg.html: Use code, not pre (not allowed inside
span).
* [d6ac05f] devel: hack.html: Add icons path.
* [0c42617] devel (mbd_installdeps): Use --yes for unrelated upgrades as
well.
* [1864924] api.py: Docfix: port, port_ext: Rm (wrong) manual JSON
result help.
* [cb84bd3] mini_buildd.css: API inputs: Pimp min/max width values, and
also include types url,number.
* [043e221] tags/api_arg.html: Emphasize api arg label texts.
* [1e74262] tags/file.html: Rather use 'strong' for title, no 'h2'.
* [2853efa] api.html: Fixup API doc-style again; new 'aaa-grid' && do
mandatory/optional args in a generic way.
* [1165bd2] manual/introduction.rst: Add "About this Manual".
* [ba32489] manual: Rename Introduction->Abstract.
* [424983f] manual/abstract.rst: Conventions: Limit/fix usage && context
of admonitions (to four only).
* [5ef0353] manual/abstract.rst: Add py code doc.
* [acab802] manual: Hack to automate adminition index.
* [6651833] manual/conf.py: admonitions: Sort to workaround
reproducibility issue.
* [2006550] manual/conf.py: admonition hack: Fix paths for subpackages
&& __init__.py.
* [d797c7b] manual: Update path for pydoc: code/mini_buildd/ -> python/.
* [5c908d5] manual/_templates/layout.html: Make logo path absolute (make
always work when using embedded).
* [69ef98e] manual/administrator.rst: Cleanup iteration over all
admonitions.
* [5e97417] manual/administrator.rst: Update disk space tip.
* [a692f7f] manual/administrator.rst: Update installation section.
* [3b698db] manual/*.rst: Bulk-update "tip" format.
* [a827e86] manual/*.rst: Bulk-update "error" format.
* [d508feb] manual/*.rst: Bulk-update "attention" format.
* [ed6325e] manual/consumer.rst: Add tip: upgrade after main version
fix.
* [0ac19f4] debian/README.source: Add previously local "backports"
notes.
* [2079ef2] manual/consumer.rst: Add release2pin table.
* [9f140f1] models/base.py: Fix wrong uri path in action error handling.
* [90a4641] examples/mini-buildd-utils/mini-buildd.el: Initial emacs
support example.
* [f316216] examples/mini-buildd-utils/mini-buildd.el: Move all menu
inside hook.
* [7dc2a83] mini-buildd.el: Update notation.
* [72893d6] mini-buildd.el: Move dist entries to mini-buildd menu; hack
to make at least one entry work.
* [6d2f7f4] mini-buildd.el: lintian: Update to mode.
* [0a5eea8] mini-buildd.el: Call d-c-add-entry first.
* [a977b18] mini-buildd.el: Add autopkgtest, piuparts (ignore).
* [1a08dcc] mini-buildd.el: Update menu texts.
* [8f1c529] mini-buildd.el: Add deb-build-options, deb-build-profiles.
* [cfa9188] mini-buildd.el: Add header comments/doc.
* [70ced70] mini-buildd.el: Get rid of easy-menu.
* [cca2e01] mini-buildd.el: Add global MBD_DISTRIBUTIONS.
* [953bf7b] mini-buildd.el: Get rid of ddist global.
* [5f33121] mini-buildd.el: Extra func to set dist not needed.
* [83d7694] mini-buildd.el: Bugfix: Actually display all dist menu items
(not just the last).
* [0a71879] mini-buildd.el: submenu for distributions.
* [7b14624] mini-buildd.el: Make archives, codenames and suites
configurable.
* [52a1d5c] mini-buildd.el: Fixup handling of distributions global.
* [049b1cc] mini-buildd.el: Update comments.
mini-buildd (1.9.95) experimental; urgency=medium
Documentation release: Revamp && update of the (sphinx) manual, and
documentation in general:
* [e72c108] setup.py: Simplify package_data computation && add some
notes.
* [9758377] Rename "doc" -> "manual" (file hierarchy && python).
* [2d3ea00] manual/conf.py: Update to use '"' as primary quoting char
(like the rest of the code).
* [bed2afb] manual/conf.py: Disable sphinx' default 'body_max_width'
limitation (i.e., use full width of display).
* [d119487] manual/conf.py: Use 'html_logo|favicon' configs, drop custom
template.
* [e5979da] base.html: Move "sitemap" link to footer.
* [abe9176] manual/index.html: Add "manual" view (embedded via iframe)
&& add to main menu.
* [79db87c] base.html: Move "homepage" link to footer, "api" to main
menu; drop extra "Documentation" menu.
* [0c27076] setup/index.html: Embed 'admin' into setup view.
* [8bb9ff0] *.py, *.html: Move all menus to "attention" menu (for now).
Drop extra "admin" menu.
* [a00350e] includes/main_menu_item.html: Add generic include for main
menu items.
* [c7eb908] config.py: Split "attention menu" to two "main menus" (left,
right).
* [689a481] setup/index.html: Move presets to menu && improve custom
setup HTML.
* [1a0058f] manual/roadmap.rst: Add roadmap (stub for now).
* [e9605c8] devel: Fixup some forgotten doc->manual moves.
* [06e5833] admin site: Remove dome customizations no longer needed when
embedded.
* [0233ea6] base.html: footer: sitemap/homepgae: Flip order.
* [a83592b] manual/conf.py: Cleanup/reorder.
* [98bfd74] manual/conf.py: Remove "htmlhelp_basename": htmlhelp not
used (and default should be fine anyway).
* [7809843] manual/conf.py: Remove "pygments_style": Default or theme
default should really be fine.
* [72be6c3] manual/conf.py: General updates, notation fixes.
* [d1dbe9a] debian/rules, devel: Use 'sphinx-build' rather than 'python3
-m sphinx'.
* [df0ac62] manual/user.rst: Rm "custom hooks" todo (we now have
documented custom events hooks).
* [62b1476] manual/admin.rst: Update apt key todo/FAQ: Only one apt-key
now needed.
* [0e8481e] schroot.py (Session.close): Update "stale session" comment
to todo.
* [3d38fe6] manual/conf.py: Use (builtin) theme 'bizstyle': Looks ok,
has reasonable style support for admonitions.
* [6b842f8] src/*.py: Update all "todo"s to admonitions.
* [b2433ff] __init__.py: Add two new pycompat hints.
* [644ca56] manual/admin.rst: Update all "todo"s to admonitions.
* [520def3] manual/user.rst: Update all "todo"s to admonitions.
* [08f55fc] manual/todo.rst,conf.py: Remove 'todo' extension completely.
* [e1a94c4] admin/base_site.html: Re-add branding (else, no home link
for login popups).
* [c76ebe6] manual/Makefile: Remove, we don't use it.
* [b412776] manual/08x.README: Add README to explain 08x directory.
* [5b02187] manual/index.rst: Rm 'index', 'search': Already per default
in nav bar or footer, resp.
* [d975530] manual/index.rst: Drop "Special pages", go with only one
TOC.
* [b454525] manual/index.rst: Further simplifications && show depth 2.
* [4e485e9] manual/quickstart.rst: Merge quickstart to admin, user,
glossary.
* [a9ff2bf] manual/glossary.rst: Add list of known admonitions (WIP).
* [18ceb6e] manual: Rename glossary -> conventions.
* [0b0c915] manual/conventions.rst: Add && apply convention for
sections.
* [fa09193] manual/*.rst: Bulk-update new section conventions.
* [482040f] manual/conf.py: Enable extension 'autosectionlabel'.
* [c079413] manual/*.rst: Bulk: Remove all explicit ref-labels &&
replace refs by autosectionlabel-generated.
* [0e0523f] manual/introduction.rst: Update: httpd is now twisted, not
cherrypy.
* [5271281] manual/introduction.rst: Update tracker to
tracker.debian.org.
* [983ab96] manual/introduction.rst: Fix wording on API feature.
* [7434010] manual/introduction.rst: Add note about wake support.
* [daa221b] manual/admin.rst: Update abstract.
* [ba1e7cf] manual/admin.rst: New main section "Installation", merging
all relevant parts.
* [db57ac7] manual/admin.rst: Installation: Updates, wording
improvements.
* [c882862] manual/admin.rst: Quite some bulk space-to-tab action.
* [7f081a6] manual/admin.rst (using): Fix wrong section to quickstart.
* [d48723f] manual/admin.rst: Add new "Setup" section.
* [a63c317] config.py: Add 'homepage' as config.URI.
* [d2fdff2] manual/conf.py: Add automatic support for `<key>`_ links for
all config.URIS with "view" URI.
* [25a0743] devel (mbd_installdeps): Also automatically 'apt-upgrade'
after 'update'.
* [8a460c0] devel (mbd_installdeps): Do upgrades on extra installs
automatically.
* [bd96717] manual/user|admin.rst: Bulk-update all internal links to new
automated `<key>`_ -style.
* [c79da8a] devel (codespell): Update to also check manual/*.rst.
* [420dce3] manual/user|admin.rst: codespell: Fix handful of newly found
wrong spellings.
* [c4a5daa] manual/admin.rst: Fixup section categories (like in the
original).
* [369d451] manual/admin.rst: Put all individual "Model" docs under new
section "Models".
* [62540c4] manual/admin.rst: Move most of the "misc-like" sections to
'Odds & Ends'.
* [483d5b3] manual/admin.rst: Move "Quickstart" -> "Setup/Bootstrap".
* [bdafbeb] manual/admin.rst (using): Merge 'Configuration' section
content into 'Models'.
* [198dda5] manual/conf.py: Add "extlinks" extension && add "debbug"
role.
* [a2614a9] manual/admin,user.rst: Bulk-update all manual "debbug" refs
by new "debbug" role from extlinks.
* [ce9639c] manual/user.rst: Move keyring package bug 'inline'.
* [8d7f0ed] manual/conf.py: Add "_static/custom.css" (empty for now).
* [9a2e120] * manual/conventions.rst: Upodate for subsubsubsub ;).
* [447d7d3] manual/_static/custom.css: Add CSS for root/mbd-styled code
&& add initial convention docs.
* [0e1c6fa] manual/_static/custom.css: Make code hint texts opaque.
* [ceabb4f] manual/user,admin.rst: Bulk-update code-parts (as per new
convention).
* [3329522] * manual/admin.rst: Add "Configuration" section for
"Installation".
* [781fcd7] manual/conf.py: Add role "mbd" for links to local mbd
instance.
* [24157f4] manual/admin.rst: Squeeze out old "wizard" stuff, merging
content to Setup (and Models, where still applicable).
* [7d0b4d1] base.html: [debug]: 'force_escape' seems no longer
needed/worsening with current django.
* [545e5c2] api/index.html: Add support to display one command only.
* [d7a9ea3] tags/api.html: Simplify to use same code for 'unauthorized'.
* [9603ec5] builtins.py: Add 'mbd_api_cls' as standalone tag && rather
use BadRequest for 'unknown command'.
* [29afe64] api.py (Command): Add method title(): Get 1st __doc__ line
for doc purposes.
* [e724b0c] api/index.html: Improve index && standalone HTML.
* [1ee58c4] builtins.py: mbd_api: Add verbose option, use for API
index/call doc.
* [9e8eba7] builtins.py (mbd_api_popup): Simplify -- no need to
redundantly copy all kwargs.
* [2f4017c] manual/conf.py: Add "apicall" role (linking to new dynamic
standalone API call doc page).
* [119e679] manual/admin,user.rst: Bulk-update all mentions of "API
call" to ne "apicall" role.
* [3633f01] manual/conf.py: Rename role "mbd"->"mbdpage" (emebeds into
text more naturally).
* [f2d72d4] manual/user.rst: Save misc initial updates...
* [d2d2dd5] manual: Split "user" manual into "consumer" and "developer"
manuals.
* [c11ac7c] manual/consumer,developer.rst: Initial raw content split.
* [b06ddfc] manual/consumer.rst: Update abstract && structure.
* [0743798] manual/developer.rst: Structural fixup.
* [48ab685] base.html: Add 'sources_list' to footer.
* [0e8aea4] Add util "mini-buildd-apt-bootstrap": Automates archive
keyring bootstrapping.
* [fb5fb4e] manual/conf.py: Add new role "reqdeb".
* [90a8a61] manual/consumer.rst: Initial rewrite for "Setup".
* [f058c89] manual/developer.rst: Move "installation" content to
consumer.
* [a113262] manual/consumer.rst: Updates.
* [8373adf] mini-buildd-apt-bootstrap: Some cosmetic updates.
* [15959fe] mini-buildd-apt-bootstrap: Allow overriding of MBD_CODENAME
and MBD_IDENTITY.
* [b630912] mini-buildd-apt-bootstrap: FIX: Actually use
"$MBD_CODENAME", not sid :).
* [359ebb0] mini-buildd-apt-bootstrap: Ask (with info) before actually
doing it.
* [f4fa927] mini-buildd-apt-bootstrap: Also make MBD_APT_LINE
overwritable.
* [98eef26] manual/consumer.rst: APT boostrap: Add 'insecure'
alternative.
* [045bcbc] mini-buildd-apt-bootstrap: Update scheme: Rather
download/employ key manually 1st, then run safe apt calls.
* [b7d31bd] mini-buildd-apt-bootstrap: Add some dirty compat for
jessie/wheezy/squeeze where we need apt-key add still.
* [e576cbd] mini-buildd-apt-bootstrap: wget: Use --quiet.
* [e4344b3] mini-buildd-apt-bootstrap: Ask twice, give admin chance to
verify files.
* [0b9523f] manual/consumer.rst: APT bootstrap: sync with tool updates.
* [da32c82] manual/consumer.rst: Fixup "Sources" section.
* [a16b3c3] api.py: Add 'command_line_full' (for use in templates): Full
call && 'intelligently' compute user.
* [05d4280] api/base.html: Add "shell" menu item: Quickly grab same call
for "shell" use.
* [593f5b0] manual/developer.rst: dput: Stray note from consumer belongs
here.
* [d380234] manual/consumer.rst: Update Sources, User sections.
* [a0caabd] manual/consumer.rst: Update default layout examples to
bullseye.
* [8b394d8] manual/developer.rst: Update dput section.
* [b7746b1] manual/conf.py: Add support for static HTML manpages.
* [5f5e58b] manual/conf.py: Add new role "mbdcommand".
* [ba7d53d] manual/*.rst: Bulk-update to ":mbdcommand:".
* [fd6b7fe] manual/conf.py: Add "index" of all commands.
* [dc0ecd0] manual/conf.py: Role 'reqdeb' -> 'debpkg'.
* [d9b0899] manual/developer.rst: Update "authorize" section.
* [8c379ee] manual/administrator.rst: Add "ssh wrapper" pseudo section.
* [381c885] manual/developer.rst: Merge 'user upload' to one section.
* [88f4a0a] manual/developer.rst: Update section "Control package build
result".
* [871fd52] manual/developer.rst: Update "managing packages".
* [6ecf6ff] manual/index.rst: Simplify pydoc doctree entry && put last.
* [cb83da7] manual/introduction.rst: Merge conventions into
introduction.
* [ee104f5] manual/introduction.rst: Update main components to debpkg
role.
* [03b9830] manual/introduction.rst: Simplify core compenents.
* [498e6cc] manual/introduction.rst: Update abstract.
* [8cf5d4f] manual/conf.py: Overwrite layout template again, merge
custom.css.
* [bb764ee] manual: Add "commands" and "apicalls" as sidebar menus.
* [805b823] manual/_templates/mbd-sidebar.html: jinja2 reproducibility
workaround (random iteration order).
* [7c417f5] manual/_templates/mbd-sidebar.html: API: Add link to index
page.
* [2fa5646] manual/introduction.rst: Section fixes.
* [642e637] python-client example: Update to curent API and simplify.
* [928e8eb] client.py: Fix missing explicit import of events.
* [dda3020] manual/developer.rst: Update API section && also newly
document Events here.
* [e30a736] manual/consumer.rst: Fix section hierarchy to convention.
* [234a1ce] manual/developer.rst: Move "API and Events" to consumer.
* [7561ab1] manual/developer.rst: Move urold bootstrap bug note to
appropriate bootstrap section.
* [602ed4b] manual/developer.rst: Move aptitude note to (own section) in
consumer.
* [265bd73] manual/developer.rst: Move 'multiple version' note to (own
section) in consumer.
* [6eb6c14] manual/developer.rst: Update abstract && intro.
* [03eabc2] daemon.py: Remove unneeded api import.
* [cb2dd15] api.py: Update Command constructor to take (kw)args only.
* [06faf8b] api.py (Command): Make unknown args lethal, use
from_sloppy() for exceptions.
* [eb5d891] Update wording (doc and code): api.Command -> api.Call.
* [b7a5bc7] api.py: Move presets into Setup call class.
* [cdfe35a] api html: Update clear, reset, paste (args) and doc link
(index) to 'icon'.
* [23529a0] builtins.py, html: Remove 'mbd_icon' templatetag.
* [2814c0d] HTML: Properly support 'alt' for all 'imges'.
* [525aea1] manual, api.py: Sync API and manual sections.
* [c8f0818] api.py (Call): Add "category support" to help structuring
docs.
* [dfbf148] api.py: Add category exceptions (handshake, setuserkey).
* [9da630a] api/index.html: Update to new API categories.
* [94e744b] api.py: Remove all HEADERs (was workaround for categories
only).
* [872fb58] api.py: Consolidate wording for all API call descriptions.
* [a2f81d5] api/ls.html: Add bg colors for suites.
mini-buildd (1.9.94) experimental; urgency=medium
(HTML) GUI fixups: Uses 'numix-icon-theme' for (most) icons &&
various other GUI updates and fixes.
Details:
* [5261c73] SVG: Remove unused (home, migrate, remove, wizard).
* [a24ea0d] mini_buildd.css (@keyframes mbd_attention): Use bg colors
only (fix readability/contrast).
* [6d9cb54] setup.py: Prefer '"' for quoting.
* [50ff4f9] setup.py: Use setuptools.find_packages().
* [ccce127] builtins.py: Add 'mbd_icon' tag for upcoming 'icon theme
support' (&& helper in devel to list icon names).
* [0559491] *.html: Bulk-replace 'mbd_img' by 'mbd_icon' -- use naming
oriented on freedesktop's icon naming spec.
* [7ba91df] debian/control|links: Depend on and use 'numix-icon-theme'.
* [600a371] static/*.svg: Remove all custom icons now covered by icon-
theme.
* [6a34c15] events.html: Move version "filter" to version column.
* [9ee4aa1] API html: Move html/page convenience links to
'includes/api/base' (i.e., make available for both, snippet and page
views).
* [4893876] events.html: Fix indenting.
* [b4736b7] events.html: Make source name link to API call ls.
* [aaba672] events.html: Add 'changes' link whenever available (not just
on INSTALLED); drop extra 'ls'.
* [32e1414] api/ls.html: Fix some icon paths && drop changes and
buildlog links (only via events).
* [8635934] builtins.py: Add tag mbd_join (os.path.join).
* [77b3376] dir.html: Fix: Make links work no matter if page was called
w/ trailing '/' or not.
* [418d2b1] includes/events.html: Move json link to timestamp.
* [8813841] base.html: Switch to standard view icon: Rather use
mimetypes/text-html.
* [d7c13e5] api/ls.html: Fix hrefs for DSC links.
* [7f9026e] api/ls.html: Merge "Extra" column into "Menu".
* [a8728de] api/ls.html: Add direct DSC download link (version).
* [43c7ce7] builtins.py: Merge mbd_img to mbd_icon.
* [b2f987a] base.html: Move up/down/switch menu to center.
mini-buildd (1.9.93) experimental; urgency=medium
Summary:
* Add tool 'mini-buildd-internals' -- for now, for sbuild setup
blocks only.
* schroot.Session: Debug && fix intermittent schroot snapshot
left-overs.
* portext: Only download verified by default.
* Various minor tests && fixes.
* Code/setup updates for pylint 2.12.2.
Details:
* [dac35be] config.py: Remove (obsoleted) account URI "reset".
* [13b1fa8] config.py: Remove not-needed account URIS logout,
password_change, password_reset.
* [e57362f] package.py (_port): dget: Deny unverified downloads by
default && add allow_unauthenticated option to override.
* [f0c69c5] api.py (PortExt): Add --allow-unauthenticated argument.
* [c411dd5] mini-buildd-api: Fix description (which was still mentioning
events).
* [e61be9d] Add new CLI stub mini-buildd-utils.
* [a3eb56d] files.py (File.run): Add ability to run (script) files.
* [2987277] mini-buildd-utils: Add "sbuild" utility (sbuild setup
blocks).
* [766dbb4] files.py: Move File.run() to custom Script class in m-b-
utils.
* [ebad129] cli.py (CLI.run): Log run error with level=ERROR (not
default=WARNING).
* [6af196d] cli.py (CLI): Optionally allow unknown arguments.
* [0db6c6c] mini-buildd-utils: Remove script run again (does not make
much sense, really).
* [49751f8] sbuild.py: Cleanup naming/descriptions of sbuild blocks.
* [43a65a2] files.py (Script): Move run() and Script class to file.py
after all.
* [42b830d] files.py (File.__str__): Add __str__().
* [e63c5d4] mini-buildd-utils (sbuild): Add --cat && make printing
description default.
* [a334b1e] sbuild.py: apt-disable-check-valid-until: No need to exclude
codenames in-script.
* [af10297] sbuild.py: Some more description wording updates.
* [efcf012] devel (MBD_PIPINSTALL): Skip pip user install of pylint
(2.11.1 now in Debian).
* [139f819] models/distribution.py: Fix: Properly (HTML) escape some
usage() text used in help texts.
* [6df6a27] mini-buildd-utils: sbuild: Print usage() when no sbuild name
is provided.
* [9a80851] Rename mini-buildd-utils -> mini-buildd-internals.
* [2f916f0] mini-buildd-internals: 'sbuild' -> 'sbuild-setup-blocks'.
* [bd592e9] sbuild.py (SetupBlocks.default): Fix: '[apt-]disable-check-
valid-until' should not be default.
* [a3a3330] sbuild.py: setup blocks: Update name/description for various
blocks.
* [43b9a5b] devel.hostname.lts: Helper ('./devel' pre-configured w/
Debian + LTS).
* [072f80c] builder|changes|sbuild.py: Buildresults: Obsolete 'Sbuild-
Retval' (use 'Sbuild-Status' only).
* [92446ed] sbuild.py (SBuild): Buildresult: Add 'Build-Time', 'Package-
Time', 'Space', 'Package-Space' from sbuild summary (informational
only).
* [8b44cc6] builder.py: Remove 'Runtime-Start', 'Runtime-Delta':
Informational only, rather use new sbuild summary values.
* [f732bf0] sbuild.py: Move untar to sbuild.
* [b27fd30] builder.py: Move more 'sbuild context code' to
sbuild.SBuild.
* [3087f72] sbuild.py: Simplify. 'Harden' sbuild status when sbuild run
itself fails.
* [5f51ec3] daemon.py (Daemon): Make 'model' a property.
* [c911ce9] models/repository.py (EmailAddress): Exclude 'pickled_data'
from view.
* [d5fa28e] daemon.py: Skip monkey-patching
'django.conf.settings.DEFAULT_FROM_EMAIL' (FROM is already set
explicitly for all emails we sent).
* [9ab82cf] models/daemon.py (Daemon): 'custom_hooks_directory': Mark
"DEPRECATED", exclude from view (see new 'events hooks').
* [4ae5fce] changes.py [pylint]: Iterate some dicts w/o keys() (new
pylint 2.12.2 warning).
* [569162d] mini-buildd-ssh-uploader-command [pylint]: 'too-many-
statements' no longer needs to be locally disabled.
* [7d9b68f] mini-buildd [pylint]: Various local disablings around
PEP3143 (daemon.py) no longer needed.
* [391419a] src/* [cosmetic]: More consistently use one empty beauty
line after initial top level script/module comments.
* [4676b79] mini-buildd-import-08x [pylint]: Some local disablings
(redefined-outer-name, too-many-branches) no longer needed.
* [6182286] django_settings.py [pylint]: Remove two no longer needed
"no-member" local disablings.
* [48ed473] ftpd.py: [pylint]: Remove no longer needed "no-member" local
disabling.
* [4c731c4] files.py: Scripts: Drop pasting the whole script again &&
simplify banner methods.
* [ea98b38] files.py [pylint]: Remove no longer needed local disabling
(superfluous-parens).
* [30e18fe] sbuild.py [pylint]: Remove no longer needed local disabling
(no-member).
* [11d0fd1] setup.cfg [pylint]: Update "generated-members" (django):
Three no longer needed.
* [e7dc8d1] src/*.py [pylint]: django: Handle various 'no-member' local
disablings via generated-member.
* [57580a1] src/* [pylint]: Avoid local disabling of 'bare-except' using
explicit bare except via BaseException.
* [6a5b66a] net.py (detect_apt_cacher_ng) [pylint]: Rm "broad-except"
local disabling (we have a global exception anyway).
* [10e18b1] misc.py [pylint]: Simplify 'skip_if_debug', avoid
'inconsistent-return-statements'.
* [b4015c9] events.py [pylint]: Remove local disabling of 'too-many-
boolean-expressions', no longer needed.
* [1fff2fe] models/daemon.py [pylint]: Remove local disabling of
'arguments-differ', no longer needed (was false positive).
* [63246d6] values.py: CURRENT_BUILDS: Add comment why we need the
lambda here.
* [2a1ba48] values.py (OnOff): Rather use "ON, OFF" (capitalized) as
values.
* [6a0992a] models/repository.py [pylint]: Remove another unneeded local
disabling.
* [8426db2] models/base.py (StatusModel.Admin.mbd_action_remove):
Simplify code.
* [5664b22] gnupg.py [pylint]: Remove another unneeded local disabling.
* [30c35dc] __init__.py [pylint]: Rename Daemon() -> get_daemon().
* [ec77b8a] models/base.py (StatusModel.Admin.colored_status) [pylint]:
May be a classmethod.
* [725a078] *.py [pylint]: Convert various "no-self-use" methods to
classmethods.
* [b87046b] models/gnupg.py (Builders.add): Use "normal" mbd_check()
method call.
* [05260da] models/gnupg.py (Builders): Use all remote objects (again).
* [1dcb119] call.py (call_with_retry): Fix: Use 'is None' idiom.
* [6c15ef0] schroot.py (Session.close): Retry --end-session (fixes
occasional build fails && session leftovers).
* [628c4bb] builder.py (Build.run_deferred): Simplify, merge build().
* [cfb2cdc] builder.py (Build.run_deferred): Skip updating
'sources.list' in source chroots prior to build.
* [7efb02c] schroot.py, models/chroot.py: Simplify code around
sources.list update (only neded in mbd_check()).
mini-buildd (1.9.92) experimental; urgency=medium
Summary ("more things from the roadmap"):
* ftp: Make passive ports configurable.
* chroots: Use schroot sessions.
* django: Internal impl. of (user) registration, drop p-d-registration.
* internal: Create gnupg keyrings on-the fly (another step for #838393).
Details:
* [9812e2f] ftpd.py (FtpD.shutdown): Fix false idiom (use 'is not
None').
* [ae91fa5] ftpd.py (FtpD): Add support to set handler options
(supporting 'passive_ports' only for now).
* [229292f] models/daemon.py (Daemon): Enable previously unsused
ftpd_options for new handler options.
* [970ee35] includes/error.html: Make actual error stick out (header not
'mbd-error', small http description).
* [a63c050] devel (MBD_PIPINSTALL): For now, use pylint from pip (need
2.11.1).
* [03d2aae] devel (mbd_installdeps): Remove obsoleted extra "binary dep
installs" (install via apt already takes care).
* [647c88a] devel (mbd_installdeps): build-deps: Drop updating to newest
found version (via target-release='*').
* [b26cb46] devel (mbd_installdeps): Do build-deps first.
* [8832642] devel (mbd_installdeps): Put all non-build-dep installs in
one call && diff friendly.
* [e0301fa] devel (prepare-system): Run installdeps here (first).
* [9c5065d] devel: Move 'installdeps' code to 'prepare-system'.
* [ec451f2] call.py (Call.log): Support (log) level to be given
explicitly && now default to level "error" for failed runs.
* [7652742] schroot.py: New module, now essentially providing schroot
sessions (can avoid having auto-sessions for each call).
* [d7290f6] call.py (Call.log|check): Run log() when check() fails (&&
remove extra log line from check(), already in constructor).
* [6297e53] builder.py: Move buildlog_file_path var to build() alone.
* [bf06d9d] chroot.py (Chroot.mbd_set_debconf): Also set
DEBIAN_FRONTEND=noninteractive for the config call itself.
* [aae8b45] models/chroot.py: Update mbd_check to schroot.Session.
* [f6f4354] builder.py (Build): Doc: Add note that constructor should
not throw.
* [d0471eb] builder.py (Build.build): Move apt line updater to build()
&& use schroot.Session.
* [d3ae8d7] *.py: Bulk-replace log().check() by check().
* [f3d59cf] django: Add top-down top stub for internal "reset",
"register".
* [b315545] models/chroot.py (Chroot): Remove obsoleted
_mbd_schroot_run() && mv set_debconf to check(), using new
schroot.Session.
* [988fa25] schroot.py (Session): Add raw "call()" method (complementing
run()).
* [77c259d] schroot.py (Session.set_debconf): Don't fail if config can't
be set (workaround for debconf 1.5.78 / sid).
* [7209b1e] devel (mbd_installdeps): Rm *.changes|buildinfo (new
leftovers from mk-build-deps, see https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=989696).
* [e375ad1] schroot.py (Session.set_debconf): Use run() again (i.e., re-
enable error checking).
* [b14dfe0] profile/index.html: Fix using "section" not "main" block.
* [cef7625] __init__.py, error.html: Add 'HTTPOk' HTTP Error (as means
to convey simple non-error messages).
* [1031b5b] views.py (ExceptionMiddleware.error): Don't log if error is
HTTP_OK.
* [c7023b1] django_settings.py: Add password validators.
* [6d33002] views.py: Implement AccountRegisterView, add && implement
AccountActivateView.
* [56303cb] views.py: Rm AccountResetView (not needed).
* [b03c439] accounts/register/index.html: Fixup register template.
* [80edec7] base.html, config.py: Update uris/names for new
register/reset.
* [b23c89f] debian/control: Remove p-d-registration dep, and remove all
supporting code.
* [205714e] templates: Remove bunch of now-uneeded templates (post p-d-r
removal).
* [7ac637b] call.py (Call.success): Add success() method.
* [9846c93] schroot.py (Session.check_sudo_workaround): Implement using
call() (avoid confusing error log).
* [4e77d8b] api.py: Move 'upload_template_package' helper to package.py
(fix one FIXME ;).
* [7b048da] daemon.py: Keyrings: Add own classes for Remotes/Uploaders
keyrings; move all code to daemon.py.
* [81c9e69] daemon.py: Uploaders/RemotesKeyring classes: Remove (daemon)
model from constructor.
* [44b9c92] *.py: Generate gnupg verification keyrings (Remotes,
Uploaders) on the fly.
* [d888730] models/gnupg.py (Builders): Fix: Consider 'activatable'
remotes only.
* [2a4fc1d] models/source.py (Source.mbd_check): Simplify && fix logging
when archive does not match.
mini-buildd (1.9.91) experimental; urgency=medium
Summary:
* remotes: Stabilizing handshake/wake code.
* chroots:
- Add 'remake' convenience support.
- Update base sources list prior to any build.
- prepare: Configure debconf frontend to noninteractive.
Details:
* [588f5ef] api.py (Handshake.run): Add instance URL to handshake
failure message.
* [871a705] models/gnupg.py (Remote.mbd_check): Call status 1st (so wake
is done before handshake) && some minor fixes.
* [048d001] models/gnupg.py (Builders): Rather optionally 'check' (does
wake implicitly) not 'wake'.
* [bd0a1d9] api.py: Handshake: Move to pseudo section "Maintain".
* [efb59f0] api.py: Fix code still using direct import from models.
* [e7b7cd5] models/base.py (mbd_pca_all): Add 'request' arg && support
for optional prior 'remove'.
* [0b3a74d] models/gnupg.py: Simplify chroot key code.
* [5d8d0f6] models/base.py (StatusModel.Admin): Add helper
mbd_actions().
* [1764ecd] models/base.py (StatusModel.Admin): Use mbd_actions() for
'pc', 'pca' and 'pca_all'.
* [54c9ea4] values.py: Add value 'ALL_CHROOTS'.
* [5724077] api.py: Add "remake_chroots"; add resp. support to
builders.html.
* [b1c3023] builtins.py (Css): Add class mapping for django messages.
* [91750d4] includes/api/*.html: (Re)introduce django messages displays
for rendered API results.
* [b6df55a] daemon.py (Stopped): Run code with daemon stopped.
* [a597057] api.py (Setup.run): Use Stopped() on setup run.
* [3268340] api.py (RemakeChroots.run): Use Stopped.
* [4b90364] models/chroot.py (get): Add get() helper.
* [e63c843] models/chroot.py (Chroot.mbd_update_sources_list): Add
separate method to update base apt line.
* [824338d] builder.py (Build.__init__): Always update base apt line in
source chroot prior to build.
* [775ce8c] models/chroot.py (Chroot._mbd_schroot_run): Remove
DEBIAN_FRONTEND=interactive (as this does not actually end up in
chroot call).
* [d0ce548] models/chroot.py (prepare): Globally configure debconf
frontend to noninteractive.
* [cfc0fc6] sbuild.py, chroot.py: Use same apt-get base call.
* [608b0ff] builder.py, sbuild.py: Update to more congruent use of
breq.build_path.
* [6684463] changes,sbuild,chroots.py: Consolidate schroot name
generator.
* [7dd06e2] error.html: Use phrase (not description) for title && other
minor changes.
* [b8084bb] models/gnupg.py (Remote.mbd_get_status): Error message: Add
convenience hint when wake command is not configured.
mini-buildd (1.9.90) experimental; urgency=medium
Summary:
* Make work for django 3.2 (now compatible 2.2-3.2).
* New structure for internal store dirs "events" and "builds".
* New "setup" API call (replacing "wizards"), now including some
maintenance capabilities.
* Quite a lot of testing && micro changes, especially for the WEB UI.
Details:
* [bf04c89] base.html: api, doc, admin links: complete via config.
* [255261a] config.py: Mv all "accounts" uris to config.
* [0c05fdd] config.py, fstab: Just use one directory ('var/shared': to
be shared with chroots). Replaces "var/spool", "var/chroots-libdir".
* [7a757d5] config.py: Update id "spool" to "builds" (under new
'var/share').
* [bc1c2f6] config.py: Renaming "chroots_lib"->"libdir".
* [389745b] config.py: Fix some "acounts" uris: Should be relative.
* [dfdc54d] urls.py: Fix: Use config for account profile, not hardcoded.
* [0866407] httpd.py (HttpD._add_static_route): Support url hierarchy.
* [63c3969] config.py: (Temporary) fix for static compat log.
* [6650c4a] config.py: Cease using "home.html", always use "index.html"
(as default template).
* [67293a7] snippets/events.html: Fix event log links.
* [c74a4fa] devel (restart): Give up after 5 tries to call status (don't
loop forever on error).
* [0e4c565] django_settings.py (configure): Fix: Don't hardcode
STATIC_URL.
* [41a248b] api_view/show.html: Fix wrong mbd_uri call.
* [d4005a4] views.py (ExceptionMiddleware.__error): Log middleware
exceptions (else no chance to debug template errors).
* [7a2a02c] *.html: Various get -> getabs fixes ;(...
* [8192ccc] config.py: Rename "events-log" "events" (uri && dir).
* [de0bf01] events/log.html: Fix static link.
* [b14448b] models/repository.py (Repository.mbd_get_apt_line): Fix: Use
URIS config for repo url.
* [dc3d34d] devel: Update tidy test.
* [be14c68] config.py: Just use "attach" for event attach location.
* [d6d4b7f] httpd.py (FileResource): Move "doc missing" support to
FileResource.
* [3d63fcd] httpd.py (HttpD): Generalize route support (so we can add
events the same way).
* [c318c12] changes.py: Add "timecode" support: Once generated in
Upload, propagated through to buildrequest/result.
* [1b4032b] builder.py: Don't remove build dir port-building.
* [65d779e] packager.py (Packager): Fix: Log exception on unexpected
fail.
* [bc04a5b] views.py (API.dispatch): Fix: Log exception when api call
fails.
* [3cae7ec] events.py (Event.from_changes): Add timecode from changes to
events.
* [af570de] changes.py, packager.py: Fix "move_to_pkglog": Dump special
treatment for rejected/installed && any purge action.
* [e8c3699] builder.py (Build.run_deferred): With purging removed, dump
clean() and just remove buildrequest directly.
* [2f91ea4] changes.py: Upgrade LogPath implementation-
* [e5ca5ca] changes.py (Changes.get_spool_dir): Now obsolete, removed.
* [7c37202] changes.py (Changes): Remove "spool_hash" support: No longer
needed.
* [c83d629] net.py (reactor): Comment some debug logs (occur too often,
even for debug).
* [857fe6a] builder.py (Build.build): Remove safeguard code to remove
"live buildlog" due to possibly same sha1sum (we use timecode now).
* [6c4a0e0] config.py: Move 'static options' to config (and fully
automate static routes).
* [f6f04f1] config.py: Add Uris for "builds" (analog to "events").
* [52206aa] config.py (Home.__init__): STATIC, DOC global resources no
longer needed.
* [871c0ea] config.py: Resource, Home -> Route, Routes.
* [bf92fdf] httpd.py: Add custom directory indexer: Home, "up",
automated "view" link.
* [ef42ff2] base.html: Main menu: Add events, repositories and builds
(static) links.
* [d9641b1] views.py: Rename "buildlog" view "plain".
* [74e5350] views.py: New generic EventsView.
* [5db086d] views.py: Update/fix PlainView to work w/ events.
* [ab3f111] views.py: Rm obsoleted EventLog views.
* [a0fa305] urls.py: builds: Add buildlog view.
* [51d89b2] urls.py: Fix: Give route str ids only (ROUTES may not be
configured at import time).
* [79ea4ab] events|plain.html: block title should not have html tags.
* [298d284] builder.py: Remove extra "live buildlog" support (we now
just use 'builds' dir).
* [7151b1a] httpd.py: Allow multiple static routes (for compat routes).
* [570196f] config.py: Put all "static" routes (i.e., handled by httpd
directly) below '/static/' (avoids uri pollution / possible conflicts
with django apps).
* [0309ee4] config.py: Introduce StaticUri: Fix repetition of static
prefix && fix option handling.
* [a558d53] httpd.py (DirectoryLister.mbd_header): Use
StaticUri.uri2view to convert to view uri in directory listing hack.
* [f5d849b] config.py: Remove obsoleted "buildlogs" route.
* [b7ece38] packager.py (Package.auto_ports): Add log_exeptionif
auto_port fails && protect erro handling.-
* [c9e9ab9] config.py: Compat: Add "/repositories/" compatibility route.
* [920ae0f] config.py: Add "log_v10x" compat URI.
* [725da8c] changes.py (Changes): Get rid of extra properties:
file_name, file_path.
* [d04a3cf] changes.py: Get rid of superfluous is_new() method.
* [51efe1b] changes.py: Create path only when needed && simplify save().
* [60ac468] changes.py (Changes): Make file_name + is_new properties
(prepare for file_path to be None).
* [a04eb8f] changes.py (Changes): Allow initialization via dict.
* [dcd0c40] events.py: Log via logchanges() only, and with actual
'Changes' objects.
* [54b136d] config.py (StaticUri): Make options with kwargs.
* [e213198] httpd.py: Directory listing: Put "up" button before
directory (so it does not move).
* [6a335f9] snippets/repositories.html: Put old-style (per repo!) compat
link to repositories, not events.
* [535332b] snippets/repositories.html: Only one "browse repo" link (no
need for separate dist/ and pool/ links).
* [09ba836] config.py (StaticUri): Regex: Auto-prepend uri to regex &&
fix repository regex (i.e., allow conf/, db/ down in the tree).
* [42f1c20] config|httpd.py: Compile regex early (StaticUri), and don't
call at all if not given.
* [181c14b] httpd.py (FileResource): Use (one) dict for options && put
defaults & 'docs' to config.
* [e69800e] config.py: Rename option "with_cache" -> "cache_ttl" (and
support configuting the actual TTL (max-age) value).
* [4f4bedf] includes/mbd_events.html: Don't display "migrate", "remove"
on events page.
* [a4171f9] includes/mbd_events.html: Always show events link.
* [9379b09] templates/includes/mbd_sbuild_status.html: Remove newline at
EOF (make mbd_sbuild_status tag really spaceless).
* [85fbadf] templates/includes/mbd_events.html: Move crucial info to
'Details' only, remove redundancies.
* [04c6634] events.py (Event): Simplify extra_info() -> error(): Not
used any more.
* [596bab4] events.html: Use "All" as title if path is empty && add "up"
link.
* [e951e93] changes.py (DebianFileName): New class -- upcoming one-stop
for all debian file names.
* [a5040a5] changes.py (Changes): New precondition: Any object must
already have Source, Version, Distribution.
* [f81a67c] changes.py (Changes): Add "dfn" (DebianFileName) class var
(possible w/ new precondition).
* [4e86187] changes.py: Obsolete gen_changes_file_name, gen_file_name,
gen_dsc_file_name, dsc_name (all handled by DebianFileName now).
* [26c7618] changes.py: Obsolete get_buildlog_name (handled by
DebianFileName now).
* [791b46d] changes.py (Changes): Rename dsc_file_name -> dsc_file_path,
and un-property it.
* [2bb9af9] includes/mbd_events.html: Add static (browse) Events link.
* [40c1cab] changes.py (DebianFileName): Update to one generig generator
method (gen), and fixup json type.
* [15fb0b1] events.py (Event.save): Update to use DebianFileName.
* [dae6ed0] changes.py (DebianFileName): Do apdxes w/o leading slash.
* [e2d6884] devel: Add "fishy-words" test (just output, don't fail).
* [6098b30] files.py: Add 'Tar' helper class.
* [3136f94] changes.py (gen_buildrequests): Use DSC and its files for
buildrequest tar (instead of excluding from uploaded changes).
* [1732203] changes.py (Changes): Use files.Tar for tar, untar && remove
obsoleted functionality.
* [7a9a1f6] includes/mbd_events.html: Always show error in summary.
* [bd9e08c] repository.py: Fix: Don't log MIGRATE event on error-
rollback (due to failed binary install).
* [fc6a109] changes.py (Changes): Add get_files_path helper.
* [5bc9be0] config.py (Uri.getabs): Guess if uri is dir, and append "/"
in that case.
* [47c010c] mini_buildd.js: Add mbd_event (test code only).
* [fcee1dd] mini_buildd.js: Add some missing 'EOL-semicolons'.
* [7815d34] urls.py: api_view/, not api_view.
* [24d1570] doc: Don't use mini-build.css, fix logo paths to use twisted
static, and remove mini-buildd's static files.
* [6c7f6d7] devel (MBD_CODEVERSION): Fix bullseye: ~BULLSEYE, not 11
(still not released yet).
* [dabd18c] config.py: Rename 'static/events' -> 'static/events.attach'
(better name, and marks it "non-dir" for uris).
* [f2f0c66] events.py: Add new events: BUILDING and PACKAGING (to
eventually replace packaging/building display support).
* [78811e1] html: Remove 'packaging', 'building': Events only.
* [8a61b77] base.html: 'Events' not needed in header menu.
* [fd73331] *.html: Make all snippets (except events) normal templates.
* [175f07f] index.html: 'Un-snippet' events. Events are just on the
index page now (autoreload yourself if needed ;).
* [3231c64] mini_buildd.js: Rm all snippet-related code.
* [a6320be] includes/mbd_snippet.html: Rm, no longer used.
* [87801ec] mini_buildd.css: Rm snippet-related css code.
* [8b130fa] builtins.py: Rm mbd_snippet and mbd_next.
* [5114e65] changes.py: Move DebianFileName to 'files' module.
* [f63bdf9] changes.py: Mv *LogPath, Log to module "files".
* [0cc2622] config.py: Mv "Path" to module "files".
* [ae767e6] includes/mbd_events.html: POC: Try to prevent table
'changing design' after page/script load is complete.
* [c28749d] builtins.py: Generalize/simplify datatables javascript code
via template tag.
* [a18df9e] devel: Add "compat.*only" to fishy words.
* [ad3feae] files.py (Path): "merge" (sort-of) functionality of LogPath
into Path.
* [fb01495] files.py: Replace obsoleted "LogPath" by Path.
* [2b45f65] setup.cfg (max_line_length): Sync w/ prospector value.
* [2d5e6ad] changes.py (Changes): Temporary fix for temporary
get_buildlog_uri.
* [2418622] includes/mbd_events.html: Fix for events view uris: Use sub,
not path.
* [8805f2c] files.py: Update EventsPath to be used in events view.
* [4e2f3bd] models/repository.py (Repository.mbd_get_dsc_path): Simplify
code (after Path update).
* [288294e] files.py (Log): Rm onsolete Log class (and temporarily
comment/mark api call "retry").
* [e0af21d] devel: Help the elderly to better find errors by unasked-for
ridiculous terminal log eye-candy.
* [2a88e31] devel: Don't fail if tput fails.
* [05ff676] events.py (Event.save): Fix file_path for type BUILDING
(missing arch).
* [b034454] packager.py: Log PACKAGING event _before_ uploading
buildrequests -- else BUILDING events may be logged first if building
is on the same instance.
* [3eae9f5] events.py: Events: Add "running": Only PACKAGING/BUILDING
events that have not finished.
* [0c795da] mini_buildd/index.html: Only show "running" events on index
page.
* [743134f] misc.py (measure): Helper to log run time of functions (dev
only).
* [f851fe9] events.py (Events.log): Use only one method to log (events).
* [49ec769] devel: fishy-words: Add "deprecated".
* [17df869] mbd_events.html: Add microseconds to datatables timestamp
'data-order' (fixes sorting for events within same second).
* [d73acf4] misc.py (load_json): Add helper.
* [8d6aaee] files|daemon.py: Get events data on startup from events
directory (making 'pickled_data' workaround now completely unused).
* [3a68a91] files.py (Path.expire): Add "expire support" for Path.
* [6038ff8] daemon.py: Use Path.expire for 'expire cronjobs', and use
genrically expire 'builds' and 'events' paths.
* [5e55e5e] config.py: Make "log" URIS non-depcrecated again (deprecate
1.0.x compat uri only).
* [b33a2b6] httpd.py (HttpD._add_route): Use config.Uri (not plain str)
as argument.
* [f55e897] httpd.py (FileResource): Use Path, Uri objects as arguments.
* [f805b66] httpd.py (FileResource): Set 'defaultType' per constructor.
* [515f762] config.py (Route): Make 'uris' class var "never-none" (but
empty dict).
* [81ba6d4] httpd.py (HttpD.__init__): Actually loop over ROUTES to add
routes (simplifes code).
* [a08d027] config.py (StaticUri): Get rid of the implicit prefix (in
the end, it does make things more confusing).
* [d3533fd] config.py (Uri): Merge StaticUri into Uri (we want to use
options for both later).
* [6d19b38] config.py (Uri): Just use std pyway for options (no need for
extra options dict any more).
* [32872ca] config.py: Fix repositories compat path.
* [be1382b] config.py (Auth): Mv "auth" support code here from api.py
(so it can be used anywhere).
* [8c87101] views.py (context): Add pydoc.
* [f4ed52a] views.py: Update class based views to simply override get(),
not get_context_data().
* [bbb73cc] config.py (Uri): Add "auth" to options.
* [875f65b] config.py (Auth): Add check() (does throw on unauthorized).
* [604705a] httpd.py (FileResource): Add "auth" support.
* [2cd86e1] config.py (Auth.auth_err): Allow special case (user=None,
auth=NONE).
* [a3601e2] base.html: Generate all uri links from all routes to menu.
* [5b655d5] config.py (Uri): Update methods to naming scheme similar to
Path (mark compat methods).
* [d60ed69] views.py (API.dispatch): Update to auth.check().
* [0ffef65] config.py: Route 'log': Add (staff-protected) uris.
* [903e86a] httpd.py (FileResource.getChild): Add better (but still
secure) regex-does-not-match error page.
* [8052af2] config.py: Route "log": Rm 'static_v10x' compat uri (this
does not really work w/ twisted routes, and is not really needed).
* [c1b33ac] config.py: "repositories" uris: Use 'static_v10x', not
'static-v10x' (keep it accessible in templates).
* [a683fcf] django_settings.py: Strip down context_processors to django
(2.2.20) defaults.
* [46046e0] base.html: Rather use URIS (not ROUTES) for "site map".
* [2a3d338] config.py: Fixup URIS and ROUTES ordering.
* [d4efd1b] files.py: Mv EventsPath.uri_static to Routes.static_uri.
* [b554904] views.py (RouteView): New view (will eventually do all views
for configured ROUTES).
* [0435398] views.py: Switch to RouteView for builds and events
(obsoletes PlainView, EventsView).
* [d02faa8] views.py: RouteView: Add general tpl "route.html" (already
replaceing "builds.html" and "events.html"; but prefering specific
still).
* [f6bb222] views.py (RouteView): Add dirs && files (browsing).
* [3fec99b] views.py: RouteView: Rename "items"->"entries" (avoids
hickup when django resolves to dict.items()).
* [56e5e44] config.py (Uri.getabs): Update all code to new abs_join, and
remove.
* [7dd494c] config.py (Uri.url): Update all code to new url_join, and
remove.
* [e3b8603] mini_buildd/index.html: "running" include: Update to
"entries".
* [f8dc4d6] config.py (Uri.get): Update all code to new join, and
remove.
* [80d09bb] files.py (Path.get): Update all code to new join, and
remove.
* [01530bd] mini_buildd/route.html: Don't use "tiny" (tidy error, not
html 5 (?)).
* [99e3c7a] config.py: Add "menu" Uri option, add "sitemap" and auto-
produce menu.
* [cabba91] mini_buildd/plain.html: Rm, no longer needed.
* [98090cf] views.py (RouteView): Add ".log" to extension list (to show
"plain", for log/*).
* [fa7a78c] includes/mbd_events.html: Rm extra (non-script) css include
(was only needed for snippet support).
* [54eb265] includes/mbd_datatable.html: Auto-hide table while setting
up (avoids "table flicker").
* [3f5971a] *.html: Set mbd_datatables inside the table tag (i.e., avoid
"table-flicker" w/o breaking non-javascript browsers).
* [258618e] config.py: Minor menu re-order.
* [31ded8b] views.py: "chroots": Update to generic "route.html".
* [8a61f53] views.py: "repositories": Update to generic "route.html".
* [4adf0a8] views.py: "remotes": Update to generic "route.html".
* [1f96d77] urls.py: Fix: Special routes must come 1st.
* [3a7204d] views.py: "crontab": Update to generic "route.html".
* [c38b87c] sitemap.html: Upgrade design from utterly unreadable to
ugly.
* [d24e8d8] config.py: repositoreis, chroot, remotes, crontab: Update to
dir-based uri.
* [b965c30] devel (tidy): Mute TAG_NOT_ALLOWED_IN: Cries about "<script>
isn't allowed in <table>", but this isn't true for HTML5 afaik. And me
wants!
* [a06dbc7] api.py: Rm "logcat" (can now be viewed as superuser via
browser only).
* [c8adf3e] devel: shapshot version: Make dch fast for long stints (use
only last couple commits).
* [11a213b] misc.py (timecode): Make it work for any given stamp, not
now only.
* [cda2bca] *.py: Fix handful of literal "utf.*8" (instead of config)
uses.
* [3845480] files.py: Missing (explicit) import.
* [920ec08] cron.py: Make cron status persistent (log 20 runs).
* [a27aaa3] mini_buildd.css: lightblue -> mediumslateblue (much better
contrast).
* [fb3ad44] cron.py (_Job.readlog): Fix: We need to strip lines.
* [13a64be] index.html: Add initial "problem indicator" block (crontab
only for now).
* [4a49623] index.html: Rm event links (are in main menu already now).
* [1d999a0] __init__.py (open_utf8): Move to 'files' module.
* [0c759d6] httpd.py (DirectoryLister.render): bytes() was missing
encoder.
* [0eb595f] urls.py: Properly order account profile route.
* [623ff16] config.py: Update "sitemap" to "dir URI" && RouteView.
* [37b86ed] urls.py: extra "section" for API routes.
* [03173dd] views.py (RouteView): Use standard (non-re) <path> in
urls.py, do parsing in view.
* [bc5fe37] config.py: Update "home" uri to dir based.
* [f69a288] views.py (API, APIView): Override get(), not dispatch().
* [f1b9bef] views.py (RouteView): Rather use TemplateReponse directly,
not shortcut.
* [0953aed] config.py: Update "api_view" to "dir URI".
* [3b798c6] views.py: Merge Api + APIView classes; 'api/' as generic uri
(drop 'api_view/').
* [df6500d] views.py (APIView): Don't use class var for api_cmd (and
remove all pylint ignores).
* [f3dcf40] views.py: Eliminate PathView.
* [91e73ba] devel (tidy): Update check to test all (public django) uris.
* [fc90c2c] mbd_repositories.html: Fix some tidy errors.
* [44faa8b] config.py: Get rid of extra "api" uri.
* [ae33a70] config|files.py: Uri|Path: Add __str__() (similar to
pathlib.Path).
* [63930a1] config.py: Make all (dir) uris natively have trailing
slashes.
* [695f40b] config.py: Make all (dir) uris natively have leading
slashes.
* [c619bea] views.py (APIView.get): Fix template names (html view).
* [76e1955] mini_buildd.js: Fix api uri (trailing slash).
* [993fdd5] urls.py: Completely abandon any hardcoded paths (all from
config instead).
* [c3d0cac] config.py (Auth.test): Test method to be used w/ django
later.
* [29c4e61] urls|views.py: RouteView: Do auth automatically (as per
config.py) and via django (as per user_passes_test).
* [7569c4f] views.py (APIView): Fix error response in when output="html"
(to html error, not json).
* [a9c7b60] views.py: Mv 'api index' to RoutesView.
* [25b5e88] builtins.py (mbd_api): Default action to 'html' (not 'ajax')
for now.
* [663399e] api.py (Command): Add helper uri(): (Upcoming) api command
uri.
* [5330629] urls.py: APIView: Give each call its own uri ('/api/<cmd>/')
&& do auth automatically (as per config.py) and via django (as per
user_passes_test).
* [a077ae0] mini_buildd.js: Update to new API uris.
* [f763652] client.py (Client.api): Update to new API uri.
* [c0d66bb] mbd_api_submit.html: Don't disable command on auth_err (now,
django will do auto-login).
* [df50a3a] mini_buildd.js: aoi call: Add try/catch on result handling
(catch unexpected errors).
* [8fb932c] mbd_api.html: Update to new API uri.
* [3879fdc] api: Remove support for "command" parameter (add command
class directly as view parameter).
* [0e9cc0b] views.py: APIView: Use django decorator 'require.GET', rm
obsolete index support && simplify code.
* [26224b6] views.py: RouteView: Override get_contex_data() only (now we
do auth elsewhere).
* [95402d1] views.py (RouteView): get_context_data: Use (known) args
directly, not kwargs.
* [a9920f9] views.py (APIView): get: Use (known) args directly, not
args, kwargs.
* [189e366] views.py (AccountProfileView): Fix impl order.
* [dcd1bf1] Rename all include files for builtin tags
(mbd_tag_<name>.html), and remove API extra handling in RouteView.
* [dc314e3] files.py (load_json): Move here from misc.py.
* [dcc9459] files.py (find): Add recursive 'find' based on os.scandir().
* [d66816c] files.py (EventsPath.files): Use find, not glob (factor ~2
speed gain in our test setup).
* [a19f0fe] httpd.py: Directory listings: Fix home uri (just use / now).
* [6edaddf] files.py (EventsPath): Limit methods to events(), drop
files(), jsons() (not needed).
* [977382e] config.py (Routes): Allow "None" path for Route, and allow
for more diversified route adding in Routes.
* [2635ccf] config.py: remotes, sitemap, api: Make these "None-Paths"
(fixes unneeded directory creation).
* [76650f0] config.py, *.py: "events": Use EventsPath in ROUTES, and
always use that very object (instead of creating new 'Path's).
* [6c6db8c] files.py (load_json): Rm, not used any more.
* [67d1736] events.py (Event): Add LRU cache for events load from file
path (via functools).
* [29bed7a] misc.py (datetime_parse_since): Move here to other datetime
tools (from events cli).
* [fb1267a] misc.py: Put all datetime support functions in own class
(somewhat nicer at least).
* [0880ea9] setup.py: More diff-friendly notation.
* [42001d4] misc.py: Date parsing: Switch from datutil to dateparser
(allows for "2 weeks ago" and such).
* [b7d4f7e] devel: mbd_api, mbd_events, mbd_dput: Remove "full command
debug" support (would not work with space-separated args, what we now
need).
* [91c2f42] misc.py (Datetime): Update parse(): Default value, EPOCH
(not "all" for since values), move all doc/support here.
* [649a7c7] views.py: Add "since" support for route (for now, "events"
only).
* [32c6fc5] mini-buildd-events: --since: Use user doc from
misc.Datetime.parse.
* [c98139b] models/source.py: Update valid_until code.
* [baeba73] html: Initial HTML fixups: css, home, route.
* [aa8fa8a] views.py: route: Fix (plain) file display for events.
* [5eb4115] route.html: Put "Index" to nav.
* [44a2559] html: Improve route && index.
* [ad6aa25] includes/mbd_events.html: Generate (datatable) table id.
* [7d44fe5] cron.py: Rename "problem"->"attention", and return actual
problem string.
* [c749704] daemon.py (Daemon.attention): Add attention map support to
Daemon && generic context.
* [0c2abde] base.html: Display possible problems via attention map in
menu.
* [f9747bc] templates/includes/mbd_builds.html: Initial impl.
* [89f141a] urls.py: Add "names" for our paths (so they can be
potentially used w/ builtin 'url' ttag).
* [f8cca4a] includes/mbd_events.html: Update to builtin "url"; remove
static links as these are already elsewhere.
* [6256751] urls.py: Add static routes here, too, just so we can access
them via django's 'url' builtin.
* [8e6fe95] base.html: Update all "account" urls to use django's builtin
'url'.
* [4be2e1e] mbd_repsoitories, api/show.html: Fix some links && upgrade
last 'mbd_uri' to builtin 'url'.
* [9455b5b] builtins.py: Rm obsoleted mbd_uri, mbd_uri_home.
* [772d639] changes.py: move_to_pkglog -> move_to_events.
* [406b240] route.html: Add alternate updater using html "date" input.
* [8a11693] changes.py: Make "Architecture" mandatory.
* [479af78] changes.py (Incoming[Build]Changes): To better maintain
common code.
* [41cc255] includes/mbd_events.html: Fix terminate links (was swapped).
* [0afaa6c] devel (fishy-words): Print file name.
* [fd7d6de] changes.py: Initial code partition into new class skeletons.
* [e797a0d] changes.py: Fix timeocode impl for new multi-class setup.
* [7a01bf7] changes.py: Changes: "subpath", "events_path", "builds_path"
as class variables.
* [e151d39] changes.py (Upload.gen_buildrequests): Rm extra 'cset' of
timecode.
* [bc1f036] changes.py: Fix up 'buildlog' values.
* [0ea6d13] changes.py (Upload.get_builders): Merge breq generation &&
upload into Upload.request_builds().
* [b5d2825] daemon.py: Move Changes.get_builders() to
Daeomon.get_builders_for().
* [6f44141] daemon.py (Daemon.get_builders_for): Just do
'local_endpoint' automatically.
* [5fea5dd] changes.py (Changes): key, bkey: From property to class var
&& use the (now timecoded) paths.
* [c201b10] packager.py (Package.add_buildresult): Rm 'extra.log': No
longer used or needed.
* [9587b0c] packager.py (Package.add_buildresult): Merge
'move_to_events' to finally clause.
* [cd08a26] prospector.yaml (pylint): Allow slightly more local vars.
* [ffd2747] events.py: get json event file path from changes (and remove
extra, redundant code).
* [860a040] changes.py (Upload.request_builds): Remove redundancy by
putting all files in a dict 1st.
* [fa27546] changes.py: buildreqeust: Move all config files to subdir
".config/".
* [decef28] changes.py: request_builds(): Update path to files.Path.
* [a09e891] changes.py (Upload.request_builds): Should create in events
path, not builds path.
* [66f5c87] daemon.py (Daemon._port): Fix: Use Base changes to upload.
* [6c51784] packager.py (Packager.run_event): Fix: Use Base changes for
cleanup.
* [5db0bb3] changes.py: Simplify 'timecode' code, remove __str__ support
(mostly unused, rather confusing than helping).
* [2f840b2] mini-buildd-self-signed-certificate (usage): Don't use
actual default values (Fixes: Builder hostname ends up in man page).
* [18a2a29] changes.py (Buildrequest.gen_buildresult): Rm unused path
arg && simplify code.
* [2272022] changes.py: Simplify save support: Base.save_as (generic),
Changes.save_to (to path, auto file name, auto-sign).
* [89cc980] changes.py: Don't re-use buildrequest files.
* [7b22bb7] files.py: Update 'Tar' to not write to file on add -- write
on new save_as() only.
* [1ed6fb8] changes.py (Base.save_as): Fix: Update 'file_path' on save.
* [3799fd2] changes.py: Get rid of (manually) set file_path && update to
new Tar class.
* [44c5456] changes.py (Buildrequest.gen_buildresult): Simplify.
* [a6a30a6] changes.py (Changes): Upgrade "distribution" to actual class
car && and remove double impl.
* [53a7e9d] changes.py (Upload.Options): Fix doc tests to use Base
changes (else 'fail', configured django would be needed)
* [506c003] changes.py: Remove remove(), use new move_to() only
(effectively, buildrequests now get stored in 'builds', not just
removed).
* [fc415b9] builder.py (Build.__init__): Only use bkey for Builder
thread name (not whole contents of changes file).
* [02bd4c0] builder.py (Build.run_deferred): Properly handle
build/upload (Fixes: No buildresult reporting after internal error in
build).
* [1d565f0] events.py: from_changes, log: Add support for "exception"
arg.
* [70ec8d4] changes.py: to_json -> to_event_json, and move all (but
packager) context there.
* [b3d0830] packager.py (Packager.run_event): Improve REJECTED/Bogus
error handling.
* [bd9727c] packager.py (Package.add_buildresult): Move success check to
changes.Buildresult.
* [69be510] packager.py (Package): Use class dict vars 'buildrequest' +
'buildresults' symmetrically for code clarity.
* [4e02b98] packager.py: Rm "success", "failed" class vars (obsoleted by
buildresults dict).
* [55f5168] packager.py (Package): 'status' should not be class var.
* [f6d2563] packager.py (Package): 'extra' should not be class var.
* [6139828] packager.py (Package): Separate finish() from
add_buildresult().
* [d54e9dc] packager.py (Package): Rm "running": not used.
* [4f7600b] packager.py: Code order && cosmetics.
* [aa85c8c] builder.py: Log BUILT event after build, not upload; alsa
log BUILT w/ 'error' on 'internal error'.
* [8105b29] builder.py (Build.__init__): Do "libdir" support via
files.Path.
* [8687289] builder.py (Build.run_deferred): Log 'BUILDING' when build
actually starts (not in constructor).
* [bbdffc2] builder.py: No need for class var "config".
* [6b668f8] builder.py: No need for class var "sbuild_cmd".
* [5f09757] builder.py (Build): Use "builds_path" as shortcut for
'breq.builds_path', not builds_dir.
* [876058a] builder.py (Build.__init__): Cosmetics/ordering.
* [422ec5c] builder.py: No need for class var "setup".
* [65925a5] files.py (DebianName): Add "upload" file type.
* [b71834a] changes.py (Buildrequest.gen_buildresult): Load existing
(builds) file if exists.
* [b24e67f] changes.py: Buildrequest: Add status flags based on builds
dir: needs_build() (no buildresult file), needs_upload() (no upload
file).
* [f2f2d38] builder.py: Use new breq status flags.
* [53a7ce9] builder.py (Build.run_deferred): 'BUILT': When buildrequest
is built && uploaded.
* [2305ee3] builder.py: Move all sbuild stuff to class 'SBuild' in
sbuild.py.
* [bfb2585] sbuild.py (SBuild.__init__): No need to separate 'setup
parts', one beastly constructor is just fine.
* [b82b7d1] sbuild.py (SBuild): Add shortuct for config_path (get rid of
quite some redundancy).
* [d697987] sbuild.py: SBuild class: Rename 'sbuild_cmd' 'cmdline'.
* [a357140] builder.py (Build): Code simplification && some obsolete
class vars removed.
* [abe4592] sbuild.py: Also move actual sbuild call && buildlog parsing
here (from builder).
* [bda00ca] events.py: Simplify "running" dict handling to use
'changes.bkey' as key (already is unambiguous).
* [b648462] sbuild.py (SBuild): buildlog2buildresult: Make regex
precompiled once (as class attr).
* [b43720f] builder.py (Build.run_deferred): Remove wrong/forgotten
extra BUILT event log.
* [2e214bb] sbuild.py (SBuild.buildlog2buildresult): Fix RST syntax in
doc (now relevant for sphinx as method is no longer private).
* [0f91b93] changes.py (Changes.to_event_json): Add key && bkey to
events.
* [179e343] sbuild.py (SBuild.__init__): Update some class var naming
for now-class-solution.
* [9f179a5] sbuild.py: Little re-modelling of Sbuild/Build classes to
allow terminate() to work again.
* [8dbd62c] client.py (Client.api): Fix: Don't set "command" in http
args (commands now have their own uri).
* [832812d] api.py: Use call "cancel" to terminate running build. Drop
termination of whole package.
* [dcf5fcf] builder.py, api.py: Misc code cleanups.
* [864bc85] changes.py: Fix 'self.distribution': Only for "Upload"
(mapping && integrity) and "Buildrequest" (integrity).
* [43084b0] changes.py (Upload): Fix: Use "initial_value" on all
constructors.
* [d5332ed] devel: testsuite: Add test "bogus-ftp-uploads".
* [13819d0] api.py (SetupDaemon): Fix usage of obsoleted mbd_sync arg
(ssl only).
* [2c92f4c] changes.py (Changes.__init__): Improve && make "key missing"
check error public.
* [8788bc0] changes.py (Changes): Make MANDATORY a dict (i.e., add
optional 'hint' text for the public error string).
* [895c0cd] changes.py (Upload): Add 'Changed-By' to MANDATORY (with
hint) -- obsoleting extra check.
* [91f8c2d] builder.py: Handle "Internal-Error" custom header "like
exception" when creating event json.
* [2a2842f] static/data.svg: New svg from opencliparts.
* [382bcf5] builtins.py (Plain.cat): Support json file filter.
* [1e38f4a] events.py (Event.json_file_name): Gen json file name in
events directly (will make this available in templates later).
* [1d7fa41] mini_buildd/route.html: Leave out whole 'entries' section
when not needed.
* [2cad227] mbd_events.html: Fixes && Simplification. Drop json inline,
just go with link to json file.
* [7396970] builtins.py (PlainFilter): Plain -> PlainFilter, improve
extensibility.
* [3cd760b] builtins.py: PlainFilter: Add default filter.
* [edcb276] views.py (RouteView.get_context_data): Add 'static_uri' to
context, drop 'route', 'fullpath'.
* [e73af15] __init__.py (HTTPNotFound): Add (shortcut for) 404 error.
* [18bd8d7] views.py (RouteView.get_context_data): Add 404 error.
* [0ae3a5b] config.py (Routes.__init__): "builds" should also use the
dedicated class (files.BuildsPath).
* [b76fca1] misc.py: Datetime: Better name "stamp"->"now".
* [cd6f672] misc.py (Datetime): Add "file" helper (get ts from file).
* [616f6cf] misc.py (Datetime): Add .from_stamp().
* [d53797e] views.py: Generalize "since" support && add entries
(buildlogs) for builds.
* [e222c02] mbd_builds.html: Properly show new buildlog entries.
* [0d528c6] events.py: Add common events loader (Fixes possibly
different events queue order after restart).
* [53d8c1d] files.py: Make "find" Path.ifiles, and simplify other code.
* [4da28ee] route.html: Fix typo (fixes entries for non-since variants).
* [aff7582] views.py (RouteView): Use "lambda map" for entries variants
(rather than big if-else tree).
* [22d6036] events.py: Use i<name> for iters not <name>_iter.
* [37ccaf6] views.py (RouteView.get_context_data): Fix "builds" entry
uris.
* [667e02b] client.py (Client.api): Use "FIXME" on code cleanup note/py
> 3.7 (so we find it w/ fisyh-words).
* [96fcb1a] models/base.py: Add mbd_class_name (get class names in
templates).
* [8b7389f] mbd_chroots.html: Update to datatables and fixup to usable
state.
* [b123203] views.py: Provide index for "events" and "builds" only.
* [9ab93e1] includes/mbd_scandir.html: Display os.scandir().
* [9b93ddd] views.py, route.html: Update to scandir.
* [6cd76c7] mbd_chroots.html: Add 'Status', fix 'Admin" link.
* [d45ff6e] includes/mbd_remotes.html: Update/Fix to make initially
usable.
* [d02111b] views.py: Procude scandir for "logs".
* [4ef6fd3] views.py (RouteView.get_context_data): Add default entry
producer (emtpy list).
* [7b022b2] builtins.py (PlainFilter.regex_filter): Generalized filter
for other uses later.
* [a7952b2] builtins.py (PlainFilter): buildlog toc heuristic: Add
"critical" errors detection.
* [c3ae608] builtins.py (PlainFilter): Add "log" filter: TOC for levels
'warning' and up.
* [584842e] daemon.py (Daemon): Add models() method as future access
vehicle for all code "django".
* [cfe4885] daemon.py (Daemon): Remove get_active_chroots() (replaced by
generic models()).
* [f9683eb] daemon.py (Daemon): Remove get_active_repositories()
(replaced by generic models()).
* [2c549d2] daemon.py (Daemon): Remove get_suites() (replaced by generic
models()).
* [29a50a5] daemon.py (Daemon): Remove
get_active_or_auto_reactivate_remotes() (replaced by generic
models()).
* [1d74263] daemon.py (Daemon.get_active_codenames): Should not use
models() inside daemon.py.
* [c3ec178] models/repository.py (Repository.mbd_icodenames): Add
iterator to all codenames from a repository.
* [e8a422b] daemon.py (Daemon): Remove get_active_codenames() (replaced
by generic models()).
* [62451e9] daemon.py (Daemon): Remove get_subscription_objects()
(replaced by generic models()).
* [ce4c790] package.py (KeyringPackage.__init__): Use models(), not
import of models.
* [f7c58b4] devel (importchecker): Exemption for deamon.py.
* [b63f2ff] views.py: repository, chroots, remotes: show all (not active
only).
* [e25472b] config.py: Cosmetic: Put "api" (menu) before "log" &&
cosolidate map order in view.
* [663713c] models/gnupg.py (Remote.__str__): Fix: Really should not
call status on remote.
* [29adebb] client.py (Client.api): Improve user error handling (use
public exceptions where due).
* [2d524e9] static/configure.svg: Add from openclipart.
* [7501f05] config.py: No need to make uri class var private.
* [4e9bfa9] New generic "builders support" (in models/gnupg.py). html:
Improve && update "remotes" section to "builders".
* [46992d6] mbd_repositories.html: Rple two top-level "details" by plain
h3, h4 headers.
* [023ae6b] changes.py: Create builds/event paths on demand/when needed
only (fixes some superflous empty dirs).
* [d91297e] config.py: AUTH: Upgrade to proper enum; eliminates
AUTH_STRING extra code.
* [8e86907] mini_buildd.css, api: Add mbd-auth-* classes.
* [bf8b816] builtins.py: Rm "auth_err" (string) support in 'mbd_api' tag
(we now have auto-auth via django views).
* [6beb736] httpd.py (FileResource): Add (commented) auth-redirect code;
don't use 'auth_err' string.
* [29df24f] config.py (Auth): Drop 'auth_err string' && check, simplify
to just have is_authorized().
* [489d4e2] views.py: Add ouput "html-snippet" for API calls.
* [be862ed] includes/mbd_tag_api.html, base.html: Move HTML for 'ajaxed
api results' from individual API code to one static place in base.
* [d6ba91e] mini_buildd.js, api tag: Simplify JS to use load() in api
result html snippet.
* [2849016] builtins.py (mbd_api): Default to action "ajax" again.
* [3a96307] builtins.py (mbd_api): Add is_authorized context, resp. css
and force form action to 'login' on unauthorized.
* [914fd4d] includes/mbd_api_submit.html: Merge into mbd_tag_api.html.
* [26b92fb] mbd_tag_api.html: Make 'output' real hidden input (rather
than hidden by css).
* [3d0f463] mbd_tag_api.html: Make hiddens args actual hidden inputs
(instead of hiding by css && calling mbd_api_arg).
* [645ba50] mbd_tag_api.html: Fix login detour via link inside a button,
and use 'url' tag for login uri.
* [003d7dc] builtins.py: Rm "reload" from context (unused now).
* [e052ac1] views.py: API: output=json|snippet|page && get rid of
"action" option.
* [7ecdfb3] base_api.html: Remove, is now obsolete.
* [999e4f7] api.py (List, Show): New command class attr PREFER_PAGE_VIEW
(for web templates only).
* [e60495c] API form submit: Really fix the script/noscript dilemma;
remove all former css workarounds.
* [c22fa14] builtins.py (mbd_api): Remove 'output' arg (now obsolete).
* [b5184b5] builtins.py (mbd_api): Update context dict notation to diff-
friendly.
* [bdbd486] *.html: urlencode on get_full_path does not seem to be
necessary for some time (see
https://code.djangoproject.com/ticket/18456).
* [839c93d] mini_buildd.js: api: Add initial error handling && progress
bar.
* [d736c9e] mbd_api_show.html: Add "remove" only if exists.
* [7f7394b] Revert "*.html: urlencode on get_full_path does not seem to
be necessary for some time (see
https://code.djangoproject.com/ticket/18456)."
* [357e22d] events.py: Reword events.Events -> events.Queue (to not
confuse w/ "events" (log directory)).
* [b1ee5fd] daemon.py: Move cronjob methods to cron.py.
* [56f4d01] setup.py: Ignore mildly annoying 'snapshot version warning'
from setuptools.dist.
* [3e1e54b] devel: Make MBD_KEEP disable all "on exit" runs, not just
some.
* [93873b9] Add (empty) '__init__.py' for models sub package.
* [6a9c104] daemon.py: Move "port" functions to package.py.
* [afaeaa3] views.py: API: Minor restructuring so we can have generic
code for both, page and snippet (DRY).
* [804c9e6] builtins.py (mbd_plain): Show "as_detail" support.
* [8d1ad0a] mbd_api_call.html: Show cmd as "full" && add plain (json).
* [f951a29] django structure: Move includes into app dir (includes ->
mini_buildd/includes).
* [4d7a6ed] django structure: Move "base.html", "error.html" into app
dir (*.html -> mini_buildd/*.html).
* [c32623b] django structure: Tag includes: Remove 'mbd_tag_' file
prefixes and move to "tags/" (mbd_tag_*.html ->
mini_buildd/tags/*.html).
* [60a3f0d] django structure: API call includes: Remove 'mbd_api_' file
prefixes and move to "api/" (mbd_api_*.html ->
mini_buildd/api/*.html).
* [e71494c] django structure: Other includes: Remove 'mbd_' file
prefixes (mbd_*.html -> *.html).
* [72f8271] api.py: Fix one forgotten update from previous code move to
package.py.
* [c4c5959] devel: Rm "deprecated" from list of fishy words (only non-
fishy uses ;).
* [9026913] show: Add "architecture=source" for both, reprepro &&
repository show() variants (makes results suitable for Changes).
* [8856de5] repository.py (Repository.mbd_package_show): Use dict (not
tuple) for codename.
* [6a2d4ef] models/repository.py (Repository.mbd_package_show): Make
distributions dict, not list.
* [38d20e8] models/repository.py (Repository.mbd_package_show): Simplify
code.
* [37ca3c9] repository.py (Repository._mbd_package_migrate): Fix MIGRATE
distribution.
* [17d3f9e] reprepro.py: show(): Add 'component' to results && iterator
variant (ishow).
* [2df43f0] repository.py: get_dsc_path -> find_dsc_uri, components list
as parameter.
* [fca6d7f] api.py (Find._run): Accommodate pyflakes (W504, line break
after binary operator).
* [ad2b4c7] models/repository.py, api.py: Move "show" code to API, used
only there.
* [5aacfa4] reprepro.py: Move "package_find" methods here from
repository.py (these are reprepro only).
* [4bf85e5] reprepro.py, repository.py: Make private find variants
public.
* [b347bb5] devel (tidy): Fix API call URIs.
* [e9eca8d] api.py (show): Show all existing repos && update result to
have repository options (active).
* [ef02e7a] includes/api_results.html: Add api results include.
* [cb7685b] mini_buildd.js: api load function: Give form element
directly.
* [665f6dd] tags/api.html: Update to use from.action again (not multiple
submit buttons).
* [3e18efd] builtins.py: Drop extra builtin for 'api_arg'.
* [21c91d2] models/repository.py (Repository.mbd_icodenames): Sort list
of codenames.
* [4a9a032] includes/tags/api.html: Put api result back here, with ids
(enables more than one result per page).
* [7637fcb] tags/api.html: Move api results html back into api tag (we
need it only here).
* [2ae137d] includes/tracker.html. *: Add initial "tracker" route.
* [c23a1f2] mini_buildd.js: API submit: Use jquery hide()/show() && hide
"directly" via onclick=...
* [bb409b8] mini_buildd.js, tags/api.html: Rather use 'onsubmit' for js
submit.
* [878bd72] mini_buildd.js: api_form_submit: Code clean up.
* [5c2d43c] views.py: Pre-compute dict of available api command
templates.
* [24708e2] includes/api/call.html: Eliminate extra "call.html" (just
use page, snippet templates).
* [5456eac] views.py: Eliminate "repositories" from cmd context (really
not needed any more).
* [f4cd80c] api.py, tags/api.html: Drop PREFER_PAGE_VIEW (aiming for
extra tracker page).
* [4291f16] mini_buildd.css (div.mbd-api-results-content): Minor
padding/margin fixups.
* [54961c4] tags/api.html: 'close': Fix: Re-add class.
* [797c5c9] tags/api.html: JS API: Support choosing "popup" or "embed"
CSS variants.
* [d5c834c] includes: Mv all include templates used as "route" to
"routes/" subdir.
* [c2c9e18] includes/track.html: Add "track" include, use in base and
events.
* [91d2f72] includes/track.html: Hide source if given.
* [07af85b] includes/routes/tracker.html: Use "embed" css variant.
* [36a6d91] api.py: show(source) -> show(repository, codename, source)
* [4e40329] api.py (Show._run): No such rep error handling.
* [5d42fea] .prospector.yaml: Also customize argument-regex (same as
variable-regex).
* [30be31d] devel (tidy): Log complete URLs (so we can click on it to
debug quickly).
* [1c7c574] devel: testsuite: Updates for changed show() api call.
* [70036f3] reprepro.py (Reprepro): show() -> ils(), make versatile.
* [a8102c8] devel (testsuite): Tidy tests should run after auto-setup
(make show work).
* [8d8c801] reprepro.py (Reprepro.find_in): Fix: Rather use 'is None'.
* [d58e04c] api.py (Show._run): Minor code fixes.
* [95e83c8] api.py (Show._run): dsc_path -> dsc_uri.
* [fb29bdb] models/repository.py (get): Add generic getter helper.
* [57a5c06] api.py: Update dist / diststr parse functions.
* [b8a67f5] devel: Return of pylint standalone test.
* [6d09f03] devel: Return of pyflakes standalone test.
* [6113596] devel: Return of pydocstyle standalone test.
* [971745e] devel: Return of pycodestyle standalone test.
* [06fc7d4] admin.py (AdminSite): Fix two trivial pydocstyle warnings.
* [11c5d87] devel: Drop "prospector": Hardly helped, forced pip user
installs, no updates, stuck to old versions of checkers.
* [5af8165] devel: Reorder static tests && add new 1st 'build_py' static
test (instead of calling 'build_py' on any test again.)
* [457ab0b] devel (mbd_installdjango): Rm, outdated, not needed.
* [0abb12e] devel (mbd_installdeps): pycodestyle/pyflakes: From Debian.
* [0ee9ae8] devel (MBD_PYPATH): Make PYTHONPATH export global, rm
'pyenv' extra function.
* [709a7af] setup.cfg (ignore): D416 does not seem to exist (any more).
* [75f2625] devel: Drop fishy-words, configure pylint's "fixme" to do
the same.
* [fab0b79] *.py: Do 'raise from e' for all wrapped exceptions (pylint
2.5->2.7, W0707).
* [6dbd1e5] .pylintrc (extension-pkg-whitelist): Add 'apt_pkg', used in
super-portext (pylint 2.5->2.7, I1101).
* [7827073] api.py: Fix inconsistent return statement (pylint 2.5->2.7,
R1710).
* [b21d80e] distribution.py: Make sbuild check modes uppercase (pylint
2.5->2.7, R0103).
* [0ab1126] devel: Add term color for warn log.
* [0296153] api/snippet.html: debug: Add links for page && json output.
* [ae0637f] debian/control: Limit to python >= 3.6 (fstrings).
* [ea2291c] views.py: API: Put auth back to explicit view code (fixes
'output=json' error handling).
* [dcfe093] views.py (ExceptionMiddleware.error): Add html snippet
error.
* [1b9c605] templates/mini_buildd/error_snippet.html: Use 'rfc8707'
object directly.
* [59e54a2] .pylintrc (notes): Add "workaround" to 'noteable' strings.
* [d62ffce] daemon.py: Remove workaround for
https://github.com/PyCQA/pylint/issues/3742 (fixed in pylint 2.7.2).
* [bce699f] devel (mbd_pylintgeneratedmembers): Update (this semi-
automation) to use sll code (not just modesl) and directly append to
'.pylintrc' in the desired notation.
* [fcb5554] .pylintrc (generated-members): Update w/ adapted semi-
automation. Adds "destroy" exemption (from Singleton metaclass).
* [2ef23eb] __init__.py (PyCompat): Add python (now 3.6) 'compat class'.
* [d54b212] views.py (RouteView.get_context_data): Use py 3.6 compat for
'removeprefix' (3.9 only).
* [56d6063] call.py (Call._call2shell): Jail shlex.join to PyCompat
(fixes: Run again w/ py 3.6/buster).
* [e2e9fff] control (Build-Depends): Upgrade p-d-registration deps to
2.2-5~ (fixes: Breakage w/ newer django versions).
* [b3462aa] gnupg.py (PublicKeyCache): Add key2id() support (fixes
adding manual apt keys).
* [92203d1] control (Build-Depends): Add dep on python3-attr (>=19) (for
twisted; fixes buster ports).
* [a7d3be5] devel (mbd_installdeps): Fix pylint3->pylint (former is
virtual only).
* [667f4aa] gnupg.py (BaseGnuPG.get_colons): Make public since we use it
outside class.
* [677f13d] models/repository.py (Repository.mbd_sorted_distributions):
Reverse order (newest dist 1st).
* [8d22df8] static/mini_buildd.css (body): Rm now-unecessary config for
details.
* [a9e7493] includes/tags/api*.html: Only use "required" when
authorized.
* [2b2289b] static/mini_buildd.js: Move "lengthMenu" default to
datatable tag.
* [de2c0c3] static/mini_buildd.css: Make main header (navbar) sticky.
* [4fcb17e] mini_buildd.css; Make forms inline in datatable (track).
* [9396a1d] mini_buildd.css: API: get rid of extra colors for api-auth
status.
* [104b034] tags/api.html: Move result div out of form.
* [d8eea61] mini_buildd.css: API: Remove some configs interfering w/
embed.
* [999a5a8] builtins.py (mbd_api): Use popup=bool, not css=embed|popup
(fixes redundant display=none).
* [c09fc39] tags/api.html, js: API: In script mode, do confirmation via
js confirm().
* [b5bc945] mini_buildd.css: Put border around "embedded" api result.
* [5b0c859] routes/tracker.html: Rather loop dists (not codenames), and
do it sorted.
* [158b1b8] models/repository.py: Use mbd_sorted_distributions wherever
appropriate.
* [b97f4c6] tags/api.html: Show home, reload on 'popup' only.
* [1dd958a] api/snippet.html: Show debug links on webapp 'debug' only.
* [fedb737] mini_buildd.css: datatables: Also make "details" td elements
inline.
* [9f56801] django_settings.py (STATIC_URL): We can simply use .uri now
(not join() && explicitly add /).
* [2fd9327] tags/api.html: Fix: URLs in form input must *not* be
explicitly urlencoded.
* [06ca00b] config.py: accounts.profile: Set to default
'accounts/profile'.
* [610e7a1] views.py: Add custom LoginView (url "login" =
"accounts/login").
* [f3aac23] django_settings.py (configure): Remove explicit
LOGIN_REDIRECT_URL, but set LOGIN_URL explicitly.
* [9562657] html: Use "login" (new custom LoginView), not "admin:login".
* [d714eb5] views.py: Rm custom LoginView again (turns out this will not
solve any problems ;(.
* [540eb62] base.html: Remove remaining (logout, password_change) refs
to admin namespace.
* [f920c7b] builtins.py: Add new tag mbd_accounts.
* [84f30c5] base.html: Re-do "accounts" menu: Use 'mbd_accounts' && some
style updates.
* [964b7de] mini_buildd.css: OMG: Make all submit buttons 'roundish'.
* [6a47ecb] routes/api.html: Embed api calls.
* [7359b86] builtins.py (mbd_accounts): Add support to add extra css
class(es) for form.
* [176e98c] tags/api.html: Use 'mbd_accounts login' if unauthorized.
* [f2e63fa] tags/api*.html: Remove uneeded parts from the now authorized
'branch".
* [c27e767] builtins.py (mbd_accounts): Cleverly guess "next" if not
given; especially, use REFERER if we have a snippet request.
* [01453de] base.html: Improve accounts menu (Fixes tidy error: no forms
allowed in summary).
* [e261976] api.py: setup*: Update to Daemon.models() (obsoletes
Daemon.meta()).
* [8916dd5] api.py: get_key->pub_key.
* [f4760b6] api.py: status: Result cleanup: Rm obsoleted "remotes,
packaging, building, crontab, events".
* [92b233c] api.py: get_sources_list->sources_list.
* [5b9bcbd] devel: get_dput_conf->dput_conf.
* [547707e] api.py: activate, deactivate: Make confirm-able.
* [82bb4e8] Rename module: distribution.py -> dist.py.
* [3245990] dist.py: Rename class Distribution -> Dist.
* [86320dd] changes.py (Changes): Fix self.distribution -> self.dist.
* [19ad5ef] dist.py: Update 'Dist' to new nomenclature && add doc.
* [acf8d0e] devel: pylint: Disable "fixme" for general check && fail on
any issue; add extra check to (just show) 'fixme' warnings.
* [6ad0833] cli.py: Put 'auth_log' hack to m-b.cli (fixes duplicate code
in m-b-ssh-* commands).
* [515578a] devel (pylint): Add extra run to show 'locally-disabled'
(in-code exceptions).
* [d391a26] Distribution, Source, Component: Rm __hash__() from (sort
support): Does not seem to be necessary.
* [b3674e8] Fixed in pylint: Remove false-positive workarounds for
https://github.com/PyCQA/pylint/issues/1553
* [f76d3ba] gnupg.py: Remove workaround for pylint crash:
https://github.com/PyCQA/pylint/issues/3742.
* [75782a0] pylint: Rm 'too-many-ancestors' locally-disabled (incr 'max-
parents' instead).
* [25fa737] models/base.py (Model.save): Rm unneeded signature-differs
local disabled.
* [2764cb8] mini-buildd-ssh-uploader-command (CLI.runcli): Improve
comment wording (so it's no pylint "fixme").
* [03e8ca6] client.py (Client.api): Convert 'in-code fixme' to 'doc
todo'.
* [eb1d7b3] __init__.py: Move NEWLINE helper to 'mini_buildd' with
proper docs.
* [46c154f] threads.py (DeferredThread.run): Re-add info log ('wtf note'
does not seem to apply any more).
* [d187696] setup.py (Scripts.__init__): Improve doc on Debian files
creation (don't label as "workaround").
* [8d874aa] .pylintrc (disable): pylint 2.7: logging-format-
interpolation, f-string-without-interpolation: No longer needed.
* [bcc2f01] api.py: Rename "show"->"ls".
* [006225a] api.py (snapshot calls): Prefix "snapshot" && improve
naming.
* [1dd7694] api.py: Use Mixins for command options (AUTH,
NEEDS_RUNNING_DAEMON, CONFIRM).
* [806d51a] api.py (SetupDaemon): Remove all GroupXXX from actual
commands.
* [69362f6] tags/accounts.html: Don't filter name as title.
* [000ff04] base.html: Accounts menu: Add custom name for all entries.
* [aa5521e] API: Get rid of old-style grouping altogether.
* [e2f85b7] builtins.py (mbd_api): Make 'full' default to False.
* [c69e4de] api.py (RepoSup): Remove, move tool to KeyringPackages
command.
* [98a93d6] api.py (StatusResult): Remove, merge into Status command.
* [07faab8] routes/api.html: details per cmd.
* [78dd192] models/source.py, dist.py: Add Ubuntu "hirsute".
* [6352572] builtins.py (mbd_datatable): Add 'page_length' option &&
default to 10.
* [ac15b60] mini_buildd.js: Confirm API call: Show args.
* [7dba714] tags/api.html: Fix: Hidden values need to use raw_value.
* [c5f7d8a] models/source.py (Archive.clean): Improve exception error
text.
* [8b979cd] models/source.py: Move vendor archives "lib" to dists.py.
* [7fc00f9] models/source.py, api.py: Move
Archive.meta_add_debian|ubuntu -> api.py.
* [1397939] models/source.py, api.py: Move Archive.meta_add_loacl ->
api.py.
* [85ac34c] api.py (SetupSources): --with-vendor-archives=Bool ->
--vendor-archives=List.
* [a2257e3] models/source.py, dist.py: Move apt keys to dist.py.
* [bb3d4eb] dist.py, models/source.py: Move sources setup data to
dist.CODENAME_SETUP.
* [827d552] dist.py: CODENAME_SETUP: Separate by vendor.
* [a7c66d7] api.py (MultiSelectArgument._r2v): Filter out empty items
from (comma-) separated list.
* [94c9b9e] models/source.py, api.py (setup_sources): Move
meta_add_debian|ubuntu to api.py, and make setup call codename-based.
* [c4b3b42] tags/api_arg.html: Typo fix ('unknown').
* [3a4ca6f] tags/api_arg.html: Better wording for multiselect custom
input.
* [61ec5cf] models/source.py: Move _get_or_create (setup) code to
api.py.
* [c989e91] models/source.py (PrioritySource.Admin): Move
mbd_meta_add_extras (setup code) to api.py.
* [9c56920] net.py (ClientEndpoint.login): Don't log csrf security
token.
* [803d3a5] api.py (SetupSources): Default to 'empty' for vendors
options; rename '--with-local-archives' -> '--guess-local-archives'.
* [7636011] devel (testsuite): Only use computed MBD_CODENAME for tests
(drops internal port test).
* [ec6b0d9] devel: Drop MBD_ARCHIVES, MBD_VENDORS in favor of MBD_SETUP
(args to API call setup).
* [b095f80] api.py (SetupSources): Apt cacher 'guess support' as
separate option.
* [1465c54] devel (MBD_SETUP_DESC): Default to guess local apt-cacher
only for archives.
* [9ac9435] devel (mbd_supertestall): Update for new MBD_SETUP.
* [a38e85f] devel (profile): Rm 'allvendors' doc (option is no more).
* [31170f8] devel (profile): Rm "testkeyring" option (not used, can now
easily be called manually).
* [3d30031] devel (profile): Rm "testpackage" option (not used, can now
easily be called manually).
* [becb657] devel: Remove (now unneeded) RESTART_HOOK support.
* [109c0e2] dist.py: Move "config" structures top.
* [7b2f6e5] client.py (Client.api): Error handling: Just use Rfc7807
object (no json extra step needed).
* [025e601] client.py (Client.api): No need for extra error logging.
* [ba7a67d] client.py (Client.api): Simplify interactive code (always
retry after action).
* [e369027] client.py (Client.api): Further simplify error handling.
* [d595920] admin/mini_buildd.html: "setup" api call should offer full
options.
* [9c7ddeb] api.py (SetupSources.update_object): New method to replacing
get_or_create.
* [1b5d2ac] models/base.py: Remove extra mbd_get_or_create (just to show
a log).
* [de48fb6] models/repository.py: Move meta ("wizard") methods to api.py
(setup).
* [344f348] chroot.py; Use _mbd_meta_add_base_sources() in api.py
directly, drop all per-Class variants.
* [ed11433] models/chroot.py: Move to meta method to api.py.
* [b7fbd2a] models/distribution.py; Move meta add_base_sources to
api.py.
* [9437b56] .pylintrc (max-module-lines): Update to 1500.
* [578bee7] models/distribution.py: Move to meta.*defaults method to
api.py.
* [e0da26f] .pylintrc: Consistently use 'x=y' format (not 'x: y').
* [856b4c6] setup.cfg: Move .pylintrc here.
* [2edf81a] setup.cfg: Remove empty pylint sections.
* [85597d0] *.py: mbd_meta_pca_all -> mbd_pca_all.
* [b13845f] api.py: setup: Use 'update_object' (instead of
'get_or_create') everywhere.
* [c2b95cd] templates/admin/base_site.html: Overwrite some strange CSS
values from django admin (fixes 'select' api display)
* [649055a] models/chroot.py (Chroot.mbd_get_backend): Simplify &&
document.
* [ca3a064] models/chroot.py: LVM backends: Add user error if LVM is not
installed.
* [9fb3978] models/chroot.py (Chroot.__str__): Don't append backend info
(only works when instance is saved).
* [cfc26fa] models/distribution.py (Distribution.__str__): Switch to
diff-friendly notation.
* [237cf1c] models/distribution.py (Distribution.__str__): Simplify,
only show base source + archs.
* [81a649c] api.py (SetupRepositories): Layout: Update to setup dict.
* [70761ae] api.py (SetupRepositories): Separate suite/layout config
dicts && cover debdev layout.
* [0121e74] api.py (SetupRepositories): Update SUITE_SETUP to use
'options'.
* [0c0057b] api.py (SetupRepositories): Add dict-like config for
REPOSITORIES.
* [fa1385c] api.py (SetupRepositories): Remove *meta* calls (merge into
run)
* [fb121c7] api.py (SetupRepository): Rename (singular).
* [e920b0f] api.py_ setup_repositories->setup_repository, make id &&
preset freely configurable.
* [560635b] api.py: Move repository setup dicts to dist.py.
* [3f59a08] dist.py: Merge all "setup" to one big dict (dist.SETUP).
* [ba6cd6b] api.py: setup_chroots: Merge last meta method.
* [56e8791] api.py: Merge all setup calls.
* [dc620ed] api.py (Setup): Better wording for archive && codename
arguments.
* [e1340e5] api.py (Setup): Add --update option (noop for now).
* [d6bd55c] api.py: setup: update_object->x_or_create (implements '--
update' functionality).
* [78ace8d] api.py (Setup): Sources: Update apt_keys on --update.
* [9d69950] api.py: Add mbd_is_security to Source (greatly simplifying
priority source setup).
* [de20e2c] dist.py: Update SETUP format.
* [fcd30cb] api.py (SetupRepositories): Put default_components into
dist.SETUP.
* [544d81c] dist.py: Update SETUP format: Option to add more options per
codename.
* [f8ca3f4] dist.py: Add "supported" setting for codename setup.
* [339809b] dist.py: Add get_codenames() helper && [SUPPORTED_]CODENAMES
(replacing CODENAME_SETUP_BY_CODENAME).
* [b8450bc] changes.py (Upload.request_builds): "dist" var should be
"distribution".
* [c61676d] dist.py: Move Dist.apt_allow_unauthenticated -> SETUP
(jessie workaround).
* [7d10aa6] dist.py: Move Codename.arch_optional -> SETUP (Ubuntu
workaround).
* [b910f15] gnupg.py (PublicKeyCache): Fix: Also import Ubuntu archive
keyrings if installed.
* [772bfd5] dist.py: Move Dist.produces_ddeb_appendix -> SETUP (Ubuntu
workaround).
* [2768026] dist.py: Re-add squeeze apt keys.
* [0f1028c] dist.py: (Re-)add squeeze as unsupported codename.
* [530be71] dist.py: (Re-)add lenny apt keys.
* [a199e69] dist.py: (Re-)add lenny codename (as unsupported).
* [052baab] models/source.py (Source.mbd_is_security): Move to dist &&
fix after SETUP update.
* [2d7a14a] dist.py: Move "no_lintian_suppress" to SETUP.
* [4a8986f] dist.py: Remove 'Codename' class (obsolete now everything
has moved to SETUP).
* [d3f844e] dist.py: Update module doc wording.
* [f3cfe29] api.py (Setup._run): Move "needs_uname_26" (lenny) to SETUP.
* [d7adeef] dist.py: Move "usually used mirror paths" to SETUP/per
vendor.
* [7c1b6f5] dist.py: Move "distro info" instances to SETUP.
* [ec622fd] api.py (Setup._run): Add && use shortcuts for all model
classes.
* [90456b0] api.py (Setup._run): Use x_or_create() for Daemon.
* [c93c1a3] api.py (Setup.x_or_create): Fix default instance creation
code (even though currently commented).
* [6245916] api.py (Setup.x_or_create): Update to dict-based result.
* [a37eaf9] setup.cfg (generated-members): mbd_check was listed twice.
* [1aabf27] devel (mbd_pylintgeneratedmembers): Fix: Remove manual
addition of 'mbd_check'.
* [47bcc2c] devel (mbd_pylintgeneratedmembers): Update to now write to
setup.cfg.
* [d4f9a67] setup.cfg (generated-members): Update via ./devel
pylintgeneratedmembers (django 'Model._meta')
* [15d2146] models/base.py (Model): Add (experimental) mbd_diff().
* [66a478c] api.py: setup: x_or_create(): Add diff to result.
* [ba30511] devel (testsuite): 'auto-setup'->'setup' && split keyring-
and testpackages in own test cases.
* [3f42656] api.py (setup): suite option: Omit unnecessary dummy
variables.
* [3502972] api.py (setup): Continue on --update=Yes even if not created
(for suite, layout, distribution).
* [0fe2508] api.py (setup): Add comment why not using x_or_create when
updating sources apt keys.
* [82fb6e3] api.py (setup): Conforming naming convention for the
distribution setup code.
* [5a92af0] dist.py: SETUO(layout): Add "stable" and "testing" to
"Debian Developer" (els eit won't work w/ default suites).
* [e0e8fac] api.py (setup): Fix SuiteOption creation.
* [ca06f5b] models/base.py (Model): Add helper to get a field's default
value.
* [4c0132c] api.py (setup): Distribution: Mv
"apt_allow_unauthenticated", "lintian_mode" to x_or_create args.
* [ec10bec] api.py (setup): Distribution: Mv "extra_options" to
x_or_create args.
* [b8e2afa] api.py (setup): Distribution: components/prio source: Use
set/filters instead of manually adding.
* [cedb92a] api.py (setup): Add "setup" shortcut and sync some naming
conventions.
* [b712aeb] api.py (setup): Distribution: Mv "architecture_option" to
x_or_create().
* [6b838da] api.py (setup): Change order: Setup chroots before
repository.
* [a75e8bb] api.py (setup): "--codenames" -> "--sources".
* [5b7b00e] api.py (setup): Add (for now, dummy) methods for setup
parts.
* [6cff03d] api.py (status): Remove no-op __init__.
* [2785152] api.py: Separate setup code.
* [a8962b6] api.py (setup): "setup" shortcut as class attribute.
* [89783ea] api.py (setup): Make "chroots" fully configurable
(--chroots, --chroots-from-sources).
* [8bd37b6] api.py (setup): repositories: Give list of repo/preset
tuples to create (default to empty).
* [d43c72b] models/base.py (mbd_diff): Only compare fields actually
given.
* [1e82280] api.py (Setup.setup_sources): Generate prio sources directly
in loop for sources.
* [3029596] devel (mbd_supertestall): Adapt args (after setup change).
* [ce76cde] httpd.py (Events): Spurious disconnects on SSL: Identify
direct cause (in twisted) && add workaround.
* [e9bf658] dist.py: Get "supported" flag from distro_info.
* [a70b8ad] __init__.py: Shortcuts: Move 'm_b.Daemon.models()' to
'm_b.mdls()'.
* [9f6335e] api.py (setup): Remove 'variable shortcuts' for model
classes.
* [2d0c14c] api.py (setup): Get rid of some unneeded comments.
* [ff21704] config.py: HOSTNAME now unqualified, add HOSTNAME_FQDN &&
properly set values from --hostname arg && and use these values
everywhere.
* [b49d70d] api.py (Setup.setup_daemon): Add "identity" arg.
* [273caef] api.py (Setup.setup_archives): Rm MsgLog about netselect-apt
(rather confusing than helpful).
* [00b0c1c] api.py (Setup.setup_repositories): Simplify 'suite option'
code.
* [2edf936] api.py (Setup.setup_sources): Cosmetic: Update comment.
* [d590ba0] api.py (Setup.setup_repositories): Simplify distribution
setup code.
* [7edc2e5] api.py (setup): Simplify repository+chroot setup code.
* [1198f21] api.py (setup): Fix order (repositories last).
* [cbb1158] api.py (setup): Only run repository setup (layout, dists,
repos) if repo ids given.
* [3efcc08] dist.py: APT_KEYS: Vendor keys should be capitalized.
* [97a5fc2] config.py (default_ftp_endpoint): Move code to compute
default ftpd_bind to config.py.
* [191c358] models/daemon.py (get): Create model instance singleton with
computed ftpd_bind default.
* [bf9b36a] api.py: Argument refac I: r2v/v2r => s2v/s2r, classmethod
only.
* [3d0e0e8] api.py: Argument refac II: Get rid of 'raw_value'.
* [8b34c44] api.py: Argument refac III: Add 'given' value && compute
actual 'value' via method/property.
* [dbdee1a] api.py: Argument refac IV: argparse support as method only.
* [e7e3083] api.py: ident->id_list for specialized Argument classes.
* [18aa777] config.py: Move 'DEFAULT_HTTP_ENDPOINTS' to config.py.
* [8439fb8] __init__.py (PyCompat): Improve doc for 'PyCompat' class.
* [7a114de] config.py: Make config.HTTP_ENDPOINTS str (description)
only.
* [0193a06] models/daemon.py (get): Fix: 'ftpd_bind' must given as
default only, not as id.
* [1bdf12a] models/daemon.py (Daemon.clean): Add (django) validation for
ftpd_bind.
* [8357612] api.py (Argument): Let "default" optionally be a callable;
add magic value '<server_default>' to make this accessible from
clients.
* [1eba57b] api.py (Setup): Add --ftp-endpoint (with callback default).
* [01ebcf3] api.py (Setup): '--identity': Update to callable (server)
default.
* [c97d51f] api.py (Argument): default(), value(), strvalue(): No need
to be property.
* [bd7f360] mini_buildd.css: API: Remove image from 'setup' call.
* [525cf00] mini_buildd.css: Add 'mbd-boxed' class.
* [33dab34] routes/api.html: Just use a boxed div to separate commands,
and don't embed (rather popup) results.
* [ef2c60d] api.py (Setup): Update doc && move doctests to module level.
* [4d1f007] devel: Add MBD_SETUP_COMMON && update supertestall.
* [a2b3a7d] devel (profile): Drop (redundant) defaults.
* [47051dd] devel: Drop mbd_setup and mbd_profile (less is indeed more).
* [e408be7] api.py (Setup.setup_sources): Use set() to iterate over
codenames (avoids unnecessary duplicate runs).
* [e96626d] dist.py (DistroInfo): Add custom classes for Debian/Ubuntu
to abstract new method mbd_supported(with_lts=X).
* [1d44bb5] dist.py (get_codenames): Update to use new mbd_supported(),
and support 'with_lts'.
* [f08fe9a] api.py (Setup): sources: Add '--sources-from-vendor-with-
lts'.
* [0b8dc5d] devel (mbd_supertestall): Use 'lts' sources (add 'wheezy'
(non-LTS) manually for now).
* [c811269] tags/api_arg.html: Fix: Don't display 'select' if there are
no choices.
* [7785310] api.py: Arguments: Add "header" support to archive some sort
of grouping when commands have many args.
* [52f6940] api.py (Setup): Add argument headers (web display only).
* [690ca1f] static: Rename debian_swirl.svg -> debian.svg.
* [9c293c7] tags/api_arg.html: Fix: Add value to non-choices
[multi]select input.
* [c5dbe5f] static/ubuntu.svg: Add Ubuntu "Circle Of Friends" logo
(seems fine, see https://ubuntu.com/legal/intellectual-property-
policy).
* [98ee164] api.py: Move generic option(s) top (with header).
* [e0e0a12] api.py: Add "default setup" constants (Default, Debian,
Ubuntu)
* [564a1a2] index.html: Add default setups to main page (for now).
* [96c8385] HTML menus (WCAG): Use <ul> for all menus.
* [7f3cdb4] HTML menus (WCAG): Use 'aria-labelledby' (both main menus
for now).
* [27cf273] HTML menus (WCAG): Only use one nav-element (with nested
"<ul>s").
* [e94a935] mini_buildd.css: (Re-)add mbd-float-right class.
* [4254adf] HTML menus (WCAG): Adapt base.html && CSS to work with ul
tree (including dropdown menus)
* [c5deea6] mini_buildd.css: Purge old header setup (with few merges).
* [0280af7] base.html/CSS: Use global 'mbd' class for body, update
header stuff.
* [1efd827] mini_buildd.css: Update (most) configs to 'body.mbd style'.
* [c70ed75] base.html: Menu: Remove {{uri.class}} (this does no longer
exist).
* [9a249f0] base.html: Menu: Update 'attention' class add code to use
'yesno'.
* [6acbf58] config.py: Add new MENU dict (replacing extra 'URI.menu'
flag).
* [0a2197f] mini_buildd.css: Menu: Avoid right cutoff for submenus.
* [293ee48] config.py: MENU: Update to list of dicts (prepare for
various types).
* [633d0ba] api.py (Power): Replace commands "activate", "deactivate" by
"power".
* [ea2d8a3] config.py: MENU: Support 'href', and move homepage link
there.
* [fa602e9] includes/menu_item.html: Outsource menu items display to
include.
* [7fe9b6b] admin/mini_buildd.html: Fix: Update to new api call "power".
* [821ae36] config.py: MENU: Support submenus && add "Documentation",
"Admin" submenus.
* [113ec7c] mini_buildd.css: Menu: Fix/improve submenu display.
* [52098fd] menu_item.html: Auto-add 'mbd-active' for active URI menu
items.
* [adbf8e3] mini_buildd.css: menu: Can't use margin on submenus.
* [bcaf1c7] route.html: Update to new "nav style".
* [4242236] mini_buildd.css: Bring 'grid' to all headers, not just main.
* [2e9ffc4] menu: Two navs for main menu && update menu aria labels.
* [24c7971] mini_buildd.css: Remove mbd-float-right again.
* [e6f6537] base.html: Add "triangle down" for submenus.
* [b234a3b] mini_buildd/setup.html: Add new location
'mini_buildd/setup.html'.
* [82b65df] __init__.py (is_alive): Add shortcut (may also be used to
avoid importing django early).
* [a985647] api.py (Power): Make this toggle by default (with new
is_alive shortcut as default).
* [e42f13c] includes/menu_item.html: Support "api" menu items.
* [b51db75] config.py: "power" menu item via config.MENU.
* [5530a12] api.py (SelectArgument.argparse_kvsargs): Allow positional
args to be actually optional, if we have a default.
* [2431112] api.py (Power): Switch to select arg "to_state" (allows nice
``power [on|off]`` notation w/ toggle when not given).
* [17e95ac] includes/menu.html: Macro to spew out whole (static) menus.
* [5e6b387] config.py: MENU->MENUS as dict, update macros (prepare for
multiple static menus).
* [f190103] base.html: User menu: Rather use "Logged Off" than django
default "AnonymousUser".
* [17bb615] includes/menu.html: Include the "nav" container (and aria
label) here.
* [4ccbb4d] config.py: MENUS: Rm "api" support again, update main menu.
* [5c7bc98] base.html: Add aria label for account menu.
* [20021c4] base.html: Retreat: Skip 'menu as config' idea (really
causes way more pain than it helps).
* [07289b2] More main menu improvements.
* [726d79c] base.html (menu): Move "power" to admin menu.
* [2aa10c4] config.py: More consistently rename "documentation" ->
"doc".
* [abd2edd] daemon.py (Daemon.attention): Add stubs for all possible
"attention" candidates, and improve tooltip.
* [3dfa8c6] models/base.py (StatusModel): Add mbd_attention: HR-string
if any object is inactive.
* [10a19d4] daemon.py (Daemon): Attention: Update implementation && add
support for builders, chroots and respositories.
* [4304222] base.html: "Box" the account/user menu.
* [3487460] mini_buildd.css: Restrict header config to main header
(body.header).
* [d9d99ea] html: Sync headers in all page-like htmls.
* [dbbd9b0] mini_buildd.css (body.mbd>header): Merge dupped config.
* [d13d1c7] base.html: Fix footer (grid setup).
* [d493849] index.html, setup.html: Omit section, main content should be
just in main.
* [b0270c8] mini_buildd.css (body.mbd>main): Add main header config.
* [52e7774] route.html: Put nav to main header.
* [b36f6ac] views.py (RouteView): Default to None (not []) if there are
no entries.
* [29b5f1b] route.html: Fix for "no entries"; add (sort of) TOC.
* [4ef7541] net.py (Endpoint.geturl): Add support for a custom user
name.
* [06b71a8] api.py (Command.command_line): Add command line generator.
* [0440eb6] mini-buildd-api (CLI): Initial support to parse API command
line strings.
* [14d093a] api.py: Support to parse API command line strings.
* [3d15109] api.py (parse_command_line): Make argparse raise only (not
exit) on error. See https://bugs.python.org/issue41255
* [61c1bf2] views.py: Make "SetupView" accessible by superuser only.
* [c269183] views.py: Switch to use non-absolute imports for django
decorators.
* [04deac4] views.py: Make login_required for AccountProfile view.
* [b9d228c] builtins.py: (Re-)add 'mbd_next' tag.
* [c00814d] tags/api.html: Unauthorized: Be sure to use the same HTML
elements/classes here, to make CSS styling look the same.
* [d727df5] daemon.py (Daemon): Add set|get_setup() (hide that we
(mis)use 'pickled_data' for it).
* [bed4a6e] api.py: Update && fix setup command globals; add function to
get saved setup.
* [ba98b82] daemon.py (Daemon.sync): Don't blank out pickled_data (we
use it again now).
* [a835f07] setup.html: Fix mixed up headers/titles.
* [eb05f9e] api.py (Command.from_command_line): Constructor from command
line.
* [210e1f9] models/base.py,daemon.py: Make pickled_data (mis)use for
'setup' visible/documented via django.
* [54b703c] models/daemon.py (Daemon.clean): Add validation for
'pickled_data' field now used as command line setup.
* [f7ac00b] api.py (Argument): Add VALUE_TYPE, validation && ivalue (for
command line).
* [aef9af1] api.py (RaisingArgumentParser): Fix pydocstyle warning
(missing .).
* [0f655c9] api.py (Setup): Add --set (save command line).
* [d284ff6] daemon.py (Daemon.__init__): Add heuristic when to blank
pickled_data.
* [7e9f7a7] models/daemon.py (Daemon.clean): Remove "setup" validation
(not a good idea after all).
* [12cc762] api.py: set=True, update=True for predefined setups.
* [b18c685] api.py: --set -> --save.
* [944ccda] api.py (Command.__init__): Use dict comprehension for
self.args.
* [3ef2765] api.py (Command.__init__): Simplify args gathering code.
* [755fe0f] api.py (Command.__init__): Improve debug logs (and enable
for now).
* [3788e14] api.py (Command.__init__): args handling: Yet another
cleanup of current code (before real fix).
* [d570ede] devel (MBD_SETUP_COMMON_DESC): --save setup.
* [6f8abcf] net.py (Endpoint.geturl): Run urlencode with doseq=True (no
need for comma-separate lists).
* [4fbd9f8] client.py (Client.api): Add debug log to see command args.
* [0026fba] mini-buildd-api: Update to upcoming "from_argparse()".
* [298c1a6] views.py: APIView: Update to upcoming "from_request()".
* [46033d6] api.py (KeyringPackages): Update --distributions to "server
default"-style.
* [2e6d04b] api.py (Command): Add from_request, from_argparse
(obsoleting api_args).
* [45837f7] api.py: Rm obsoleted django import.
* [3e2046d] builtins.py, api.py: Command: Add from_templatetag() for
mbd_api templatetag.
* [1fbdcee] api.py (Argument): Simplify: Drop validate(), default() &&
misc fixups.
* [ddc7091] api.py (Command): Add/sync doc for all "from"-Constructors.
* [a2ca0ad] api.py (Command.from_argparse): Fix: Rather use cli_value we
already have.
* [395bbdc] api.py (Argument.__str__): Add for convenience (debug).
* [78d2985] api.py (Command.from_argparse): Distinguish between "str"
and other value types.
* [e4a9406] api.py (Command.from_templatetag|argparse): Fix: Use 'is
None'-style for value.
* [a7e9015] api.py: Let BoolArgument be 'false' by default.
* [cb16849] api.py (BoolArgument): Make default=false mandatory (so we
can use it naturally as --option in command lines).
* [f6476a5] api.py (BoolArgument): Command line: Make normal option
again ('--with-foo', not '--with-foo True').
* [232019b] api.py (BoolArgument): Web: Make (bool) options 'checkbox'
again.
* [3e42b89] api.py (Power): Use 'OnOff' enum; result to
state/previous_state instead of status.
* [c4d213d] api.py (BoolArgument): Use TRUE,FALSE (str) constants.
* [b2969c7] api.py: Move STATUS_RESULT_DOC to status only.
* [4eb77b4] api.py: Move all "set" code from update() methods (to server
defaults).
* [7d3c8b7] api.py (Argument.choices): Allow choices via function.
* [7eca1cc] api.py: Move all run-time value functions to one place.
* [7569e49] api.py: Remove RepositoryPattern class (not used).
* [47d5495] api.py (Repository, RepositoryRegex): Update to choices via
function.
* [d99431b] api.py (MultiSelectArgument.argparse_kvsargs): Fix: Don't
call choices().
* [4d25b77] api.py (Distribution): Update all 'dist' special arg classes
to 'choice functions'.
* [dae6509] api.py: Update 'codename, suite, sources' special arg
classes to 'choice functions'.
* [910e5df] api.py (Power._run): Result: previous_state -> state_pre.
* [908440c] api.py (Argument): Remove support for update().
* [2fdadb8] MsgLog removal: Bulk-replace all calls to MsgLog() by LOG.
* [8305c85] MsgLog removal: Fix all errors w/ static checkers (`devel
check`).
* [aad942f] MsgLog removal: models: Remove "request" from all (custom)
methods.
* [92be18a] MsgLog removal: api.py: Remove 'request' from all custom
model calls.
* [7989450] models/msglog.py: Delete MsgLog impl.
* [e4de753] models/base.py,source.py: Remove three now unneeded extra
LOG calls.
* [03fd642] css, html: Remove all support for messages.
* [59a8b88] daemon.py, webapp.py: Fixup mbd_action calls.
* [332b65d] django_settings.py: Remove django message loglevel
configuration (messages now only used by admin).
* [ef924d1] cron.py (_Job): Log exception on cron error.
* [21fcee6] client.py (Client.api): non-interactive: If possible, raise
API's RFC 7807 result (improves error handling).
* [5ea6cbd] api.py (Argument): Add "allow_none" (value) option; add
validate() method.
* [33501c5] api.py (SourceVersion): Use 'allow_none=True' (removes fixme
"false2none").
* [523bcc9] devel (MBD_SETUP_DESC): Default to none (i.e., setup for
current dist only).
* [b108c54] api.py (Setup.setup_repositories): Get 'with_rollback' from
layout, not suite setup (Fixes: Rollbacks per setup).
* [66ac74e] api.py: Update Repositories/Codenames special arg classes.
* [f0da8ac] api.py (Argument.argparse_kvsargs): help: Add server default
hint (the name of the function).
* [f504936] api.py: Update naming of (some) value functions.
* [f7f6ede] api.py: Update Distribution(s) special arg classes.
* [fe37c05] api.py:Repositories, Codenames special args: Back to
'id_list' as arg.
* [22e8232] api.py (power_toggle): Update all run value functions to
meaningful names (shown to the user).
* [47e04f6] api.py (Status): Remove (commented) debug code line for
MsgLog (which is no more).
* [b513db3] api.py (Status): Simplify code (status result no longer used
elsewhere).
* [8b985da] api.py (Status): Update doc, json result && simplify code.
* [53ddcd9] daemon.py (Daemon.get_status): Remove (no longer used).
* [e1842e7] api.py (Power): No need to state server default extra (it's
automatic now).
* [4555f4e] api.py (Cancel): Add choices && result.
* [a297503] api.py (PubKey, DputConf, GetUploaders): Update API doc.
* [19edaa1] api.py (Uploaders): Rename from GetUploaders.
* [7d97c84] repositories.html: Update 'sources_list' call args.
* [741ddad] api.py: Make "Status" very 1st command.
* [a1ecdaf] api.py: Re-oder all api commands (sort of 'light to heavy').
* [b011240] api.py: Add headers "Consume, Contribute, Maintain": Roughly
categorize api commands (for api overview only).
* [f2aad28] devel (apt-getters): Update && extend test calls.
* [9fe309d] mini_buildd.js: Add support to show actual command args.
* [3a99810] api.py (SourcesList): --suite -> --suites as multiselect.
* [7416006] api.py (Command.from_request): Rather 'unconsider' None, not
bool(http_value).
* [fa09766] api.py (SourcesList): options, snapshot, mirror options: Use
'allow_none'.
* [1d18f8d] api.py: Update doc notation ("Capitalize, end with .") up to
sources_list.
* [bf2c6c6] tags/api_arg.html: text: Properly deal w/ new allow_none.
* [83024d8] tags/api_arg.html: Argument.value|choices|default may run
code to determine resp. values; running these only once via 'with'
variables does speed things up.
* [37c152b] misc.py (singularize): Add poor man's singularize().
* [97410d8] api.py (MultiSelectArgument.argparse_kvsargs): Let's metavar
be singular.
* [813be54] misc.py (singularize): Add "s" plural (Huts -> Hut).
* [3876c99] api.py (Ls): Update doc.
* [5b969d6] api.py (Argument.__init__): argparse_is_positional() ->
is_positional().
* [ec3dd51] builtins.py (mbd_api): Make positional mandatory (don't call
value here).
* [87eeb0a] api.py (List): Update arguments and doc.
* [ce2db70] api.py: Put 'Find' after 'Ls'.
* [5a02f69] tags/api_arg.html: text: Always make required when
positional.
* [a9c7ecf] api.py: Update/fix "version" arguments (doc && code).
* [87f2c75] api.py: Sync specialized arg classes (kwargs).
* [51f402d] reprepro.py: Improve 'find' code && fix: check for None not
bool.
* [fada36f] api.py (Command.from_request): Improve code && fix: Discard
empty values (from form submit).
* [3adaaab] api.py (Ls): Add --version, --minimal-version limiters.
* [0f33321] api.py (Find): Be literally 'Ls', but failing on no results.
* [81acd08] routes/api.html: Misuse fieldset for box w/ label.
* [0caa023] api.py: Run values: Use general distribution helper, add
migratable_distributions.
* [828e0ea] api.py (Migrate): Update dist choices to migratable only.
* [784ea8f] api.py (UploadOptions): Remove in-method import.
* [642ca64] api.py (Argument): Make _s2v, _v2s non-private (de-facto
public, and no reason not to be).
* [6483555] api.py (Retry): Fix arg order && make version non-
positional.
* [dbe6c3e] package.py (_port): upload(): Rather use force=True
(although when porting, we should have a clear tmp directory).
* [ffea722] events.py, api.py (last_failed_bkeys): Add more convenience
tool functions (later needed for 'retry').
* [4035fc5] api.py (Retry): Rewrite to work with new events dir/bkey.
* [6ff82d7] api.py, events.py: Move convenience run-value functions to
api.py (only used there, and they are whacky).
* [8fa0dd3] misc.py (attempt): Extent to allow for return values.
* [e795591] api.py: Protect run-value convenience functions for events
via attempt.
* [fa1e054] api.py (Retry): Rewrite implementation again, now with over-
the-top validation ;).
* [dea4f09] api.py (Argument): Add "required" flag ("needs user input").
* [bb17405] api_arg.html: Update HTML 'required' to be set via
arg.required.
* [0474153] api_arg.html: select: Always make required (hardcoded).
* [f838fc9] api.py: Bulk-sync ARGUMENT notation for all API calls (and
yes, we love long lines).
* [33b84ce] views.py (AccountProfileView): Add user subscriptions to
context.
* [b876ab3] builtins.py (mbd_api): Show positional arguments as
mandatory only if value is not given.
* [4a5aa73] mini_buildd.css (div.mbd-api-results-container): Explicitly
set 'text-align: left;' (it can implicitly be otherwise).
* [2fc9e9e] api.py (Command.__init__): update() must be called last
(after self.request is set).
* [5eda23a] api.py (Argument.required): Change to function, not class
var (may change if value is set).
* [fe74ace] api.py: Replace "Subscription" by re-implementations
"Subscribe", "Unsubscribe".
* [b8b1125] account_profile.html: Update subscriptions to new
subscribe/unsubscribe (now more coneniently shows list of subs in
datatable).
* [37dd35f] routes/tracker.html: Update to "subscribe".
* [c8aea8b] tracker.html: Update to new 'ls' syntax.
* [f44c7fa] api.py (Distribution, Source): Add support for extra doc
string (use for subscribe).
* [c041b05] api.py (Command): Remove "update" support. Only used for
'port' (and not really a huge benefit there).
* [4302727] api_arg.html: text: If value is None, use "" as form value,
not "None".
* [a8097f8] api.py (Argument.v2s): If value is None, use "" as strvalue,
not "None".
* [4a09d36] api.py (Argument): Better (correct) name: ivalue() ->
icommand_line_value().
* [4c3b0c4] api.py (get_setup): Fix: Show usable log when saved setup
can't be parsed.
* [93c83b5] api.py (BoolArgument.icommand_line_value): Empty generator
(bool are now simple --with-foo options -- fixes computed command
lines).
* [e1108ca] src/mini-buildd-backup: Add tool to backup && restore (to a
fresh installation) a mini-buildd instance.
* [42f9b01] devel (MBD_CODENAME): Update bullseye codeversion (11), add
bookworm.
* [bc1a331] dist.py: bullseye release: Add new apt keys: archive,
release, security.
* [919febc] dist.py: bullseye release: Add 'buster-backports-sloppy' for
default buster setup.
* [6bd2721] dist.py: bullseye release: Add 'bullseye-security',
'bullseye-backports' for default bullseye setup.
* [5faf485] dist.py: APT_KEYS dict: Use better notation.
* [e7391b2] dist.py: Update SETUP w/ "lintian_options" (to be used next)
&& add doc about findings on "--fail-on[-warnings]" option.
* [2db315a] dist.py (get_lintian_options): Add function to get lintian
options (with fallback).
* [36c2b5e] dist.py: SETUP: Debian codenames: Order newest first.
* [5f2f611] dist.py: SETUP: Ubuntu codenames: Order newest first.
* [b271861] dist.py: Update lintian_options to be lists, handled with
shlex.join. Drop "no_lintian_suppress".
* [105c682] dist.py: SETUP: Correctly setup "warnfail" f.a. (older)
codenames.
* [6a7ed31] dist.py: Fixup all keys for all sources post-bullseye (i.e.,
definitely covers all current signatures, removes unused where found).
* [cbd5851] api.py (Setup): Add --sources-from-vendor-with-all option.
* [62ac7b4] gnupg.py, models/source.py: Improve per-source signature
logging.
* [3249f43] models/base.py, daemon.py: Move the description of 'setup'
use of pickled_data to Daemon model.
* [cc492b2] models/*.py: Exclude 'pickled_data' from 'prominent' Models.
* [f907ca6] models/daemon.py (Daemon): Update default keyserver:
pool.sks-keyservers.net (dead) -> keyserver.ubuntu.com.
* [75dd08f] gnupg.py: Move 'keyserver support' to 'PublicKeyCache'
completely (also properly errors out now when --recv-keys skips import
on 'newer' servers).
* [37e5638] api.py: get_setup(): Return None if there is none, not some
default.
* [2f83b56] api_arg.html: multiselect: Only 'require' if arg.required is
set.
* [8180e43] api.py (Argument): Add default method.
* [546a71c] api.py (Argument.set): Make bool expression more readable;
add log.
* [46ebb52] api.py (default_chroot_backend): Add run value for chroot
backend.
* [2226ed9] api_arg.html, *.py: select, multiselect: Always use html
input "text" (w/ datalist).
* [61f7333] api.py (Setup): Fix argument convenience header.
* [97d5d37] api_arg.html: text: Remove "multiple" attribute.
* [561983d] api_arg.html: Fix value for checkbox/bool.
* [379bb5a] api_arg.html: Add convenience button to clear text value
(js).
* [fbf96cc] api_arg.html: textarea: Use given as value.
* [aa88503] api_arg.html: Only "prefetch" choices.
* [010b553] api.py (Argument): Add strdefault, update strvalue.
* [0646a91] api.py: Simplify from_request, from_templatetag.
* [3ef1f2e] api.py (Command.__init__): Remove option that given_args may
be Arguments themselves (not used).
* [27d7167] api.py (Argument): Handle all value details is
Argument.set(), simplify && remove redundancies from_* constructors.
* [b6f1c40] api.py: Xommand: from_* constructors no longer necessary.
* [9f11622] models/daemon.py: Move "setup handling" completely to model.
* [8efc771] api.py (Setup): Fix: --chroots must accept any chroot, not
supported only.
* [5fc5d3b] api.py (Command.icommand_line): Fix: Rather use 'not None'.
* [8ff6547] api_arg.html: Add per-text-arg convenience buttons: reset,
default.
* [e7c02bf] api.py: Better names to all *Argument classes.
* [736aa35] api.py (ListArgument.s2v, v2s): Use "" as None.
* [f3d905b] models/daemon.py: Doc: Fix rst syntax (hard sphinx error).
* [277e460] api.py: Remove allow_none, just use default for that.
* [6d36e3a] api.py: required -> needs_value and other cleanups.
* [9a624f2] api.py: Add doc for generic Argument class && some code
fixes.
* [0fb467a] api.py: Add strgiven (always use that in forms), validate in
value().
* [44c40c6] api_arg.html: input: Use 'placeholder' to hint default when
value is empty.
* [c3373c7] api.py (ChoiceArgument.value): Add actual choice validator.
* [4e608f4] client.py (Client.api): Make it take a full Command instance
(not name && args).
* [f61a3b5] builtins.py (mbd_api): No need to check for empty values w/
new Arguments.
* [f1206a3] api.py (Command): Remove some obsoleted code.
* [f604e47] api.py (Argument.set): Fix: yield "None" on empty list.
* [d153cbc] api.py (Setup): Fix silly use of mutable objects from
arguments (would mysteriously change argument defaults ;).
* [5975aed] api.py (ListArgument.icommand_line_value->given): Fix: We
should yield from given, not value.
* [8e3f8ee] api.py (Command): Introduce iarguments() as (future)
replacement for ARGUMENTS (obsoletes copy).
* [0ec4d69] api.py: Bulk-update all Commands from ARGUMENTS ->
iarguments().
* [8d0baec] api.py: Remove ARGUMENTS completely.
* [5f699bd] api_arg.html: checkbox/bool: Fix 'True' value.
* [460857d] api_arg.html: "Default" button obsolete (we see default now
when cleared).
* [e009f16] api.py: Add doctest (Setup from command line and back).
* [f4e8a51] api.py (Argument.set()): Also set to None on False bool
value.
* [1aae965] api.py (Argument.__str__): Improve (debug).
* [c9c6d88] changes.py (Base._upload): Rather use "ftp_cls" not "FTP"
(get rid of the unnecessary local check disable).
* [5416051] api_arg.html: text: If there is strdefault/placeholder,
adapt size to it.
* [f2c5def] api_arg.html: Revive Default button (still useful); only
show buttons if action makes sense.
* [1daf0bc] mini_buildd.css: Some rather random adaptions to make api
forms look better (or at least different).
* [6478f02] builtins.py: Update helpers to access/set vars in templates:
mbd_get() ('identity function'), mbd_dict_get ('get value from dict').
* [37da13f] api.py (get_setup): Update to deliver dict w/ 'saved' info
&& deliver Setup() default on non-saved.
* [cc886f8] setup.html: Update to new get_setup && initial new 'common
main HTML strcuture'.
* [f2fc361] mini_buildd.css: Drop extra 'mbd-boxed' class in favor of
structural boxing of sections.
* [09a3830] route.html: Update to new main layout w/ sections.
* [a56ba16] index.html: Update to new main layout w/ sections.
* [74dd87c] mini_buildd.css: Put box around *any* section beneath main.
* [06d9e26] routes/api.html: Update to new main layout w/ sections;
generalize special "api header" (cmd && arg) support.
* [c0ec844] mini_buildd.css: "aside" no longer used.
* [de6f25c] mini_buildd.css: Re-order, some cleanup.
* [3a043f3] mini_buildd.css (div.mbd-api-results-container-popup): Don't
border "embed".
* [350d871] routes/tracker.html: Properly use sections.
* [69902cd] api.html, css: Minimize use of classes: 1 unused, 4
obsoleted.
* [70e9684] mini_buildd.css|js, api.html: Minimize use of classes and
ids.
* [161e5e8] tags/api.html: Container: Make proper nav (with ul &&
label).
* [b9e366e] tags/plain.html: Update to proper nav (label, ul).
* [42f269c] builtins.py (mbd_plain): Remove support for "as_detail".
* [1d0ef6f] mini_buildd.css: Make 'new style api css' to only act on
'body.mbd'.
* [70d42e8] tracker.html: Update to proper nav (ul, label).
* [222d58c] builders.html: Update navs (ul, label).
* [18ca492] api.html: Better id: container -> api-result-container.
* [9c5bc1d] static: Add close.svg, update reload.svg (from openclipart).
* [0a9147f] api.html: Make results not popup here.
* [bda74a6] tags/api.html: Always use Close + Reload, both w/ image.
* [9c7dafe] mini_buildd.css: Colors: Go with 6 (named) colors only.
* [b254a8b] mini_buildd.css: One segment for all 6 "log" levels.
* [1ee7562] admin/mini_buildd.html: Drop placing api call directly here,
rather hint to /setup. Also fixes GUI quirk.
* [80ee7db] mini_buildd.css (:root): Add base --bg-color (analog to
--color).
* [2841bcd] mini_buildd.css (:root): Fixup bg colors; downgrade to 4.
* [1fd6f00] /mini_buildd.css: Rm wrong 'api args' config (not really
improves things anyway).
* [537f806] mini_buildd.css: Cosmetic: Update doc comments for API.
* [805109d] mini_buildd.css (:root): Use hsl() (not hex) for greys &&
base fg color.
* [0dabf7a] mini_buildd.css (:root): More color updates/simplifications.
* [52dc1d6] builtins.py (mbd_api): Fix: Use needs_value() for mandatory.
* [9239ffb] tags/plain.html: Don't use extra 'section' here.
* [f8f3742] mini_buildd.css: Add generic classes (mbd-foo) for the six
'states'.
* [65439c6] mini_buildd.css: mbd-hidden: Unused, remove.
* [82a7dc4] builtins.py (PlainFilter): Update to generic css 'state'
classes.
* [fbe034f] builtins.py (Css): Add mbd_cssmap: Mapper helper for css.
* [fb84164] Update 'sbuild_status' to css mapper.
* [9bd1dba] Update 'sbuild_check' to css mapper.
* [4a0a197] Update 'events' to css mapper.
* [0d8ac91] builtins.py: mbd_cssify: no longer used, remove.
* [128b586] admin/mini_buildd/change_list.html: Move js-Hack to html.
* [6a8eba6] Update 'admin_actions' to css mapper (mapping in js for this
hack).
* [b8eb866] Update 'model_status' to css mapper.
* [82d8df6] Update 'mbd-dist-*' classes to generic ones.
* [df29793] Update 'mbd-[in]active' classes to generic ones.
* [a92667e] mini_buildd.css (:root): Update notation, order.
* [4683f1c] mini_buildd.css: Improve drop down menu.
* [5ff8871] mini_buildd.css: dropdown nav fixups: Also highlight
dropdown items, don't conflict with api html container.
* [2a7908d] models/daemon.py (Daemon.mbd_setup_v10x2v20x): Fix
(previously not-updated) save call.
* [70dde69] control: Make lintian a recommendation, and add piuparts,
autopkgtest.
* [18805ed] mini_buildd.css: Get rid of all extra margins/paddings.
* [6b55365] mini_buildd.css (form.mbd-api): No need for extra setup for
select/textarea.
* [b993ee3] mini_buildd.css (:root): Re-order colors.
* [272e154] mini_buildd.css: Obsolete class 'mbd-datatable'.
* [5907ff6] mini_buildd.css: Bulk-prefix (body.mbd) remaining parts.
* [6954c0c] mini_buildd.css (:root): Order && doc update again.
* [78e430d] routes/crontab.html: Update to new css.
* [7c5cecb] account_profile.html: Update to new css.
* [46fee68] *.html: Bulk-update to new (limited) css classes.
* [5193298] mini_buildd.css (body.mbd>header): Fix stray comment close.
* [c9dddd8] mini_buildd.css: Fix: Always use 'background-color', never
background (shortcut).
* [d2f5738] base|index.html: Move "power" menu from main (admin) menu to
home.
* [8729a92] mini_buildd.css: +mbd-highlight, mbd-unauthorized->mbd-dim.
* [9203375] images: Add power_on|off svgs (from openclipart).
* [4aa38c2] index.html: Power state via images. Obsoletes mbd-stopped
class.
* [f980774] mini_buildd.css: Cosmetics, reordering.
* [7d57c99] mini_buildd.css (body.mbd>main>header): Obsolete explicit
nav config.
* [0e26b0f] mini_buildd.css (:root): More cosmetics, some fixes.
* [6f00992] mini_buildd.css (:root): Move body-header color to var.
* [3883d41] mini_buildd.css: Add mbd-body-menu-active.
* [39787e9] mini_buildd.css (body.mbd a): Inherit colors for anchors.
* [58df184] mini_buildd.css: Simplify img handling: Omit mbd-logo, go
with mbd-icon only.
* [e94e07c] builtins.py (mbd_img): Fix clipboard: Get rid of clipboard
arg, use button.
* [67a243a] builtins.py (mbd_img): Remove "onclick" arg (rather use
button around img for that).
* [52e078b] builtins.py: Rm href support from 'mbd_img'; remove
'mbd_home'.
* [11fa83d] routes/events.html: Update "Action" to menu.
* [0c15df9] routes/events.html: Simplify: Type+Details->Results, one
menu.
* [5f20d49] tags/sbuild_status.html: Don't use 'spaceless' in tag.
* [5a7172d] mini_buildd.css: Datatables: No need for extra form/input
setup (nav already does this).
* [7390dee] api/ls.html: Update to nav, Migration && Menu coloms.
* [c554974] api.py (Ls.run): (Initial) fix for buggy rollbacks/json.
* [a48c24a] mini_buildd.js: api: Add helper vars: container,
args_serialized, get_uri.
* [421be7e] mini_buildd.js: api: Omit redundant 'form' argument.
* [fd4199e] mini_buildd.js: Discard empty api form arguments.
* [bcf35ad] mini_buildd.js: api: Explicitly use output=snippet on js api
calls.
* [270625e] tags/api.html: Use menu item w/ complete "Page Call" instead
of mere extra args display.
* [d31ac48] api call:: Misc code cosmetics.
* [3ba67ad] dist.py: Add doctest: get(rollback=False).
* [57be9b0] reprepro.py (Reprepro.ils): Fix result dict to 'recommended'
order: distribution,source,version.
* [4263de9] api.py: Add "Ls2": Simplified, will eventually replace Ls.
* [02c86ab] api/ls.html: Fix title (update to new ls args).
* [b3c5d5e] api/snippet.html: Simplify, rm debug.
* [f01494a] api/page.html: Fix title.
* [31e2463] mini_buildd.css: Configure "aside": Box, float right.
* [c522c30] api/snippet.html (Refine Call): Add as "aside".
* [f2e23ae] api/ls.html: Remove "Component" from table.
* [b218641] api.py: Ls2: Add "uri".
* [d8167ce] api/ls.html: Fix: Only show event link if we have a version.
* [21f0f6f] api.py (Ls2): Add uploadable, migrates_to, is_migrated.
* [8be4dd5] tags/api.html: Don't use empty href -- lintian dont like...
* [3a77736] api.py (Ls2.run): Fix: use bool for 'is_migrated'.
* [4edd91d] api.py: Make Ls2 the real Ls (ls apt display mostly works).
* [09083d5] api/ls.html: Make rollbacks display functional again.
* [38bb4c0] api/ls.html: Put rollbacks in its own table.
* [f1008c1] api/ls.html: Make rollbacks table dataTable.
* [b2f7fb6] mini_buildd.css: Drop custom dataTables styles -- we should
be fine just with the builtin style classes.
* [77fd5ef] mini_buildd.js: api: urldecode params (for confirmation
text).
* [7bb7566] mini_buildd.js: Instead of decoding previously encoded,
rather produce human-readable text from args array directly.
* [3bfd8c5] mini_buildd.js: Oops -- them javascript variables are global
by default...
* [3c65d17] api/snippet.html: Simplify.
* [1272300] routes/tracker.html: Simplify && add ls call for "all".
* [223f663] api/ls.html: Update table to have
Migration,Extra,Rollbacks,Menu as 'non-data' columns.
* [5fd883a] api/ls.html: Don't use section here.
* [8f54671] routes/tracker.html: Fix missing section close tag.
* [84a1a84] api/snippet.html: Don't use section here.
* [cda4f30] html: Remove ARIA labels for now.
* [cd18434] html: Get rid of any '/>' (element close) shorthand
(presumably cargo-cult, we dontwant ;).
* [0e0f976] api/ls.html: Extra: Fix order/wording.
* [ae18f96] builtins.py (mbd_api): Replace "full=False" by
"hide_options=False" (i.e., rather show options by default).
* [6027619] api/ls.html: Update "Migrate" column.
* [baf2043] builtins.py (mbd_datatable): Update to support no ordering.
* [9feef98] api/ls.html: Make table non-ordering.
* [a74ae5b] base.html: Fix noscript warning (class, wording).
* [8d0c1a3] builtins.py (mbd_api): Args: Drop "popup" in favor of
"output".
* [ecc6f7f] html: Drop extra "tracker". Just 'ls' will do fine.
* [1096c70] builtins.py (mbd_datatable): Add support for
searching,paging,info options.
* [869983e] api/ls.html: Minimize rollbacks datatable (no order, no
searching, no info, no paging).
* [9f02182] builtins.py: Add mbd_api_popup: Shortcut (for HTML) to
create a popup.
* [1696aa8] html: Bulk-update api candidates to "popup" variant.
* [ea3a708] devel (mbd_curl_admin): Add function to run request logged-
in (curl).
* [5ab91f6] devel (tidy): Switch to use logged-in requests.
* [3410f09] html: Fix three errors found w/ tidy logged-in.
* [30dcb77] devel (tidy): Add more tests.
* [8a90fb0] mini_buildd.css: Make body menu sticky.
* [9826c5c] base.html: Move api-result-container to base template (have
it once per page, not once per command).
* [d75dcfb] setup.html: Make api setup calls popups.
* [ccfa8db] devel: curl_admin -> curl-admin.
* [f4da8a1] builtins.py (mbd_api): Make token / element ids mostly
obsolete.
* [1201204] devel (mbd_changes): Use time for final logged-in curl call
(for debug).
* [88273a4] api/js/css: Popup: Make truly centered && dynamic size.
* [ba7b93b] mini_buildd.css: Grid class 'mbd-grid-lcr' (rather than
repeating it).
* [6769c3c] mini_buildd.css: Cosmetics, order.
* [ff962c4] mini_buildd.css (:root): Make all colors hsl-colors.
* [3201ea3] mini_buildd.css: Sync notation.
* [045ed10] mini_buildd.css: Rename api-result-container->api-popup &&
use section for popup snippet.
* [8a3446a] mini_buildd.css: Simplify popup css.
* [39d380b] mini_buildd.css: Simplify api header css.
* [6358a6b] mini_buildd.css: Deprecate mbd-api-header class.
* [d2955bf] mini_buildd.css: More CSS cleanups, removals, comments.
* [232f54f] tags/api_arg.html: Update wording for X,D,R value buttons.
* [580164e] mini_buildd.css (:root): Fix sticky header to not move; make
footer sticky as well; fixed bg for sections based on level.
* [a4835b5] mini_buildd.css: popup: Add max height (and width) and
enable scrolling.
* [5b2a068] html: Update API page, snippet, ls.
* [8d90382] devel: mbd_hack-html: Bad hack to hack HTML.
* [53c6756] html: plain, routes, builds, scandir: Some basic adaptions.
* [d534d5c] mini_buildd.css (body.mbd header): "a" config for headers
only.
* [f5873c6] mini_buildd.css (body.mbd): Add bg for "pre".
* [eacdfac] svg: Rename data->file, browse->dir.
* [e4b34d3] plain.html: Fix when doenload_uri is None, add browse menu.
* [a401f02] svg: Add builds, events (from openclipbaord for now).
* [3a45d40] models/repository.py: mbd_find_dsc_uri->mbd_find_dsc_path
(updates for api.py, package.py).
* [f636b27] api/ls.html: Update to new svgs && dsc_path.
* [83ed7e7] svg: Obsolete download, vanilla.
* [33cddb8] routes/builders.html: Proper header.
* [8206ca8] mini_buildd.css: Uff, some cssfiddle once again.
* [387dcef] svg: Update various svgs (from openclipart for now).
* [b695038] svg: Rm "start.svg" (not used).
* [6ca5ffc] routes/events.html: Update dataTable config.
* [55dc6c9] routes/builds.html: Update dataTable config.
* [b4e3792] changes.py: Add changes (path) to events.
* [4ed7d6c] routes/events.html: ls: Limit to this version only, hide
options.
* [60984fc] base.html: popup: Use ids again, actually use header for
header, add home again && reorder header menus.
* [8f4c8e1] mini_buildd.css (body.mbd>header): Remove bottom line again.
* [c0b9e14] mini_buildd.css (body.mbd>header): Rm padding.
* [68b5d0f] routes/events.html: ls only on INSTALLED.
* [0154c5b] values.py: New module: On-demand cached values.
* [4a02269] * src/mini_buildd/values.py: Add vget() helper.
* [a5757ce] api.py (Argument): Support default/choices to be
'values.Name'.
* [465c891] api.py (OnOff): Move OnOff class to values.
* [b8ba7a1] api.py: Move all "run values" to values.py.
* [e49eab4] api.py: Remove (now obsolete) support for callables.
* [edeaa3a] debian/mini-buildd.lintian-overrides (mini-buildd): Update
for new lintian version.
* [3524c28] api.py: Two more items moved to values; make them all non-
cached by default.
* [6b79b2a] testsuite packages: Add "copyright" files (error with newer
lintian).
* [abdfe15] tags/api.html: Revert to use id for form
('document.currentScript' would not work when used as snippet).
* [3ea53a4] httpd.py: Directory Listing: Add HTML template with similar
look-and-feel as the django pages.
* [fb7e43b] mini_buildd.css: Make table captions and column headers
align left.
* [ea2fc91] httpd.py: Directory Listing: Simplify header.
* [2c98159] devel (tidy): Add static events+builds tests.
* [f63fbd4] httpd.py (DirectoryLister.render): Code cosmetics.
* [e15dbab] httpd.py (DirectoryLister.render): Don't use (maybe not
stable) private methods from twisted class.
* [776d189] httpd.py (DirectoryLister.render): Use normal py templating
for template.
* [cd295d0] httpd.py (DirectoryLister): Rm (now-wrong) method doc.
* [5cd9264] mini_buildd.css: Config for directory listings.
* [1b8e066] files.py (Path.removeprefix): Add helper method.
* [ca0c9ba] httpd.py (DirectoryLister.render): Fix: Use configured char
encoding (rather than hardcoded 'utf-8')
* [af1977c] httpd.py (DirectoryLister.render): Make file links got to
"view".
* [aaa3d58] views.py (DefaultView): Add (again) (we already had s.th.
similar as PathView previously).
* [81f6d54] views.py, urls.py: Replace HomeView by DefaultView.
* [2d3dc75] views.py: Update AccountProfileView to DefaultView.
* [e283a6a] views.py (SetupView): Update to DefaultView.
* [f5a5d7f] views.py: API (index) back to non-route DefaultView.
* [c06d35a] views.py: Sitemap to non-route DefaultView.
* [7cb1749] views.py: Crontab to non-route DefaultView.
* [a547264] views.py: Builders to non-route custom View.
* [c6a7429] views.py: Chroots to non-route custom View.
* [0f32b48] crontab/index.html: Fix page layout.
* [80c7512] views.py: Update RouteView to DefaultView.
* [a6f8a30] html: events, builds, repositories: Add header+nav back
(from soon obsoleted route.html).
* [56c9493] html: API popup: Add JSON link.
* [7444710] close.svg: Update with more transparent variant (from
opencliparts).
* [918aca2] devel (mbd_installdeps): Add curl.
* [3f28be1] devel (tidy): curl: Fix: Make curl fail when HTTP request
fails (!= 200).
* [5167183] views.py, ...: Update error templates.
* [0783ffc] builders/index.html (Builders): Fix remote status link.
* [2042719] urls.py: Only add explicit "routes". Skip adding static
routes.
* [637eb46] views.py: Update RouteView to do file/dir again.
* [8404f8b] urls.py: Fix route adding to work for doctests.
* [62cb303] repositories/index.html: Fix "browse" link.
* [f11034e] webapp.py (WebApp): Add (commented) code to show
'diffsettings' (for debugging).
* [22cd3a8] builtins.py (PlainFilter): Fix (non-existing) 'mbd-critical'
CSS class to 'mbd-error'.
* [482c741] views.py (DirView): Add DirView, and update "log" to use it.
* [c4e661f] urls.py: Add events-dir, builds-dir, repositories-dir
(browsable).
* [bbd01a9] urls.py: Rm auth support (auth now should be in views.py
only, not needed for events,builds,repositories).
* [96d1516] urls.py: Rm route object from RouteView.
* [49efbf8] urls.py: Simplify code.
* [bda357d] views.py (RouteView.get): Rm support for dir/file.
* [5bf50b2] includes/events.html: Update to events-dir.
* [624da60] views.py (TemplateView): Add generic parent template class;
move 'since support'.
* [a416d2b] views.py: events, builds, repositories: Each get separate
view class.
* [03ad4e2] urls.py (mbd_uri): Add URI helper && make code more
readable.
* [9771cb0] svg: Add 'up' (from opencliparts).
* [e7d4473] views.py (EventsView): Update "events" to new class based
regime w/ setup().
* [0484426] views.py (BuildsView): Update "builds" to new class based
regime w/ setup().
* [28785bb] views.py: events/builds view: No need for extra "name" class
attribute.
* [afd2944] views.py (RouteView): Common view class for builds, events,
repositories.
* [3674de1] views.py (RepositoriesView): Update "repositories" to new
class based regime w/ setup().
* [29e546b] views.py: Update all remaining views to new class based
regime w/ setup().
* [28a4036] mini_buildd.css (body.mbd): Add left/right margins.
* [eeb4442] urls.py: Add 'name' arg for *all* mini_buildd/ urls but API.
* [7921bb6] crontab/index.html: Update header scheme.
* [a129102] builders/index.html: Fix bogus h2 close.
* [aea62bf] api: Cleanup template handling (snippets must be in
includes, add/use default snippet include).
* [1ca6d0f] views.py: Make 'defined-outside-init' pylint exception
module-global (and add some notes).
* [eb1e52d] views.py (APISnippets): Rename class, move outside View.
* [4639723] views.py (APIView): Update to use setup().
* [32f6c20] views.py: APIView: Update to use view class vars, not
context.
* [9877831] views.py (APIView): Move ApiSnippets back to APIView as
Snippets.
* [cd66c49] views.py (APIView.setup): Code cosmetics.
* [4aab930] templates: Remove obsoleted routes.html, file/index.html.
* [e66935e] httpd.py: Switch back to plain twisted DirectoryLister (now
that we have django DirView).
* [3842fcd] httpd.py: Actually remove all custom DirectoryLister code.
* [58f518a] devel (tidy): Rm pure static tests -- is now native twisted,
does not comply and we can't fix it.
* [f2a5f83] devel (tidy): Add tests for new self-made DirView routes.
* [60503e4] django 3.2: Add SECRET_KEY for pseudo-config as well.
* [8ba72c4] builds,repositories,events/index.html: Sync headers to be
generic.
* [1627de5] dir/index.html: Fix "Up" menu.
* [84dfbcc] dir/index.html: Fix file view (partly).
* [646218f] base_path.html: Add base template for
builds,events,repositories (common main title/header).
* [437b0ff] log/index.html: Rm, now done with DirView.
* [a0ff9a6] dir/index.html: Cosmetic fixes.
* [2c770d4] dir/index.html: Merge includes/dir.html (only used here).
* [4a23e7a] templates: dir/index.html -> dir.html (this is no explicit
route).
* [aacb3e2] dir.html: Skip section header.
* [5178bb5] html/templates: Rename "plain" -> "file".
* [44e9045] tags/file.html: "download_uri" -> uri (no special 'download'
support any more).
* [d754e81] tags/file.html: No need for default contents value.
* [74d966f] svg: Add "download" (from openclipart).
* [0bae45c] tags/file.html: "Raw File" -> Download.
* [fe1d05b] dir.html: Fix uri of file.
* [526c757] tags/file.html: Use "a", not button for clipboard (make menu
items same layout).
* [c3f55d1] views.py, builtins.py: Fixup plain view.
* [4c6480a] config.py: Add new Uri kind "dir".
* [6b48845] urls.py: Rename "name" kwargs (per default also template
context) to "route".
* [40ef4d9] urls.py, config.py (Uri): Move support for 'django path
regex' to Uri class.
* [438a1e4] config.py: Document special meanings of 'view', 'dir' and
'static' uris.
* [4e18231] builtins.py (PlainFilter): doc fixes for sphinx build.
* [7289b96] urls.py: Use mbd_path for mini_buildd paths.
* [9440b3a] base.html: Use django's "url" where possible.
* [714a9f7] tags/datatable.html: Set style/classes (once) via js.
* [6fd8842] builtins.py: mbd_dirname -> mbd_parent, properly 'implement'
w/ pathlib.
* [23684b1] svg: Add top (from opencliparts), rename index->view.
* [f2e7cf4] urls.py: Update route/dir menus.
* [1f4cc19] builtins.py: Add helper: mbd_fromtimestamp.
* [ead4a95] dir.html: Add 'size' && 'modified' columns to table.
* [b100f22] dir.html: Only use add 'view' link if it exists.
* [ebbc2d4] tags/datatable.html: Generally enable the "stateSave"
option.
* [387631d] builtins.py: Add mbd_hash: To create persistent but HTML/JS
compatible id strings.
* [fb97c4b] events: Use mbd_hash for datatable id's (makes state
actually persistent).
* [110511f] builds/index.html: Update to mbd_hash (effectively makes
datatable state persistent).
* [06a035a] changes.py (Changes.to_event_json): Fix "changes" (for
changes w/ multiple archs).
* [074138a] since param: Simplify && only use the browser builtin.
* [431adb6] html: Update base.html once again: Include main header, make
configurable via blocks.
* [381e004] views.py (BuildsView.setup): Fixup buildlog uris.
* [b213b26] base, dir.html: Fix dir menus.
* [70ca15d] repositories/index.html: Fixup main menu.
* [2dd6536] repositories/index.html: Upgrade to datatables && major
general fixes.
* [43fa532] repositories/index.html: Fix title (this view does not use
path).
* [ffc9f2a] repositories/index.html: Fixup datatable search options.
* [8c25110] tags/file.html: Remove link to 'real-raw' static browse.
* [560a8dc] tags/file.html: Improve content display handling when None.
* [2fd3d54] base.html: Menu: Don't show 'view switch' when file is
displayed.
* [339649d] devel (hack-html): start: Sufficient to only restart
service.
* [990adf2] html: Fix power on/off indicators.
* [3efc240] crontab/index.html: Rm menu 'remote' (falsely copied).
* [d2e413c] django_settings.py: django 3.2: Add DEFAULT_AUTO_FIELD to
settings.
* [02befd2] base.html: django 3.2: Drop (two) uses if 'ifequal' (now
depcrecated).
* [a8be4fc] admin/base_site.html: Use url tag for home uri.
* [ab1a45f] mini_buildd.css (img.mbd-icon): Make icon size slightly
bigger.
* [e295722] Revert "Distribution, Source, Component: Rm __hash__() from
(sort support): Does not seem to be necessary."
* [57e2eaf] distribution, source, component models: Simplify __hash__
impl (also avoids pylint same-code warnings).
* [ae5db3b] models/base.py: Add feedback (via messages) for admin
actions.
* [8fab58a] api.py (Status): Re-add 'remotes' to status (fixes remote
linking).
* [ec9a339] distribution.py (ArchitectureOptionInline): Fix: Hide
'pickled_data'.
* [2f17dba] files.py (Path.create): Add create() function.
* [0e18250] changes.py (Changes.move_to): Fix: Create path path before
moving files.
* [f4728fb] mini_buildd.js: API call progress bar: Display api call info
&& make look somewhat better on ff.
* [a14bb27] mini_buildd.css: minimal padding in section.
* [6026b8f] gnupg.py (Builders): Skip extra generator.
* [ca5ec57] models/gnupg.py (Builders): Add "ourselves" flag.
* [6187a65] builders/index.html: Update remote status, error handling &&
action.
* [db81fde] client.py (Client.api): Improve error handling for non-HTTP
urllib exceptions.
* [a586676] chroots/index.html: Fix actions to menu && fix link to
change specific item directly.
* [a4cd5cd] mini_buildd.css: Make 'a' inherit color 'everywhere mbd'.
* [5785519] builders/index.html: Add direct per-object configure link.
* [f37e2c9] builders/index.html: Update to new status meanings &&
general improvements.
* [ceb25ae] values.py: Add ALL_REMOTES.
* [9fe11a1] base.html: Instance id to footer (do we can identify the
instance on any page).
* [2c9990f] models/gnupg.py (Remote): Enable "wake_command".
* [a8efbf6] api.py: Add "wake" API call (wake remotes).
* [910cf48] builders/index.html: Add wake (remote) API call.
* [0617681] builders/chroots/repositories/index.html: Add convenience
configure links.
* [54aed90] *.html: Update all "admin" links to url template.
* [82eb1d9] devel (mbd_installdeps): (buster convenience) Install ftp if
ftp-ssl fails.
* [c8ab55d] debian/control (Build-Depends): We need version 1.0 of
distro-info (for lts options).
* [aac0fd4] pylint 2.11: Cosmetic (use fstring).
* [e211fbf] pylint 2.11: Update mbd_action call (fixes --remove-system-
artifacts).
* [02879f6] pylint 2.11: models/base.py: Improve comparison.
* [e248636] pylint 2.11: Daemon.check(): Update mbd_action call (fixes
check cronjob).
* [fd24a28] devel: Generalize pip installs (via MBD_PIPINSTALL global
config).
* [4b44301] devel (mbd_pipinstall): Remove "importchecker" check.
* [b030f08] devel: Update notes for MBD_PIPINSTALL.
* [ca6584d] cron.py (_Job.id): Add id (name+type) for jobs && a getter
from id.
* [5d93ca8] values.py: Add value: ALL_CRONJOBS.
* [9430066] cron.py: Add run() (for arbitrary runs outside of schedule).
* [6acf657] cron.py (_Job.__run): Protect from running in parallel.
* [245e9a7] api.py (Cronjob): Add new API call 'cronjob'.
* [25d407b] crontab/index.html: Improve view && add cronjob API call
(arbitraryily call cron job).
* [0905f11] crontab/index.html: Use dataTables to show logs.
* [68d4096] files.py: Move open_utf8() -> __init__.
* [babcfee] __init__.py (fopen): open_utf8() -> fopen().
* [af4bf14] pylint 2.11: Update all 'open' to use 'mini_buildd.fopen'
(fixes open-without-encoding).
* [7739c37] pylint 2.11: Fixup multiple 'open-like' calls to use "with".
* [89ed0e7] mini_buildd.css: Add !important to basic 'indicator'
classes.
* [5c01199] net.py (ClientEndpoint.urlopen): Support timeout.
* [648ff6f] client.py (Client.api): Support timeout.
* [c18e10b] gnupg.py (Remote.mbd_get_status): Limit retrieval time to 2
seconds.
* [b5dea5d] builtins.py (mbd_file): Add support for custom title (and
default to "Data", not "Plain").
* [b85f107] builders/index.html: Fix bogus table order (we just want no
default order).
* [6faaded] builders/index.html: Provide status (json) data as details,
omit extra status call.
* [875211f] models/gnupg.py (Remote.mbd_get_status): Put all the wake
logic here.
* [2840a38] models/gnupg.py (Builders): Add "wake support".
* [64f3829] changes.py (Upload.request_builds): Wake remotes on builds.
* [cbbeb93] api.py (Wake): Don't use list of remotes (--remotes ->
--remote), use new mbd_get_status().
* [f956e8e] models/gnupg.py (Remote.mbd_api): Add helper mbd_api().
* [8b9f8f9] api.py (Setup): Add support for remotes.
* [d081d6b] models/gnupg.py (Remote): Wake on prepare and check.
* [5068904] api.py (Setup.setup_remotes): Fix: Don't call mbd_pca_all()
in loop.
* [e73827c] setup.cfg (generated-members): Add mbd_pca_all().
* [6ce3796] devel.localhost: Add script to create "second" instance.
* [d315e20] devel (mbd_installdeps): Add piuparts, autopkgtest.
* [20ed90c] builders/index.html: Remote link: Directly jump to
'builders/' (not home).
* [93d2736] devel: Fix number of places where $(hostname) was used
instead of ${MBD_HOSTNAME}.
* [8d17b21] devel (bash-completion): Add ./devel.localhost to completion
commands.
* [13c4ef9] devel (MBD_SETUP_COMMON_DESC): Add localhost:8068 as remote
to setup.
* [bb5290f] devel (testsuite-packages): Skip skipping rebuilding
packages when already built.
* [7abbb1a] devel.hostname: Add extra script for hostname (two instances
on same network stack for testing).
* [8a2d416] devel (testsuite-packages): Clean out possible debris via
git.
* [44318f2] debian/source/lintian-overrides: Workaround (temporary) for
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995498.
* [0f3376f] api.py (Argument.set): Improve error message on failed type.
* [fa754fb] gnupg.py (BaseGnuPG.verify2_bare): Add verify2_bare() (for
general (non-apt source) verifications).
* [facb9c5] gnupg.py (BaseGnuPG.sign2): Add message signing support via
py3-gpg.
* [b63025c] models/gnupg.py (GnuPGPublicKey.mbd_verify): Add standalone
message verification.
* [4dad019] daemon.py (Daemon.handshake_message): Add signed handshake
message generator.
* [77d2c5e] api.py (Handshake): Add API command to realize a (gnupg)
handshake.
* [7c57246] models/gnupg.py (Remote.mbd_check): Add (gnupg) handshake.
* [6b8097f] gnupg.py: Get rid of odd '*2 names', rather prefix w/
'gpgme_'.
* [7d4e987] gnupg.py (BaseGnuPG.gpgme_verify): Provide public errors on
GPG verify errors.
* [7de7802] gnupg.py: make all gpg_* methods expect 'str' (&& do
conversions internally only).
mini-buildd (1.9.21) experimental; urgency=medium
User summary:
* Add support for "Custom Event Hooks" (see admin doc).
* Internal refactoring of config.py (pre for upcoming changes).
Details:
* [67a4fa0] call.py (Call._call2shell): Use shlex.join().
* [3de9fde] Add support for "Custom Event Hooks" (see admin doc).
* [0b34dcf] config.py: LOG_FILE, ACCESS_LOG_FILE and MANUAL should not
be "resources".
* [e544b09] config.py: PACKAGE_TEMPLATES should not be "resource".
* [e056846] Merge MANUAL_PATH into DOC resource.
* [80035ea] config.py: Re-order resources definition.
* [f4559d0] config.py. httpd.py: Fix: STATIC resources path should be
set in config.py.
* [5380fdf] config.py: Move all HOME-relative "resource" config here
from 'mini-buildd' CLI.
* [f1e9eee] config.py: Add Uri and Path classes (separate Resources
impl), and make all uri-only resources 'static Uris'.
* [51ea0a8] config.py: Add setup_home helper.
* [c81b4e2] config.py. Add 'Home' class.
* [8a5f509] config.py: Make 'Home' a Resource itself, and get rid of
setup_home(), HOME_PATH, extra HOME resource.
* [6168197] setup.py: help2man: Add precheck so we see possible errors
from prog itself in output/buildlog.
* [d49bb43] config.py: mkdirs in config.Path; get rid of LOGIN_NEXT.
* [27b625e] config.py: Make 'Resource' multi-urinatory.
* [19e65d9] config.py: Add URIS global (for static/pre-home use).
* [5302151] config.py: Move all static Uri-only globals to URIS.
* [fcda374] config.py, *.py: Remove all the global dummies.
* [713a3de] config.py: Remove all compat from Uri, Path, Resource &&
update all python code.
* [6319f32] builtins.py: (Uri/Path/Resource): Adapt mbd_uri tag and
update all html.
* [4648a16] builtins.py: Fix tag order, re-use mbd_uri.
* [c8efdcb] config.py: Merge "EVENTS", "EVENTS_LOG".
* [6fa493a] config.py: Merge MBD_LOG, LOG.
* [de3660b] httpd.py (HttpD._add_static_route): Update to bas on
resource (and kill some redundancy).
* [4fe6c87] httpd.py (HttpD.__init__): Update comment on disabled static
HTTP cache.
* [4867175] config.py: Un-SHOUT uri and resource ids.
* [56f1cc8] base.html: Fixup 'login' link.
* [e7d8f45] config.py: Make URIS notation (more readable and) diff-
friendly.
* [ce46c54] config.py: Make LOG_FILE, ACCESS_LOG_FILE really static,
file name only.
* [fc0c3e0] config.py: Code order fixes, code cleanup, doc updates.
* [a8f19a4] config.py (Home): All path in home should be created.
* [17c5073] builtins.py: Fix left-over old-style shouting HOME resource;
adds mbd_uri_home() to fix redundancy.
* [4bd21a1] Bulk-Fix all old uses of 'geturi'.
* [d810f85] config.py (Home.__init__): Fix: Add uris to Home
class/resource.
* [b9c204a] views.py: Fix live buildlogs.
mini-buildd (1.9.20) experimental; urgency=medium
User summary:
* Speed and usability improvements on gpg key handling and source
checking.
* Minor improvements.
Details:
* [e920116] models/source.py (Archive): Add timeout for urlopen (fixes
possible stalls on firewalls etc.).
* [058896d] gnupg.py (BaseGnuPG.import_pub_key): Add timeout for 'recv-
key' (fixes possible stalls on firewalls etc.).
* [ab0a563] gnupg.py (BaseGnuPG.import_pub_key): Fix: Only try keyring
files prefixed 'debian-archive-', not all.
* [2342ec3] gnupg.py (BaseGnuPG.get_pub_keys): Fix: return code on wrong
indent (would only return first) (?).
* [c2b8952] gnupg.py (DebianArchiveKeyring): Add this (as singleton) (so
we don't need to import over and over again).
* [f39fbb6] models/source.py (Archive.mbd_get_matching_release): No
Release file found: Rather use HTTPUnavailable, not BadRequest.
* [fd0ffdf] models/source.py (Source): Update help text for apt_keys (we
now only need one fitting key).
* [e317aea] models/source.py: Allow 'apt_keys' to be empty ('check' will
then show you missing key id's, which might come handy).
* [95fcaeb] models/source.py (Source): Put validation code in clean()
(so we get proper error hinting in django admin).
* [d0059d2] gnupg.py, models.source.py: Update gpg verify error handling
so you always get a message with all Release file keys as hint.
* [35a1613] gnupg.py (BaseGnuPG): keyserver timeout rather 5 seconds
(was 15).
* [40af4d8] models/source.py (Source.mbd_check): Improve user error/info
messages.
* [c399c0b] gnupg.py (BaseGnuPG.import_pub_key): Renice code.
* [5fe8955] gnupg.py: DebianArchiveKeyring -> PublicKeyCache: Let's just
cache any key we've seen here, initially adding installed debian
archive keys.
* [7bb563b] daemon.py (Daemon._port): Upload changes to incoming like a
any decent dude.
* [705ff50] daemon.py (Daemon._port): Properly cleanup up tmpdir via
contextlib.
* [b70f692] packager.py (Package.move_to_pkglog): Remove hack to cleanup
tmpdir from ports.
* [a1837c3] misc.py (TmpDir): Upgrade to python 3
tempfiles.TemporaryDirectory.
* [451a4cf] gnupg.py (BaseGnuPG): Make 'signatures_info' a proper class
method, and only call when actually needed.
* [9f9321d] misc.py (TemporaryDirectory): Add class that can be used
just like tempfiles.TemporaryDirectory.
* [0dbac88] *.py: Use misc.TemporaryDirectory directly where easily
applicable (and add prefixes for these tmp dirs).
* [5222d8f] gnupg.py (TmpGnuPG): Update to use TemporaryDirectory
directly (and add prefixes for all TmpGnupg objects).
* [3ba3125] misc.py (TmpDir): Let's keep this. Still useful in mixin use
with contextlib.
* [07fd3b3] gnupg.py (PublicKeyCache.__init__): Add (tmpdir) prefix for
PublicKeyCache.
* [ee1dcd0] gnupg.py (BaseGnuPG.__init__): Add keyserver class var; use
keyserver in PublicKeyCache only.
* [22c2980] gnupg.py (BaseGnuPG.gpgme_sigs2info): Make fail-save (in
case keyinfo fails, we just use as-is from gpgme).
* [8597b28] gnupg.py (PublicKeyCache): Update doc string.
* [25c139f] gnupg.py: Improve get_pub_keys[_infos], both in efficiency
(call gpg only once) and data (subkeys, fingerprint).
* [5189ed9] api.py (GetUploaders._run): Rather use Use
get_pub_key_info().
* [a492205] gnupg.py (BaseGnuPG.gpgme_sigs2info): Fix for new info
format, and add subkeys.
* [abab1c7] gnupg.py (PublicKeyCache.keyinfo): Make keyinfo method of
PublicKeyCache.
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.
mini-buildd (1.9.18) experimental; urgency=medium
User summary:
* Update sbuild config and setup handling:
* New 'Sbuild-Config-Blocks' 'Extra Option': Predefined config blocks.
* New 'Sbuild-Setup-Blocks' 'Extra Option': Predefined script blocks.
* 'sbuildrc_snippet' and 'chroot_setup_script' are now blank by default
and truly custom options.
* When not using the (automatic) setup, 'Sbuild-Config-Blocks: ccache'
and 'Sbuild-Setup-Blocks: ccache eatmydata' need to be set manually
to get the previous (default) behaviour.
* Minor improvements.
Details:
* [07fbc79] files.py: Initial implementation: Handle line based text
files (configs, scripts, etc..).
* [fa5daaf] files.py: Real-world adaptions after sbuildrc POC.
* [aa55d3b] builder.py (Build.build): Use files.PerlModule for
.sbuildrc.
* [f4f9587] __init__.py: Move open_utf8 here (and add some explanation).
* [6161bb6] files.py: Rather use open_utf8().
* [47d672c] files.py (File): Add update() method (form ConfFile), make
'#' default comment.
* [e27f45c] models/repository.py: Update (reprepro) conffile generation
to files.File.
* [9dea2b1] models/chroot.py: Update (schroot) conffile generation to
files.File.
* [23e628b] misc.py (ConfFile): Remove ConfFile (no longer used).
* [6130912] models/repository.py
(Repository._mbd_reprepro_conf_options): Mv conf helper functions to
where they are used.
* [7195e3e] files.py (Dir): Manage a collection of Files in a directory.
* [4af044f] builder.py: Add general handling for chroot-setup-commands
(with custom script from buildreqeust initially converted).
* [50a930f] builder.py (Build.build): Convert apt-transport (https) to
new generic schroot-setup-command handling.
* [691e5d0] builder.py: Go back to """-multiline notation for script
strings (looks a bit weird, but otherwise only advantages).
* [df8ff6f] builder.py: Update remaining chroot setup code to general
handling.
* [e2b0db6] builder.py (Build.build): Rm useless comment, garbaging
around from somewhere.
* [7842abb] builder.py: sbuils perl config: Also back to multi-line
notation.
* [5d36d0e] builder.py (Build._buildlog_to_buildresult): Use
mini_buildd.open_utf8().
* [9a33ead] files.py (File): 'Don't edit' comment: Better wording:
Created, not Autogenerated.
* [5e528b9] builder.py: Add support for predefined schroot setup
scripts; use script name prefixes "auto-", "custom-", "custom-block-".
* [3b76ef8] chroot.py: New module; move new chroot setup blocks here.
* [7b4ca58] models/distribution.py (Distribution.Admin): Add doc for new
extra option: Chroot-Setup-Blocks.
* [8898bab] chroot.py: Copy all predefined scripts from
model/distribution.py.
* [2c11a79] builder.py (Build.build): chroot setup: 'custom-
buildrequest' should run after 'custom-block-*'.
* [0efa12f] builder.py: Acrually Chain Chroot-Setup-Block extra option
trough (dist->buildrequest->sbuild).
* [0821abf] chroot.py: APT_GET (Quiet, non-interactive, least invasive
and loggable apt-get call): To be used throughout internal script
code.
* [1dbbf92] Rename chroot.py -> sbuild.py.
* [d805ba1] builder.py: Use new APT_KEY shortcut for all auto-generated
scripts as well.
* [418eea4] sbuild.py: Re-order blocks (ccache 1st) and remove example
block.
* [cee7b4a] models/distribution.py: Make chroot setup blocks "ccache
eatmydata" default for setup.
* [110dee4] models/distribution.py: Remove all script code. Default
value for chroot_setup_script is now blank.
* [7f0590e] files.py: Add some shebang parsing && AutoScript
(autmatically parse whole script with shebang).
* [e340570] models/distribution.py: 'schroot_setup_script': Make shebang
mandatory if given (with django validation).
* [a1ab1c0] builder.py: "custom-buildrequest": Only add if not zero-
sized && use AutoScript (enables arbitrary shebangs again).
* [dd77185] files.py (AutoScript): Add file in non-snippet mode (fixes
double shebang).
* [c4959c5] builder.py: Chroot-Setup-Blocks -> Sbuild-Setup-Blocks.
* [8bcbf43] builder.py (Build.build): Add "auto" chroot command to cat
sbuildrc to buildlog.
* [aee9440] models/distribution.py, changes.py: New extra option
"Sbuild-Config-Blocks", and loop through in buildrequest.
* [e7c2047] sbuild.py: Add CONFIG_BLOCKS; copy 'ccache' from
distribution (with template strings).
* [454aaef] builder.py (Build.build): Support adding of Sbuild-Config-
Blocks.
* [ac200d3] files.py: Loop kwargs through for all subclasses of File.
* [91afa27] files.py (File): Support placeholders.
* [801c45e] builder.py: Support placeholders for sbuildrc (LIBDIR only).
* [938a67b] test-data/dos|unix.txt: Add test files: dos mode line break
(CRLF ASCII), unix line break.
* [33f8789] files.py: Skip writing extra "don't edit" comment (little
gain, duplicates if snippets are merged, hardens automatic testing)
* [bf3c973] files.py (File): Add tests that dos files are handled fine.
* [4cb6be7] models/distribution.py: Obsolete mbd_get_sbuildrc_snippet.
* [c2c9a2e] misc.py: Obsolete fromdos.
* [3d81791] models/distribution.py: Make default for sbuildrc_snippet
blank && doc update.
* [6877de1] misc.py (Hash): Upgrade file hash support to class, add
doctest.
* [f80459e] files.py: Move SourcesList support here.
* [7e1ffc2] files.py (SourcesList.has_https): Make tool function class
method.
* [f8958da] misc.py (chroot_libdir_path): Rm, obsoleted by
config.Resource.
* [cc6b4b5] misc.py (API): Remove unused 'API' class.
* [021eeea] builder.py (Build): No need for sbuildrc_path property.
* [a5dfc21] builder.py: Clean up (notation && doc) sbuildrc/setup
blocks.
* [2ac6ba9] builtins.py (Plain): buildlog index: Make generic E(RROR),
W(WARNING) ignore case.
* [b594117] builtins.py (Plain): buildlog index: Also recognize 'ERR:
foo', 'WARN: foo'.
* [dafd784] builder.py: sbuild apt setup: Copy apt keys to
/etc/apt/trusted.gpg.d if exists (instead of always using deprecated
apt-key).
* [dcb8f31] .prospector.yaml (pylint): Update to reality.
* [f6ce0c4] setup.cfg (max_line_length): Use _, not - (warnings from
dist.py).
mini-buildd (1.9.17) experimental; urgency=medium
User summary:
* Improve and harden chroot check to never be interactive.
* 'mini-buildd-events': Improve type handling (exit-on, fail-on).
* Deprecates '--jobs' (effectively enables parallel building by default).
* Support new upload options: deb-build-options, deb-build-profiles.
* Release signature verify updated to behave like apt ("any sig, not
all sigs").
Details:
* [3c220d8] models/chroot.py (Chroot._mbd_schroot_run): Always run w/
env DEBIAN_FRONTEND=noninteractive.
* [96d1b84] models/chroot.py (Chroot.mbd_check): Use dpkg options
--force-confdef, --force-confnew on (base) chroot upgrade.
* [62dfebe] gnupg.py (BaseGnuPG.verify2): Update to allow success if any
sig verifies (still not used).
* [64ae59e] models/source.py: Actually switch over to new (GPG) verify2.
I.e., release checking now succeeds if *any* sig is ok (like apt).
* [0005b8d] gnupg.py: Add keyinfo(): General tool to get info on an
(arbitrary) public key.
* [2e0d8d4] models/gnupg.py (GnuPGPublicKey.mbd_prepare): Update to use
gnupg.keyinfo().
* [3cf0e1f] gnupg.py: Log less, debug better.
* [7dd7510] gnupg.py (verify2): Improve error messaging && stop using
gpg.gpgme (discouraged) (using gpg.errors instead).
* [3c12cec] models/source.py (Source.mbd_check): Improve error handling:
Make public exception from gnupg available in MsgLog.
* [1273cb0] mini-buildd-events: Add --expect option.
* [9b9e92e] mini-buildd-events: Make types choices class attribute.
* [12d821f] events.py: Drop '--stop, --expect', go with '--exit-on,
--fail-on' (nicer inspection on events).
* [6b1aec9] setup.py: Install testsuite packages.
* [06b79a7] Add testsuite package to test upload options (i.e., that end
up in env during build).
* [d9d63ab] changes.py (Upload.Options): Add: deb-build-options, deb-
build-profiles (usage only for now).
* [2478323] changes.py (Upload.gen_buildrequests): Support user option
'deb-build-options', and newly support 'deb-build-profiles' the same
way.
* [eda74a4] testsuite package installed-options: Test for profiles as
well.
* [c84f7e8] builder.py: Support env setting for DEB_BUILD_PROFILES.
* [0586f65] models/distribution.py: Add doc for new "Deb-Build-Profiles"
extra options.
* [3d217f4] .gitignore: Update for installed-options.
* [aacb40e] Revert "setup.py: Install testsuite packages." (installs
artefacts too, not a good idea after all w/o more complex setup)
* [aa7b598] doc/user.rst: Add doc for new deb-build-options|profiles
upload options.
* [e97b572] models/daemon.py: Deprecate 'sbuild_jobs' field, and stop
using sbuild '--jobs' option.
* [e004d6e] base.html: On Login, Logout, Change User: Redirect to
original page.
* [9cb0722] views.py (BuildlogView.get_context_data): Fix: Forgot switch
to event-log.
* [3d267b1] mbd_events.html: Fix: Forgotten update of buildog links to
new event-log style.
* [21f8dde] events-log/log.html: Un-hardcode "/log/".
mini-buildd (1.9.16) experimental; urgency=medium
"Check please" release:
* Replaces old "pkg log" (var/log/<repo>/...) by
"events log" (var/events-log/<dist>/...):
- Avoid possible conflicts with actual log files in log/.
- Consistent file hierarchy && gets rid of extra '_failed/' dir.
- Now includes all item's events, so they can be replayed.
- Time-based expiration via internal crontab (weekly deletion
of items older 1 year).
* Sbuild checks:
- Add support for piuparts, autopkgtest.
- generic 'sbuild check' modes (upload options && config)
- generic 'sbuild check' result handling.
Detailed changes:
* [eb75e9a] control (Depends): twisted dep must be in module package
(fixes missings deps for *-util).
* [d51d0a9] building: Add autopkgtest support (needs to be enabled
explicitly in Distribution's extra options).
* [e76feff] models/distribution.py: Doc cosmetics (add missing spaces).
* [2c36004] Add (experimental) piuparts support.
* [4445be1] package-templates/mbd-test-cpp: Add simple autopkgtest.
* [cb79bc5] models/distribution.py: Rename LINTIAN_* constants to
CHECK_* (for later generalisation for piuparts and autopkgtest).
* [72d8165] models/distribution.py: Update piuparts mode to generic
constants.
* [faae147] autopkgtest: Move to upcoming generic mode.
* [a84ffbe] lintian: Update to generic check mode (buildrequest).
* [59ec2de] distribution.py: build checks: Add CheckMode class and put
other generic code here.
* [cae5a86] builder.py (Build._buildlog_to_buildresult): Also parse
status for Piuparts && Autopkgtest.
* [d53401e] buildresult: Rename Sbuildretval -> Sbuild-Retval.
* [86ce0b1] distribution.py: Add PASS, WARN, FAIL status name list
constants as parsed from sbuild source (unused for now).
* [d6b88af] changes.py: Add to_json(): json converter for Changes.
* [bfc6bac] changes.py (Upload.gen_buildrequests): Remove arg "daemon"
(now handled as singleton).
* [ee960ca] changes.py (Changes.to_json): Only consider simple values
(str).
* [6ebffd7] packager/builder events: Temporarily add "json" extra with
the new changes.to_json() values.
* [e6be751] Replace 'mini_buildd.config.primary_http_endpoint' by
'mini_buildd.http_endpoint' (shorter, better name && location).
* [1ad2f17] events: Cosmetic: 'timestamp first, not last'.
* [4b5021f] events: Use initial proposed new format, and put proposed
old down.
* [3889691] changes.py: Set "Packager" for buildrequests, "Builder" for
buildresults (instance's HTTP url).
* [f1086a8] packager.py: Harden corner-case error handling.
* [5fb3064] misc.py: Add class "Snake" for all conversions to snake
case.
* [db90bbb] api.py: Use Snake() class.
* [bf9cfb2] misc.py: Add Field class.
* [89d5717] *.py: Update code to new Field class.
* [155deb1] changes.py (Changes.to_json): Use Field class, and only
select custom fields.
* [4cd3de3] events.py: logchanges(): "changes" may be python dict, so we
cannot use cget().
* [7499a84] builder.py: buildresult: Add live_buildlog.
* [34ef54e] builder|changes.py: Rename custom field "Client" -> "Upload-
To".
* [290fde7] events.py: Cosmetic ordering: timestamp should be after main
fields, before extra.
* [15bcd97] builder.py: buildresult: Add Runtime-Start+Delta, and put
setters before file save.
* [fdddcb0] packager.py: Cosmetic: Indent fix.
* [8fd6ec2] builder.py: Add Buildlog-Name && remove non-buildresult
values from extra (events).
* [5584735] packager.py: Remove all non-buildresults values from extra
(except 'log' and 'auto_ports').
* [dad299d] events.py: Update to new extra syntax.
* [065426c] snippets/events.html: Update for new extra syntax.
* [b3a00fc] includes/mbd_api*.html: Fix some wrong usages of "in" (sort
of worked anyhow).
* [2886c70] events.html: Exclude build and check short status from
buildlog link.
* [0cbcd6a] templatetags/mini_buildd.py: Add tag to show short sbuild
status.
* [6b6b030] packager.py (Package.add_buildresult.check_lintian): Use
CheckMode.PASS|WARN.
* [85ffe4b] packager.py (Package.add_buildresult.check): check_lintian
-> check: Make generic.
* [8aa8b24] distribution.py: Integrate actual check run into CheckMode
class.
* [4765d61] distribution.py (CheckMode): Add human-readable option
strings.
* [6b88f63] changes.py (Upload.Options): _OPTIONS: Update to diff-
friendly notation.
* [088348e] devel (testsuite-packages): Auto-rebuild DSC when local
changes are newer.
* [9111cb8] changes.py (Upload.Options): Support new
"lintian|piuparts|autopkgtest-mode" options, deprecate "ignore-
lintian", "run-lintian".
* [b1ab7eb] changes.py (Upload.Options): We should use 'errfail', not
'warnfail' (when handling deprecated options).
* [c23b00e] Rename testdata for options parsing (deprecated, 1.0).
* [f0c690d] changes.py (Upload.Options): Add doctest for current set of
options.
* [46d9b51] test-data/changes.magic|options_1.0: Remove unneeded
content.
* [99f377d] changes.py (Upload.Options): Rename "magic" to
"options_0.8".
* [138fd33] builder.py (Build._buildlog_to_buildresult): Fix regex to
catch status w/ spaces (like autopkgtest's "no tests").
* [fc4f21b] templatetags/mini_buildd.py: Add tag mbd_cssify (needed
solely for "no tests" status from autopkgtest).
* [d6b13b7] mini_buildd.css: Slightly adapt colors for check status.
* [1eac2f4] distribution.py (CheckMode): Make actual status value arg
for check only (should not be a value of a CheckMode instance).
* [169fbfe] packager.py: Update buildresult check to check piuparts and
autopkgtest as well.
* [f51cf32] changes.py (Upload.gen_buildrequests): Update to produce
correct check modes (lintian, piuparts, autopkgtest).
* [d08120e] testsuite: Add new package 'installed-all-checks': w/
autopkgtest configured and all tests enabled as per user upload
options.
* [7b85c21] changes.py (Upload.Options._parse_ancient): codespell fix
(doc only).
* [9fa29f5] models/repository.py (Repository.mbd_package_precheck): Fix
typo in public error message.
* [878920b] doc/user.rst: Update "Upload Options".
* [3a0aa4b] distribution.py (CheckMode): Doc && naming updates.
* [2d282e1] distribution.py (CheckMode): Add validation checking and
public error messages && resp. doctests.
* [721af12] builder.py (Build.build): Fix: Explicitly set the "--no-
run-<checker>" for piuparts && autopkgtest as well.
* [8c77869] distribution.py (CheckMode.__init__): Make default mode
DISABLED.
* [8996ae5] testsuite-packages/installed-all-checks: For all checks:
default is errfail, disabled for i386.
* [b8d5752] Rename testsuite package: installed-all-checks -> installed-
sbuild-checks.
* [c940fa3] changes.py (Upload.check_mode): Update to return actual
CheckMode object.
* [7199e95] changes.py (Upload.gen_buildrequests): Fix wrong use of "or"
using new check_mode() method.
* [114132e] packager.py (Package.add_buildresult.check): Fix && simplify
using new check_mode() method.
* [b6836c9] changes.py (Upload.gen_buildrequests): Fix autpkgtest mode
config retrieval.
* [664ab55] testsuite-packages/installed-sbuild-checks: Actually also
rename file contents.
* [86ebc4d] distribution.py: Update CheckMode to use enum.Enum.
* [03b9186] distribution.py: Rename CheckMode -> SbuildCheck (Mode is
now SbuildCheck.Mode).
* [2d71fe1] *.py: Bulk-fix error-prone use of "or".
* [1ef961f] devel: (convenience): Try to avoid "connection refused"
warnings by appr. pre-sleep.
* [00576ca] changes.py: (rpl PkgLog): Add select() tool func && LogPath,
Log classes
* [62667c6] misc.py (rpl PkgLog): Update old PkgLog to deal with new log
dirs w/o subdirs.
* [c65c2f7] snippets/events.html: Add "migrate" and "remove" actions for
INSTALLED.
* [f602950] views.py (rpl PkgLog): LogView: Add new Log() to context.
* [048af3f] packager.py (rpl PkgLog): Update to new Log().
* [abac481] log.html: Add data from new Log() in POC (yes, can do what
PkgLog can and more) style.
* [a074c24] events.py (Event): Add from_changes(), update Events logger
functions.
* [702497b] events.py (Event.from_json): Rather use "data", not "json"
for "json data" (conflict with module).
* [1cbb770] events.py (Event.save): Add support to save even (as json
file).
* [09be165] packager.py: Write event file (as json) to (pkg) log.
* [07d5229] Put new (pkg) logs to var/logs (not /var/log).
* [dc1b9a2] Rename log_index.html -> logs.html (and update for new Log).
* [7d828e3] New Log: Start dir hierarchy with <dist>/ (not repo id), and
get rid of '_failed' dir workaround.
* [7f11fe9] snippets/events.html: Offer "retry" on FAILED.
* [ab2a001] events.py (Event.save): Save to logs as default.
* [296710f] events.py (Event.load): Add load() method.
* [75cc64b] events.py (Events.log): Always save event to logs.
* [68d76be] changes.py (LogPath): Add option to create fullpath.
* [88ba6bc] changes.py (Log): Support multiple events.
* [b70b37b] packager.py (Package.move_to_pkglog): No longer save event
here (done implicitly now).
* [835625e] api.py (Retry): Fix for multiple events in log.
* [1f4461a] views.py (LogsView.get_context_data): Use actual Event
objects, not json.
* [0d38b63] includes/mbd_events.html: Make events datatable available
via include; update throughout html.
* [262ae3f] Rename "logs" -> "events-log".
* [11e945c] events.py: "distribution first" (in-line with other
interrfaces).
* [5911b98] devel (testsuite-packages): Build these w/ artifacts (just
so we have the scenario "non source-only upload" as well).
* [cc19ebb] changes.py (Upload.Options.usage): Add usage() helper.
* [64544be] api.py (UploadOptions): Fixup usage && default (still used
deprecated ignore-lintian=True).
* [773dcd4] mini_buildd/log.html: Fixup browse link for multi-events.
* [2ab27cb] templates/mini_buildd/log[s].html: Fixes, add event table to
lof.
* [c56385a] events.py (Event.save): BUILT saves need arch in file name.
* [d7cf964] events.py (Event.log_path): Add log_path method.
* [4df8c6f] includes/mbd_events.html: Add event log link for all events
but REJECTED.
* [3b1954d] event log: Adapt template files to new naming.
* [ff01b12] django_settings.py: Make our custom templatetags and
"static" builtin.
* [6d36fc0] daemon.py: Add expire cronjob for new events log (delete
itmes older one year every week).
* [a6f060b] models/repository.py: Remove 'purge_orphaned' code for old-
style package log.
* [4950b93] misc.py: Actually remove old PkgLog class.
mini-buildd (1.9.15) experimental; urgency=medium
API cleanup and various bug fixes:
* [141f14a] models/source.py (Archive.mbd_get_matching_release):
Simplify: Use only one with statement.
* [6e2e0c6] models/source.py (Archive.mbd_get_matching_release): Support
'InRelease' (vs 'Release' + 'Release.gpg'), and make it primary
method.
* [cbaf22e] models/source.py (Archive.mbd_get_matching_release): Do
error handling w/ Exceptions only.
* [5edcf4b] models/source.py (Archive.mbd_get_matching_release):
Sanitize user messages.
* [49f3a14] api.py: doc: Don't add '.. commands' to group titles
(redundant).
* [41184d2] api.py: Move to group "Daemon": terminatepackage,
terminatebuild, getkey, getdputconf, getuloaders, logcat.
* [c351e67] api.py: New group "Repository": test|keyringpackages, repo
snapshots, getsourceslist.
* [b06876d] api.py: Snappier naming for groups repository, package,
user.
* [975ad5b] api.py: Simplimprove "list": List one distribution only.
* [8208735] api.py: Switch to use dedicated classes for common
arguments.
* [34ab883] api.py (Argument.update): Add support for per argument
updater method.
* [ec2f7c1] api.py (RepositoryRegex): --repository: Switch to dedicated
class, remove update() redundancy.
* [822bf99] mini_buildd.js: api: Fix status summary state change.
* [5c7d920] api.py: Make dedicated class for --distribution.
* [51a5329] api.py: Dedicated Argukent classes: Always explicitly give
arg identities.
* [c933ed1] api.py: Codename, Suite: Add dedicated classes.
* [b6287c4] api.py: Update (most) --distribution args to dedicated
classes.
* [147beb0] mbd_api_arg.html: Fix 'selected' for flag for "select".
* [2054453] api.py: Simplify BoolArgument.
* [59a6993] api.py (Distributions.__init__): Don't set default.
* [c255b6f] * src/mini_buildd/api.py: Fix distribution for --auto-port
and find.
* [74648ee] api.py: *Distribution*: Remove code redundancies generating
choices.
* [3a9447b] api.py: Update [Pattern]Source to dedicated classes.
* [e07d54a] api.py: Call command update after Argument's.
* [4972b71] api.py: Update remainig version && distribution args to use
dedicated classes.
* [cea3853] api.py: Update --repository (glob pattern) to dedicated.
* [35ffc72] api.py: Command.update() rather that Command._update().
* [9efbae7] api_view/show.html: Hide porting section in details.
* [09c0533] mbd_snippet.html: Auto-open packages && building again when
ongoing.
* [b2151f2] templatetags/mini_buildd.py (mbd_api): Better error handling
on unknown command name.
* [1320f7a] api.py: OMG: Make api command names snake case (i.e. GetKey
-> get_key, was getkey).
* [9932eee] api.py: Fix: Source must not have a default.
* [5565998] models/gnupg.py: Update code path for Client class (fixes
remote prepare).
* [d431677] misc.py: Add common function for chroot key.
* [f478ad4] models/chroot.py: Add mbd_key, and use common chroot_key()
function.
* [722b827] api.py: "status" result: chroots: Use list of chroot keys
(rather than dict).
mini-buildd (1.9.14) experimental; urgency=medium
Allow repository to have inactive distributions (i.e., don't go
completely down just because one dist has problems). Plus misc fixes:
* [00ae905] models/repository.py (parse_distribution): Fix wrong field
name (in error handling).
* [e1ad010] setup: Update keys for stretch-backports, stretch-backports-
sloppy.
* [1087041] Rename "autosetup"->"setup" ("auto" seems redundant).
* [3619b67] gnupg.py: Initial support for gpgme (not used for now).
* [013f4d7] setup: Update keys for stretch/updates (security).
* [c5ad3ab] remove-aptkey-constraints.sql: Add remedy script for AptKey
constraints.
* [ad2fbbd] Revert "models/gnupg.py (AptKey.Meta): Use UniqueConstraints
to avoid duplicate keys (Fixes: We can now change keys in admin)."
* [37476e5] models/gnupg.py (AptKey.clean): Use django validation error
&& allow changing of existing instances.
* [93cbe8d] gnupg.py (BaseGnuPG.verify2): Support to ignore expired sig
keys (not used yet).
* [59d4403] models/source.py: Add user message when source fails to find
archive.
* [44d2415] models/source.py (Archive.mbd_get_matching_release): Add
(commented) code to call verify2.
* [98585cd] models/base.py (on_change): Only run (for reverse deps) if
LETHAL_DEPS is true.
* [885e258] models/repository.py: Model Repository:
LETHAL_DEPENDENCIES=False.
* [727e9a3] models/distribution.py: Model Distribution: Add extra
mbd_is_active() (true when all sources are active).
* [a25b842] models/repository.py (parse_distribution): Add check for
active distribution.
mini-buildd (1.9.13) experimental; urgency=medium
Bug fixes (all sizes); add manual --archives option for autosetup;
1st complete testsuite run on a buster-based setup:
* [e4cde92] daemon.py: Protect mbd_start|stop w/ lock.
* [359df56] admin.py, models/base.py: Move code to disable
'delete_selected' to our custom AdminSite (i.e., makes that work
again).
* [3b67071] models/base.py (Model.Admin.delete_model): Rather call
super() that manually delete obj.
* [3d200fb] misc.py: Jazzing unused 'dont_care_run' up to 'attempt'.
* [04b5829] models/base.py (StatusModel.Admin.mbd_activate):
'on_activate' should be called any time if active, not just on change.
* [f49e817] mini-buildd: Ensure http shutdown (fixes possible zombie
runs after unexpected exceptions).
* [cd51408] devel: Add (commented) code w/ gbp --snapshot --distribution
working.
* [579dd26] api.py (BoolArgument): Don't use 'store_true' for command
line (Fixes regr. after making Bool=Select(True,False)).
* [5e38459] api.py: Move all negative bool args to --with-foo (makes no
sense now bool is select(true, false) with default).
* [9d70548] api.py: Conformly name all bool args that enable a feature:
--with-foo.
* [0c94e15] client.py (Client.api): Use extra result var for error
(fixes interaction loop).
* [7aeda7f] models/source.py (Archive.__str__): Round ping times.
* [364f02a] api.py (AutoSetup._run): Fix: Forgot to actually provide
args for subcommands.
* [f6416ec] devel: Add MBD_ARCHIVES as configurable for testsuite.
* [441be5f] devel (check_devsys): systemd-detect-virt: Be quiet.
* [00e3ce3] devel; bash-completion: Add newline.
* [74cf74f] devel (mbd_setup): Add 'setup' to ease top-level testsuite
setup.
* [dab6cdf] * devel (mbd_run): 'Name' arguments.
* [a4e12f0] devel: testsuite: Support MBD_IGNORE_LINTIAN.
* [a3583ef] devel (build-ourselves): Check for success (INSTALLED) now
it builds in non-experimental.
* [7ff7ab2] devel: Compute some codeversions, use in our own snapshot
Debian version (Fixes check 'build-ourselves' under buster &&
bullseye).
* [f47da9e] devel: testsuite-packages: Packages (hard-coded) go to sid-
test-unstable (fixes tests under bullseye, buster).
mini-buildd (1.9.12) experimental; urgency=medium
Support dput "ftps" method (internal uploads and custom
mini-buildd-dput command) -- instead of just try both variants (OT:
patches proposed for dput and dput-ng as well).
Also polishing around the 'model status code' -- i.e., 'Daemon status'
and 'Daemon running' should now correlate, and model data should be
synced at all times.
* [a9bf547] control (Depends): Add minimal version for node-clipboard
(to catch bug #960859).
* [90c1002] config.py: Default HOSTNAME should be 'localhost', not None.
* [2508324] net.py (Endpoint._url_netloc): Make code more readable.
* [14f0d7e] models/daemon.py (Daemon.mbd_get_dput_conf): Fix to use
"ftps" if ftp endpoint is ssl.
* [1fb2995] models/base.py: save_model(): Rather call
super().save_model(), not obj.save().
* [e0a3462] models/daemon.py: Make ftp_endpoint() dynamic (fixes: would
not change on model change).
* [851cc72] models/daemon.py: Make fullname() dynamic (fixes: would not
change on model change).
* [0fd818d] models/daemon.py: Make all gnupg stuff dynamic (fixes: would
not change on model change, redundant code, redundant properties).
* [193b54e] models/daemon.py: Make mbd_fullname normal method (property
historically needed for urold django, afair).
* [6397116] packager.py (Packager.run_event): Add missing exception
logging for bogus event.
* [7dff335] __init__.py: Move log_exception() helper to package init.
* [b40d59b] models/daemon.py (Daemon.mbd_notify_event): (Regr) Fix after
change that parse_distribution() throws.
* [a510efa] __init__.py (log_exception): Log to level WARNING (not
ERROR) by default. Auto-log on e2http().
* [ac408cf] httpd.py: Make twisted "events" error response safe.
* [785c27f] mini-buildd-dput: Don't retry TLS, just rely on configured
method (ftp or ftps).
* [de3cf70] cli.py: dput.cf parser, mbd-config detection: Methods in
ftp,ftps and section needs to start w/ "mini-buildd".
* [23867fc] cli.py: dput.cf parser: Properly handle 'ftps' method (and
let http completer only have either http or https choices).
* [75baba2] net.py: get_certificate(): Fix "unclosed resource" py
warning.
* [6c9496c] __init__.py: log_excpetion(): Impl. via (py3) 'exc_info'
flag.
* [455ddff] packager.py (upload_buildrequests): Don't try to upload
error results on upload fail -- package won't be started anyway (fixes
public error handling on buildrequest upload fail).
* [ed2e317] builder.py (Build.run_deferred): Rm obsolete level in
log_exception.
* [18f3e9d] builder.py: Skip "failed buildresult upload" altogether:
Failed buildresults messaging was not safe, virtually no use case,
greatly simplifies builder code.
* [7d6da55] api.py (keyring|testpackages): Fix: Also stop at event
REJECTED.
* [819b0f8] ftpd.py (FtpD): Fix: Don't bind in constructor.
* [6fa470b] ftpd.py: Use endpoint URL as thread name.
* [95e891a] daemon.py: Fix: ftpd thread not updated on model change.
* [3c819ed] api.py (AutoSetupDaemon): Call update_model after ftpd
change (fixes autosetup / ssl case).
* [c8ec2c3] models/daemon.py: Switch from model_save() to save(opt sync)
to sync with Daemon.
* [ccda8b6] daemon.py: Properly rename update_model -> sync.
* [0548f3c] models/daemon.py (Daemon.save): Fix: 'Normal' save() needs
to be run before (optional) sync().
* [03d8985] models/daemon.py (Daemon.save): Fix: Per default, sync must
be on.
* [0465983] daemon.py (Daemon.sync): Actually update from db (using
refresh_from_db()).
* [6d2236e] daemon.py (start): Don't start if daemon is not active.
* [a8e0087] daemon.py: Update start/stop/restart to be methods
(prefixing "mbd_")
* [cc0d6f7] daemon.py: mbd_restart() is not used (remove),
* [33263da] mini-buildd (CLI.runcli): Update to mbd_start|stop.
* [5e595cb] api.py: Update to mbd_start|stop.
* [21ffa85] models/daemon.py: Daemon model: mbd_start|stop on
de|activation.
* [d7dff3d] api.py: Start,Stop->Activate,Deactivate: Actually
(de)activate the model state.
mini-buildd (1.9.11) experimental; urgency=medium
Convert 'wizards' into diversed API calls, and some:
* [9b8eb86] api.py: autosetup: Divide into four commands (daemon,
sources, repositories, chroots).
* [41c62ff] admin: Integrate new diversed autosetup commands.
* [5f92138] mbd_api_arg.html: Fix: Do "bool" via select, not checkbox
(make sure value is always submitted).
* [2542405] mbd_api_arg.html: MultiSelect: We do still need the option
to enter 'manual' values.
* [b588639] api.py: AutoSetupSources: Complete arguments.
* [4f3bea9] admin.py: Rm "wizards" configs for 'Sources' (obsoleted by
autosetupsources).
* [8607462] admin.py: Rm "wizards" configs for 'Repositories' (obsoleted
by autosetuprepositories).
* [35cf679] admin.py: Rm "wizards" configs for 'Chroots' (obsoleted by
autosetupchroots).
* [9fd6edd] admin/mini_buildd.html: Rm 'wizard' support, now obsolete.
* [42f22e1] api.py: Rm API call "meta" (now we just have proper API
calls).
* [f541cd7] models/base.py (Model.save): Make all models run
full_clean() (i.e., validation) before save().
* [d66f90e] __init__.py (e2http): Allow django 'ValidatioError' as safe
(user message) exception.
* [571e8b4] models/base.py: Use ValidatioError (again) for model
verification.
* [481e69c] models/*.py: clean() aka model validation: Always run
default validation first.
* [41578f8] api.py: Command: Allow 'given_args' to be a dict of
Argument.
* [dc08f0a] api.py: autosetup commands: Simplify to just use ARGUMENTS +
concatting these in do-it-all 'autosetup'.
* [430c863] api.py: Make autosetup commands own group.
* [400da2f] api.py (Command.update): Simplify args update (1st step).
* [fe43a13] mbd_plain.html: Show "Waiting for..." (not "None") if
content is None.
* [c19a156] mini_buildd.js: mbd_api: (Optionally) show arguments.
* [d2b10ee] api.py: Further improve given_args parsing.
* [0169327] api.py (AutoSetup): Add little piece of Argument doctest.
* [9f1e3a1] api.py: Rename argument types/classes to (sort-of) better
match HTML counterparts.
* [3cfd2f9] api.py (Argument): Make "choices" generic.
* [5c39256] mbd_api_arg.html: Add choices/datalist support for
Text/Number/Url types.
* [ae4a819] api.py: Convert all wrong "Select" arguments to type "Text".
* [6bd8f7a] mbd_api_arg.html: Display "select" as actual HTML select.
* [80de035] api.py: Let BoolArgument just be a "Select([True, False])"
(no extra HTML support needed).
* [97a22fe] mini_buildd.css (mbd-api): Just do max-height for
select/textarea (limiting to 1em looks better, but we can't see that
values).
* [b652bc3] mbd_api_arg.html: Make select,multiselect one case.
mini-buildd (1.9.10) experimental; urgency=medium
Mixed bag release covering a number of roadmap issues; further efforts
to make all public messages secure and better:
* [929867a] models/source.py: PrioritySource wizard: Add security
sources with prio=500.
* [2fe194a] builder.py: Rather terminate() not kill() running sbuilds
(fixes schroot sessions not being cleaned up).
* [0d0dd25] snippets/events.html: Fix: Also show error details on
REJECTED.
* [bf8d0ec] snippets/building|packaging.html: Show (build|package) key
as title on stamp.
* [7e597a6] packager.py (Package.purge_spool): Extra method to purge
(spool) only.
* [2791d86] builder.py (Build.terminate): Report if terminate() was
actually called.
* [2cee9fd] threads.py (EventThread): Just always add a lock class var
for convenience use.
* [526a272] packager.py: Add termination support.
* [8973f7a] builder.py: Add termination support (to Builder class,
better error handling).
* [4e52411] api.py: Drop "terminate" in favor of "terminatebuild" and
"terminatepackage".
* [d4c7d7a] packager.py: Improve public messages for "stray" incoming
changes.
* [a6ce41e] snippets/events.html: "Show package" action should be there
on any event type.
* [aca8569] api.py: remove --no-rollback: Add option to skip rollback.
* [c379696] testsuite-packages: Two new test cases: rejected-not-
uploadable, rejected-rollback.
* [05720ac] packager.py (Package): Simplify "not uploadable" error case,
improve public message.
* [2b6d755] devel: Auto-generate testsuite dput.cf every time before
dput call.
* [eace4e5] devel (testsuit-packages): On successful INSTALLED testcase,
call 'remove' so the test can be repeated.
* [648002b] templatetags/mini_buildd.py: mbd_api: Make full=True
default.
* [94dff84] wizards; Rm Ubuntu trusty (LTS support expired).
* [7eeff7f] home.html: Regression: Fix ids for autoload (Fixes JS
autoload).
* [9ad0521] mbd_api.html: No need for "zero width space" (#8203) in
empty summary.
* [ded0dd1] Rfc7807.__str__: Don't include HTTP status description
(redundant, and just too noisy).
* [6d0da38] Add Rfc7807.from_json(): Be able to re-use code where we
only have json (analog to Events).
* [506755f] Add helper Event.extra_info(): Human-readable info on extra
data.
* [9ea8cae] snippets/events.html: Split "Actions" in "Details, Actions"
columns; use events.extra_info() and improve actions options.
* [d333c74] packager.py: Improve public error messages.
* [08e2287] packager.py: Do "uploadable check" in r.parse_distribution()
(fix 3x code repeat).
* [e0d5799] repository.py: Let mbd_find_package() raise public on not
found.
* [958d97e] *.py: Bulk-review all public error messages for possible
security issues and more conforming format.
* [e02b1bb] *.py: Adapting a number of dectests to message updates.
* [a3d59a4] models/repository.py (parse_distribution): Add user error
when dist string can not be found in db.
* [9720ad6] events.py: extra_info(): Should never fail (but log errors
for debugging).
* [22427f7] devel: Rm 'htmlmisc' check ('unused templatetags'): Too
cheesy, and creates false-positive w/ mbd_next now.
* [1ae74a0] devel: testsuite-packages: Only build test packages that do
not exist already.
* [01058c8] devel: testsuite-packages: Arg may now be used to select a
single test package.
mini-buildd (1.9.9) experimental; urgency=medium
After making web and API error handling safe, this does the same
with django messages (and also greatly reduces them). Also a lot
of unrelated bug fixes and improvements on the way:
* [12534ac] templatetags/mini_buildd.py (Plain): Auto-TOC: Convert
lintian regexes to more general warning/error style.
* [20c51f4] mini_buildd.css: Make "warn" color readable (gold->coral).
* [c6c0dd9] Source,Distribution,Component: Fix implementations of
__lt__/__eq__ (fixes some strange errors from django admin).
* [9beb6a7] models/chroot.py: mbd_path as property, not class var (fixes
error on chroot "Add" in django admin).
* [8802944] devel: Add 'prepare-system' to quick instructions.
* [2e89ff5] django admin: Compatibility for django 2.2.
* [d35f3e5] admin/mini_buildd.html: Integrate 'Help' link into header.
* [f015d50] admin/mini_buildd.html: Sync w/ django 2.2 code; add
developer notes.
* [9efa87e] mini_buildd.css: Fix fg-color to hve more contrast to bg
colors.
* [f20e3ab] mbd_api_arg.html: Regression: Fix all inputs to have id's
again to match labels.
* [9d68edc] httpd.py: Add support for "Cache-Control" (browser cache)
header (but we don't actually use it yet).
* [50f026a] templates/*.html: Fix some akward 'quote-in-quotes' on
static calls (though working).
* [777de84] Drop "uglifyjs" in favor of "minify", do conversions off-
tree and add "svg" and "css" to the mix.
* [0747df5] Drop "favicon.ico" - instead just use our logo as SVG
directly.
* [2cbe814] mbd_api.html: Improve result popup top menu.
* [a9b7f85] mbd_api.html: Properly name "rerun as html" option, and put
to top nav.
* [a173cd4] base.html: Add warning when javascript is not available.
* [4ce2c6a] templatetags/mini_buildd.py: mbd_api: Support default
"action" type (so integrated API html may be configure to show
api_view).
* [ab82dab] admin: Update js include/init (have script/noscript magic in
admin w/o errors).
* [43d98a7] mbd_api.html: ajax results: Add "reload" button to nav.
* [9b28403] templatetags/mini_buildd.py (mbd_api): Rm unused context:
request.
* [3fb9a6a] __init__.py: Add e2http() helper (construct safe/public
exception).
* [38e4d7f] mini_buildd.js: api call: Shwo result box before call is
fired.
* [81bb558] mbd_api.html: Update result design, indicate ongoing call.
* [2168f70] mini_buildd.css: Make API result box center and be as big as
needed (not fix 80%).
* [02d11d3] security: Events (FAILED): Update "error" part in events to
new safe public HTTPError.
* [ae3b284] builder.py: Cosmetic: Fix (strangely undetected by checks)
wrong indent.
* [b12e4d0] __init__.py (e2http): Add default status (i.e., option to
generate other raw HTTP errors than INTERNAL).
* [06b17e6] views.py (ExceptionMiddleware): Errors: Simplify w/ e2http
&& properly run log_exception (i.e., with the actual exception).
* [7d1e8b8] views.py: Rm MsgLog from error view (does not really make
sense).
* [149f31e] api.py: Rm 'msglog' arg from constructor (we already have
the request).
* [bcf3e7a] api.py: Make msglog() output safe.
* [cbf162b] *.py: MsgLog: Bulk fix "msglog" args to "request" args
(always call via MsgLog(LOG, request)).
* [8813c17] api.py: Mv msglog test calls to msglog.py.
* [751f5b4] mini_buildd.css: log: Support all default python levels.
* [9f07cd2] mbd_messages.html: Add include for messages, and use it for
both 'mini_buildd' and 'admin'.
* [b4b1d11] mini_buildd.css: Improve messages design.
* [7f1bb57] models/base.py (Model.mbd_get_or_create): Rm msglog about
existing instances (too many messages, not helpful).
* [11203aa] models: Component, Source, Distribution: Make objects
hashable again (fixes django admin).
* [d70e2e6] models/*.py: Thin-out 'MsgLog messages' -- just too many,
and debug() should not be here anyway
* [f02a18d] models/source.py (Source.mbd_check): Fix wrong usage of
log_exception.
* [2a1315e] models/repository.py
(Repository.mbd_package_purge_orphaned_logs): (regr) Fix call syntax.
* [59a518c] MsgLog: Remove log_text() support; subsequently removes (too
much, not helpful, not secure) MsgLog output for chroot creation &&
reprepro check.
* [43b3f9b] models/base.py (StatusModel.Admin._mbd_run_dependencies):
Secure msglog.
* [6b658a6] models/base.py (StatusModel.Admin.mbd_action): Add one
generic msglog for action calls, remove all other.
* [c52b5c6] models/chroot.py: Phase out all MsgLogs.
* [b763b87] models/gnupg.py: Thin-out MsgLog.
* [b12ec25] models/gnupg.py (AptKey.Meta): Use UniqueConstraints to
avoid duplicate keys (Fixes: We can now change keys in admin).
* [e741cea] models/base.py (StatusModel.Admin.mbd_action): MsgLog: Show
status w/ checked status.
* [7521648] models/source.py: Thin-out MsgLogs.
* [809dba1] devel (mbd_gen_httpd_testfiles): Make dirs/files created
belong to user mini-buildd (fixes repo removal after testsuite has
run).
* [1a30e1a] *.html: Make snippets sort-of work (w/ iframes) when
javascript is disabled.
* [4db2ec5] cli.py: Generalize left-over 'mini-buildd' specific code
(fixes "console" logs for other CLIs not to be customized).
* [047b257] devel (logI|E): Prefix date on log lines.
* [5146005] mbd_api.html: Offer HTML view for list,show only.
* [0b71609] snippets/building|packaging.html: Put back data to
datatables && config finetuning.
* [146b124] snippets/events.html: Datatables finetuning.
* [ff5388e] log.html: show package rendered.
* [9122395] mini_buildd.js: Make datatables 'lengthMenu' global setting.
* [d10b483] /mini_buildd.css (form.mbd-api div.mbd-api-result): Fix:
Needs 'z-index: 1' to always stay on top.
* [f078fec] mbd_api_arg.html: Rm extra inputs (regex select, manual) for
multiple select.
* [e939981] mini_buildd.css: API form: Make select/textarea be ~1em by
default, expand on focus (makes API HTML form like one line/readable)
* [e50994d] mbd_api_arg.html: Set size on multiple select (should be
more convenient in most situations (no scrolling)).
* [36d2fc8] mbd_api.html: Re-add home to result menu -- is useful to hop
to status from another page.
* [5f22078] templatetags/mini_buildd.py (mbd_next): Fix to deliver full
path (w/ GET params).
* [448a05c] misc.py: Fix PkgLog to use changes.py to identify changes
type.
* [8fea587] log.html: Improve log view.
* [aafc1fc] mini_buildd.css (details>summary): Don't decorate "a" inside
"header" or "nav" elements.
* [1eeca85] static/index.svg: New icon (from openclipart-svg.deb).
* [2b80102] views.py: Add LogIndexView: Index w/ links to all existing
package logs.
* [bc573dd] mini_buildd.css (details>summary): "nav": Inherit display.
* [b3efac8] repositories.html: Add links for the new LogIndexView.
* [ffa9b29] api_view/show.html: Improve datatable.
* [ecde1a4] devel: Add log index to tidy test.
mini-buildd (1.9.8) experimental; urgency=medium
API polish release. Summary:
* Implement RFC 7807 for error handling, consequently obsoleting
HTTP custom headers previously used.
* Introduce "public" exception classes -- detailed error messages
are now available (via WEB or API response) only when explicitly
raised. Previously, any exception message would go "public", which
is a possible security risk (and mostly not helpful).
* API is now truly json only. "output" parameter is completely
removed, HTML view is now accessible via 'mini_buildd/api_view/'.
* API calls per WEB are now (per default) AJAX calls (i.e., results
are displayed on the same page w/o reload).
* [4c22494] views.py, __init__.py: Move HTTPException to package init.
* [ca52290] __init__.py (HTTPException.rfc7807): Add rfc7807 (dict)
generator.
* [15ba077] __init__.py, views.py: Make explicit HTTP exception classes
(bad request, unauthorized, m. not allowed).
* [e2a756b] views.py: Update middleware exception handling to new
HTTPException classes.
* [f94563f] __init__.py (Rfc7807): Extra class (so code can be used
elsewhere later).
* [45185e6] API: Switch to RFC 7807 error handling; obsoletes all custom
HTTP header code.
* [e2582aa] config.py: cfield_exception also obsoleted (by previous
'json+problem update").
* [2d8b74c] __init__.py: Better naming: HTTPException -> HTTPError.
* [02b6045] mini_buildd.js: Initial generic API call support.
* [ba6491e] views.py: debug: Log exception for API errors.
* [de1e116] mbd_api.html, css: Just use input "disable" attr to mark API
call as unavailable.
* [04e25be] views.py: Move 'error.html' template top-level (it's not for
app mini_buildd alone).
* [a306432] views.py: django exceptions: Fix 404 function syntax &&
don't make any django exception messages 'public'.
* [283a11a] Move all API templates to subdir api/.
* [70d5ff2] Use 'mini_buildd/api_view' for any html-ized api output,
"mini_buildd/api" for json only. Obsoletes extra parameter 'output'.
* [d2c1ab2] mini_buildd.js, base.html: Add automated mbd-[no]script CSS
classes.
* [4d4f3ad] mini_buildd.js: Update js code for API calls.
* [ce86e85] mbd_api.html: tag mbd_api: Initial support to call/show
result directly via js.
* [3acaeea] mbd_api.html: Fix 'double button display' via
mbd-[no]-script class.
* [5bb347a] api.py: Renmame cls.plain(r) -> cls.get_plain(r), add
self.plain(): obsoleting extra tag mbd_api_plain.
* [5d7f7b0] mbd_api.html: Do "confirm" via required checkbox.
* [8b2d7d8] mbd_api.html: Add macro (include) for submit; add non-script
submit in js result.
* [fbf2beb] base.html, mini_buildd.js: Rather use "initial" (not
"inherit") as "active" value.
* [e460b9e] mbd_api.html: Use 'mbd_plain' tag to show plain results.
* [ccc7056] templatetags/mini_buildd.py: mbd_img, mbd_api: Remove
"target" support.
* [d154edf] mini_buildd.js: API call: Improve error handling.
* [6ea8542] base.html: Fix: Remove redundant explicit next= in user menu
(already in djanfo conf).
* [83100d5] *.py: Bulk-update all 'Excpetion's meant for user
consumption into 'mini_buildd.HTTPError's.
* [42712e6] models/*.py: Bulk-update use of django exceptions to
mini_buildd exceptions.
* [7c343bc] mbd_api_arg.html: Cosmetic: Put 'textarea' (non-input) down
in if-else tree.
* [df7c8d6] mbd_api_arg.html: Remove all form elements' hardcoded
"size"-like settings.
* [3fd60e2] mbd_api_arg.html: Fix: Use HTML 5 "number" type for
IntArgument.
* [40d1000] mini_buildd.js: API: Support __plain__ results.
* [03c63de] api.py (MultiSelectArgument): Fix: Properly raw_value from
default.
* [859681f] mbd_api_arg.html: Rm unneeded element "id"s.
* [c302cd2] mbd_api_arg.html: Just leave out 'value=' if not set &&
reorder attrs.
* [af77e87] mbd_api_arg.html: Make all inputs w/o value 'required'.
* [c9623ae] mbd_api.html: Skip next.
* [fedc9ee] mini_buildd.css: Add another bg level for plain.
* [085cc84] mbd_api.html: Make result details open by default.
* [7dcc881] api_view/index.html: Make API overview more HTMLy, add TOC.
* [e727d3b] mini_buildd.css|js, html: API: Display overlay for (js) API
results (i.e., don't break layout).
* [48d0f8c] api.py (MultiSelectArgument): Make separator class attr, and
fix default setting for any argument class.
* [a114e6d] mbd_api_arg.html: Fix: Set "required" only if 'value is
None' (not if value evaluates to False).
* [6cc0006] mini_buildd.py (mbd_api): Rather use value, nor raw_value.
* [863f2cc] api.py: logcat: Decrease default lines 500->100.
mini-buildd (1.9.7) experimental; urgency=medium
Another polish release, with a various miscellaneous updates and
fixups:
* [342de97] config.py: Add class: Resource.
* [d023fc4] config.py, *.py: Convert all *_DIR globals to 'Resource'.
* [84b3d39] config.py, *.py: Convert all HTTP_PATH_* globals to
'Resource'.
* [1fb578f] config.py: Fixup globals order, add utility methods for
Resource.
* [b67a708] config.py: Rename LOG_RENDER -> BUILDLOGS.
* [6717386] config.py (Resource): Add getter methods (uri & path).
* [49f3dfc] views.py, *.py: Update buildlogs for new resource setup.
* [b0b62da] *.py: Bulk-update all manual join() calls with
Resource.getpath().
* [07dca70] urls.py: Use resource configs where applicable.
* [a7e29e0] config.py (Resource): geturi_abs() imho obsolete.
* [79eec8f] templatetags/mini_buildd.py: mbd_uri: Add tag to generate
(resource) uri.
* [dd37c77] snippets/repositories.html: Update URI generation.
* [57a031c] templatetags/mini_buildd.py (mbd_home): Re-use mbd_img
template function.
* [1494129] templatetags/mini_buildd.py: Add "target" support for
mbd_api, mbd_img.
* [8a8faef] snippets/repositories.html: Make all mbd_img/mbd_api links
here open new window/tab.
* [21547a4] home.svg: Add from openclipboard.
* [718f9e4] snippets/repositories.html: Properly integrated per-repo
"external home" link.
* [dd023ec] base.html: Intergrate API calls: getdputconf, logcat,
getkey.
* [4373e75] snippets/repositories.html: Integrate per-repo API calls:
keyringpackages, testpackages.
* [2360779] snippets/repositories.html (Snapshots): Improve snapshots
display.
* [797aedf] mbd_snippet.html/js: Display a stamp and reload for each
snippet in summary.
* [9cd43e4] snippets/repositories.html: Only show snapshot section if
there are snapshots.
* [a0af74c] snippets/repositories.html: Integrate portext.
* [036a1e8] models/repository.py (Repository.__str__): Sort
distributions.
* [bae350f] mini_buildd.css: Define 4 (was 3) bg-colors.
* [9633799] mbd_api.html: Don't auto-reroute to login when unauth,
rather popup auth error.
* [aa29a9e] mini_buildd.js: stamp: Rather use toUTCString (not
toISOString) -- more human-readable.
* [5f10f06] api.py: status: Add 'crontab', 'events' (length only) for
snippet support.
* [7619c2f] devel (tidy check): Download html to deven.tidy.html (for
better debugging).
* [5620f0c] tidy check: Fix missing quote in mbd_api.html.
* [5a73db7] mini_buildd.css: Simplify footer CSS.
* [897c2fe] mini_buildd.css: Further simplify 'main' CSS.
* [42e24b0] mini_buildd.css: Further simplify 'header' CSS.
* [2af5696] mini_buildd.css: Further simplify 'admin extras' CSS.
* [74c8f83] mini_buildd.css: Minor code style cleanups.
* [45df88e] base.html: Use div (not span) for footer grid sections.
* [91ebdea] base.html, CSS: Remove all "ul" from 'header navs', and
further simplify 'header' CSS.
* [28090cb] includes/mbd_api.html: Don't invent extra div here.
* [204a335] mini_buildd.css: Simplify && fix "api" CSS.
* [fc0e19f] devel (tidy): Use '--quiet yes' (no one needs verbose), '--
gnu-emacs yes' (hop errors) and '--mute-id yes' (display error ids).
* [844c507] devel (tidy): Mute
BACKSLASH_IN_URI,ESCAPED_ILLEGAL_URI,ILLEGAL_URI_CODEPOINT: False-
positives due to django "escapejs" tag.
* [46d6757] devel (tidy): Convert "proprietary attr" exception to
--mute.
* [e6fe4a4] devel (tidy): Drop 'drop-empty-elements' exception (no
longer needed).
* [242e32a] includes/mbd_api.html: tidy 'empty span' fix: Only output
hidden opts 'span' if there are any.
* [822a6c0] devel (tidy): Update 'success test' == 'empty result' ('tidy
--mute' does affect output only, not retval).
* [26cec29] devel (tidy): Up-stock list of tested URLs.
* [7c5ac04] views.py (ExceptionMiddleware.__error): Add a
log_exception() call for better debugging.
* [52f2ad0] mbd_plain.html, tags: Create (buildlog) TOC as data
structure in tag, build TOC html in template.
* [a859a63] mini_buildd.css (:root): Better border colors.
* [0af609c] mini_buildd.css (:root): Add (fg) colors 1-3.
* [dc5106b] mini_buildd.css: Simplify/fixup 'ongoing' (blink).
* [3692731] devel (tidy): Drop URL for testing log (we can't be sure
package is there).
* [5876e79] mini_buildd.js: mbd_snippets_update skip (now obsolete)
check if status call has data; write stamp last.
* [ae7285e] builder.py: Move gpg verification back to build (so we get
event && failed buildresult handling).
* [a579432] api.py (AutoSetup): Temporary fix for keyring update.
* [bae0fb1] mini_buildd.css: Rather use american "gray" (not "grey") and
other minor CSS fixes.
* [5e9614d] admin/app_list.html: Rather override this than index.html
(removes some redundancy && fixes display issues).
* [6b59846] templatetags/mini_buildd.py: mbd_model_count ->
mbd_model_stats: Simplification, obsolete include.
* [39a048c] mini_buildd.css|js: Make action classes conform to lower
case naming.
* [c866e81] models/base.py: Downgrade html 'colored status' hack-level
from horrendous to average.
* [45f76ef] mini_buildd.js: Add initializer function (code clarity &&
fixes js error in admin).
* [1c04368] mini_buildd.css, *.html: Class name cleanup for "log",
"sbuild", "lintian" and "event" types.
* [5580c9f] mini_buildd.css: Group color settings by semantic.
* [abaaf39] admin/app_list.html: Fixup class for model counters.
* [912fd52] mini_buildd.css: Introduction of (10) 'bliss level' colors.
* [05f8442] mini_buildd.css: Fix bliss color2: Orange.
* [2cdd6cd] debian/source/options: Tar-ignore minified js (so it's never
ends up in source package).
* [a279db7] mini_buildd.css: Remove all remaining hardcoded color
values.
* [c71daa8] mini_buildd.css, *.html: Update and thin-out most other
color related classes.
* [fe06684] mini_buildd.css: Rm all qualified class configurations.
* [e7c8222] mini_buildd.css: Update global setting && style cosmetics.
* [a8c73f9] mini_buildd.css: "admin extras": Mostly obsolete, rest
merged.
* [ffef25c] mini_buildd.css, *.html: Use "grid" shortcut and simplify
all grid setups.
* [2f3baa2] mini_buildd.css (.mbd-api-autosetup, .mbd-api-meta): Use
background shortcut.
* [b63d9cd] mini_buildd.css: Add global default padding for some
elements, remove all other paddings/margins.
* [8960901] mini_buildd.css: Get rid of border colors (and other fine
updates).
* [dfe0f73] mini_buildd.css: Run for the lighthouse.
* [199adf6] mini_buildd.css, *.html: jquery "datatables": Force
header/row bg colors to our scheme.
* [caaa7fb] snippets/crontab.html: Fix various wrong class names.
* [6737611] mini_buildd.css: Globals: Don't outline 'summary', add
padding to 'label'.
* [64d55e6] mini_buildd.css: Fix snippet header design via grid.
* [f49e429] mini_buildd.css: color update.
* [76151be] mini_buildd.css: Drop global padding settings (more harm
than good).
* [a9c6590] *.html: Rm bunch of superfluous "div"s
* [e20a2b4] mini_buildd.css: mbd-plain: Only use one class.
* [bee8792] mini_buildd.css: mbd-snippet: Only use one class.
* [45eb7c7] mbd_api_arg.html: Improve layout of regex/manual extra
inputs for "select".
* [30aadf0] mbd_api[_arg].html: Don't use 'span' around non-trivial html
code.
* [84f180e] mini_buildd.css: Improve base header.
* [99d0be8] mini_buildd.css, home.html: Improve home.html structure &&
css.
* [25056a9] mini_buildd.css: Only use one fg color.
* [41dc450] mini_buildd.css/*.html: Fix various regressions.
* [f770058] mini_buildd.css: Update mbd_api design for "one class"
setup.
* [cbe7eea] api_show.html: Use mbd_uri.
* [e3307db] api_show.html: Update to be one searchable datatable.
* [4a850de] events.html: Use mbd_uri.
* [3354cf7] mini_buildd/snippets/building.html: Fix order, (re-)add
builder info string.
* [4dd7159] mini_buildd.py (mbd_daemon_is_alive): Rm, this tag is
obsolete.
* [17fa876] api_show.html: Fix table id.
* [bf1fda1] mini_buildd.css: More API fixups (tidy warnings).
* [271a906] devel (tidy check): Ignore TRIM_EMPY_ELEMENT (too picky).
mini-buildd (1.9.6) experimental; urgency=medium
Polish release, with a various miscellaneous updates and fixups:
* [405612b] snippets/*.html: Properly prefix all table ids (with
'mbd-').
* [a475468] mini_buildd.js: Rather call api 'status' in js directly to
get 'count' updates (obsoletes mbd_snippet_fixup_summary()).
* [f6ee35e] *.html: Remove 5 more br/hr (uncatched last cleanup ;).
* [8979d28] mini_buildd.js: Update snippets updater/reloader (make one
'global' updater).
* [8d20526] builder|packager.py: Add resp. __str__() convenience (fixes
status output).
* [86819f2] mini_buildd.js: Add convenience function mbd_smartlen().
* [a025a83] templatetags/mini_buildd.py (mbd_snippet): Add "show_count"
option and disable count for events, crontab.
* [e7ad2eb] home.html: Misc fixups, simplify again.
* [37a85cb] api.html: Move API (list) back to its own page.
* [038396f] home.html: Fixup home layout.
* [0276d90] mini_buildd.js: Rather not use const (may not be supported
by older browsers -- breaks uglifyjs at buster).
* [ba7e261] mini_buildd.js: Snippets: On detail.open: Only update the
resp. section, not all.
* [572f172] views.py (APIView.dispatch): General api call log: Don't use
msglog.
* [2b56054] api.html: Simplify; make details be open by default.
* [187d41b] devel: tidy test: Re-add 'api.html'.
* [acf2a0b] home.html: API autosetup: if shown, should be full.
* [f171101] api.py: Add commands 'getsnapshots', 'gensnapshot',
'delsnapshot' (replacing poor 'snapshot' do-it-all command).
* [231cae1] api.py/api.html: Deliver cmd objects in the convenience menu
struct (to better access attributes).
* [b3b1295] api.py (Command.__init__): Make 'given_args' optional.
* [a07e004] api.py (Commands): "defaults" not used - removing.
* [e9fdf55] cone_soft_vanilla.svg: Remove this accident vanilla...
* [52254a0] api.py: Just use Daemon singleton implicitly (remove
'daemon' arg for commands).
* [1e9de0e] setup.py: Generate "version.py" (not __init__.py) to
automate version (makes __init__.py "normal code file" again)
* [5bde5f6] __init__.py, *.py: Add shortcut for Daemon singleton.
* [0da405f] api.py: Use Daemon shortcut directly.
mini-buildd (1.9.5) experimental; urgency=medium
Polish release, with a various miscellaneous updates and fixups:
* [59c1f7e] mbd_snippet.html: Give summary an id.
* [3a05d2f] snippets (packaging, building): Instead of open if ongoing,
just use class 'mbd-ongoing'.
* [6f3274e] mini_buildd.js (packaging, building): Keep summary up-to-
date on snippet reload.
* [c5350b2] mini_buildd.js, snippets: Update all snippet to fixup
summary on load.
* [56ddd42] home.html: Separate sections (activities, instances, api).
* [5fcbe9c] base.html, css: Simplify messages display.
* [4406428] mini_buildd.js: Name snippet functions conformly.
* [2037fbd] templatetags/mini_buildd.py, mbd_api.html: Add new tag
mbd_next, use for API next (Fixes: 'next' could be on snippet).
* [9b16d8e] views.py: Add "api" module to generic context.
* [fa3d349] urls.py: Update redirects to got to 'home.html' (obsoletes
extra view 'HomeView').
* [e273730] config.py: Add HTTP_PATH_HOME and use it throughout code
(fixes unnecessary redirects && redundancy).
* [cd399cf] views.py: Cosmetic re-order of views implementations.
* [b3aecb8] mbd_api.html: Show doc/params again even if not
authenticated for the call.
* [8a86e22] base.html: Add meta "Description" (makes lighthouse
happier).
* [c828649] mini_buildd.css: Proper name for keyframe move.
* [db76d26] mini_buildd.js/snippets: Add autoreload support.
* [d8e3640] mini_buildd.css: Fixup styles for snippets.
* [ad38289] base.html: messages: Use span, not tt (deprecated).
* [486f872] mini_buildd.js/snippets: React on interval changes && harden
code.
* [89d0094] httpd.py: Make file resource default to text/plain (and drop
all other extra mime support).
* [e9d2c39] repositories.html: Skip distribution descriptions (simply
use the distribution string).
* [dc18f72] repositories.html: Switch to sections (not details) on
distribution level.
* [79f743f] mini_buildd.py (mbd_api): Rather do (convenience) auth w/
api_cmd instance (not class).
* [a0dde25] mini_buildd.py (mbd_api): 'cmd' arg: Allow it to be cmd
instance directly as well (allows reusing args).
* [dbfd329] API templates: Always show command form again (to
conveniently adapt call).
* [dc84f45] repositories.html: Do apt_lines via getsourceslist api call
inclusion. Obsoletes 'mbd_d_apt_line' tag.
* [801062b] templatetags/mini_buildd.py: Add 'mbd_snippet' tag (instead
of manual inclusion).
* [21443c2] templatetags/mini_buildd.py: Add 'mbd_api_arg' tag (instead
of manual inclusion).
* [2d1131e] templatetags/mini_buildd.py: Add 'mbd_plain' tag (instead of
manual inclusion).
* [c6bae18] templatetags/mini_buildd.py (mbd_plain): Add Plain class,
and get rid of extra mbd_cat template.
* [334b9ef] mbd_snippet.html: js: Use generic local functions for
load,autoload (fixes some redundancy).
* [302ddfb] templatetags/mini_buildd.py (Plain): Fix buildlog regexes to
be class attr of Plain.
* [21a94e1] views.py (LogView.get_context_data): Update PkgLog so it can
be used as-is in context.
* [7e75f7a] log.html: Simplify, assemble uri paths in context.
* [d3d9740] repositories.html: Cosmetic fixup repo summary.
* [3f86aaf] models/distribution.py (SuiteOption.__str__): Fix: Missing
format string for migrates_to.
* [2c778f4] templatetags/mini_buildd.py: Update and rename:
mbd_distribution_string -> mbd_get_distribution_string.
* [cb7eff3] templatetags/mini_buildd.py: Rather use one "parser" tag for
all values needed in repo overview.
* [f3bfe3c] models/distribution.py (SuiteOption.__str__): Simplify to
name only (not used).
* [b6f6930] repositories.html: dist attributes: Use 'span', not kbd.
Other cosmetic improvements.
* [56a2917] templatetags/mini_buildd.py; Add mbd_img (and mbd_home) tags
and generalize all 'img[link] html'.
* [656884e] templatetags/mini_buildd.py (mbd_img): Add convenience
support for 'clipboard.js'.
* [ff5fe47] mbd_plain.html: "div"ide whole/header/content; properly
prefix class names 'mbd-plain'; imrove style.
* [288e612]
templates/registration/activation|registration_complete.html: Fix
h1/h2 mismatch.
* [d8329b8] *.html: Bulk fix '{{foo}}' -> '{{ foo }}' (in-line w/
djangos code style).
* [047f5a5] *.html: Bulk-remove any use of '<hr>' or '<br>'.
mini-buildd (1.9.4) experimental; urgency=medium
WEB UI rewrite followup, with a lots of smaller related and unrelated
fixups:
* [1329584] templatetags/mini_buildd.py: Add basename filter.
* [8a56e91] includes/mbd_plain.html: Separate "Download" and "Raw File"
buttons.
* [3ce6ab0] mini_buildd.css: Rm bunch of uneeded (and unhelpful) font-
size settings.
* [6c56fe3] mini_buildd.js: mbd_load_snippet(): Simplify code.
* [81ef50a] devel: Also run m-d-dput with full debug.
* [a0309a7] mini-buildd-dput,cli.py: Add -c, --config option for our
custom dput.
* [f9a83e0] source/options: Add tar-ignore for devel.dput.cf (automated
testsuite only, local data).
* [a4fa918] devel: Generate dput.cf to use in testsuite on the fly via
getdputconf.
* [c98a908] devel, source/options: Name all (two) testsuite generated
files devel.<foo>, and update to nicer 'pattern tar-ignore'.
* [4acb457] home.html: packaging, building: Open by default if items
present.
* [6b10562] building.html: Rename column 'Status'->'Running', and add
actual content.
* [81f75f3] snippets/packaging|building.html: Set entries per page to 5
by default && add better menu including "all".
* [53143ac] mini_buildd.css: Add (currently unused) 'mbd-ongoing' class.
* [f6317cb] mini_buildd.css, base.html: Simplify "messagelist" display,
and get rid of all extra "messagelist svg"s.
* [aa0c6d7] mini_buildd.css: Introduce variables for main colors.
* [7b120e8] wizards: Add Ubuntu 20.10 (groovy).
* [ef2fabd] mini_buildd.css: colors: Add bg for all admin actions; rm
some unused classes.
* [181d278] urls|views.py: Use 'm-b/buildlogs/log|live' locationa to
render all buildlogs via generic BuildlogView class.
* [84f92d1] Rename file.html -> buildlog.html (only used for buildlogs).
* [88445d1] mbd_plain.html: Update "raw file" to "vanilla view" (and add
vanilla clipart from openclipart).
* [e0b2806] buildlog.html: Only use basename for title.
* [b6e3ee2] Rename logo mini-buildd.svg -> mini_buildd.svg (in sync w/
rest of files in static/).
* [b011905] doc 'layout.html': Fix logo link to new name.
* [d25666c] source/options: tar-options: Get back dpkg-source's default
ignore list.
* [6eb063e] .lintianrc (suppress-tags): Update to lintian tag rename:
changelog-should-mention-nmu- > no-nmu-in-changelog.
* [f1391f1] .lintianrc (suppress-tags): Add bad-distribution-in-changes-
file (does not make sense for dev testing).
* [0a42424] lintian: Override 'national-encoding' for test package file
(that actually tests wrong national encoding).
* [d67e604] lintian: Override 'breakout-link' (for javascript symlink in
/usr/lib/).
* [be09ac1] devel: Add helper to run lintian manually.
* [b2b35d3] devel (changelog): Run 'gbp dch' in non-snapshot mode for
now.
* [8112b7a] source.py (Source.__str__): Add 'codeversion'. Update format
to read like "Debian 10 (buster)".
* [6a80914] models/source.py: Add (python) sorting for 'Source' objects
(sort by origin, then codeversion).
* [09cf4e7] distribution.py (Distribution.__str__): Update to use
Source.__str__().
* [147e6dd] models/distribution.py: Add (python) sorting for
'Distribution' objects (based on base_source).
* [016ad6b] snippets/repositories.html: Use new sorting for
distributions.
* [07aa12b] mini_buildd.css: Add 'mbd-snippet' class/design.
* [b44c6f7] mini_buildd.css: Get all main colors into variables.
* [9f0b9a6] mbd_api_arg.html: Add/fix label for *any* form input.
* [e04f17a] templates/base.html: Add 'lang' to html tag ('en-us' fixed,
we don't do translations).
* [fb96490] templates/base.html: Add standard viewport meta (apparently
helps mobile devices).
* [748ffc6] base.html: Rather use minimized jquery: 'jquery.min.js'
* [a3ef8b8] JS: Add "min" version of our javascript (via uglifyjs).
* [23f0f2b] html/css: Convert all "image buttons" to be just images
(reload, vanilla, download, clipboard).
* [d5e6f2d] static(html: Add browse.svg (from openclipart), and renice
some links (log, api_show, repositories).
mini-buildd (1.9.3) experimental; urgency=medium
Issue Soup, plate VIII: WEB UI rewrite
This release focuses on improving internal "django code" (views, context,
templates, tags, css, apps) to make it more maintainable.
User-visible highlights:
* HTML much more 'HTML5ish', all gfx now svg, no more fixed
sizes (Fixes #843396).
* On-demand loading for crucial parts of home.
* Clipboard support for raw output (json, buildlog, etc).
* Tables are now done w/ datatables.js, offer sorting and search options.
* Buildlogs display adds a "guessed index" (help find relevant lines).
* Updated crontab view.
* Updated user menu.
* [fc75bf4] css/mini-buildd.css: Merge all CSS (except sphinx.css) here.
* [7ef8d5c] mini-buildd.css: Reorder; fix some comment headers.
* [96da74a] mini-buildd.css: Greatly simplify color coding.
* [7d4d1a0] mini-buildd.css: Convert all ID selectors to class
selectors.
* [42a5a9e] mini-buildd.css: To top-level colorcode: model stat, daemon
stat, user stat.
* [0138548] mini-buildd.css (.inner-inner-box): Rm, unused.
* [e8190c4] mini-buildd.css: More re-ordering and cleanup.
* [2cf7c0e] mini-buildd.css: Bulk-convert from 'px' to 'em'.
* [a8cffcd] mini-buildd.css: .smaller is a rather a tool.
* [25c0651] mini-buildd.css: More re-ordering.
* [6150b7a] mini-buildd.css: Greatly simplify 'header' and 'branding'
into new 'menu'.
* [9d8b650] devel (htmlmisc): Rm test for unused CSS id selectors (not
using these any more in CSS).
* [64e0767] base.html: "img" needs "alt" (says tidy).
* [ec0db50] devel (mbd_run): Log failed test on exit (helpful when
running longer testsuite).
* [e802ff1] devel: Split log -> logI, logE.
* [6a0bcfd] models/source.py (mbd_filter_active_base_sources): Exclude
"experimental" from base sources.
* [65ed90b] mini-buildd.css: menu: New setup (w/ divs), bring back hover
candy.
* [01004f8] mini-buildd.css: Remove a bunch of global config around font
sizes and padding.
* [89a7552] templates/base.html: menu: Do w/o extra 'divs'.
* [723b515] mini-buildd.css: Remove more global config.
* [3bd3e10] mini-buildd.css: Mv 'model status display' oo the way.
* [0fece5e] mini-buildd.css: "header": Rewrite, simplify.
* [a8ffde7] mini_buildd/base.html: Simplify: Merge base.html into this.
* [7abf488] mini-buildd.css: Fix and simplify 'footer'.
* [1593758] mini-buildd.css: More reordering.
* [ae4b69c] mini-buildd.css: 'api': mbd-api -> api, initial cleanups.
* [559a3c7] mini-buildd.css: Greatly simplify 'api' part.
* [37cff85] mini-buildd.css: admin: Fix/simplify colorized action
buttons.
* [2306114] control: Put libjs dep to module package, and make all 'deb-
installable' javascript available via '<static>/javascript'.
* [37c40c3] mini_buildd_tags.py (mbd_jquery_path): Remove (use new
'<static>/javascript' path instead).
* [5c6688c] base.html: Support js "datatables" (sort/filter) for
'events' table.
* [d506ca3] web: Simplify static/: Put all (few) files on top level.
* [7c1137e] mini-buildd.css: Update for default table elements &&
timestamp.
* [31c2cda] base.html: 'content' div should have class 'content'.
* [efb02c7] mini-buildd.css: Add top-lebel contents style.
* [e8c193e] home.html: Rm a ton of superflous/wrong class attributes.
* [8f068fe] mbd_api.html: Put submit button first.
* [c8bdb6d] mini-buildd.css: api: Display details inline.
* [4ec2171] base.html: Add little doc as comment.
* [cc503cd] base.html: Rename block: localscript -> javascript.
* [cce7571] mini-buildd.css: Convert menu to table.
* [53fca8f] mini-buildd.css: Update header.
* [248f7a3] mini-buildd.css: Update footer.
* [2727c96] mini-buildd.css: conten bg to whitesmoke.
* [29f25fa] mini-buildd.css: Bulk-remove all (but one) "global
defaults".
* [98f098e] bullet.svg: Remove, no longer used.
* [3e82f0b] home.html: Rm superflous boxed div from events,
repositories, chroots, remotes and crontab details.
* [9455711] views.py: home: Rather show all repositories, chroots and
repositories (previously, limited to activated).
* [c771da2] mini-buildd.css: Rm 'model status display' configs (don't
seem to be used).
* [e0cb75f] static/clipboard.svg: Add (for later use as icon).
* [818ac6a] mini-buildd.css: Re-nice color codes.
* [ec18355] html: Add clipboard.js support.
* [2f79a52] base.html: Use HTML5 "header" element.
* [c9400c4] base.html: Use HTML5 "nav" element.
* [2d45669] base.html: Use HTML5 "main" element.
* [17f674b] base.html: Use HTML5 "footer" element.
* [08c8e79] base.html: Fixup "nav" elements: One nav for header (omit
title); make all navs use "ul" for nav items.
* [390b854] base.html: Fix names: [h]title, [h]subtitles used for both
head.title and HTML header title (these should be the same, but django
does not allow DRY here).
* [64d5374] base.html: Renice <head> order.
* [20c5252] base.html: Fix header ot have nav0, nav1.
* [f636278] base.html: Clean up messagelist, add title zo main.header.
* [7e53019] views.py, django_settings.py: Move COMMANDS (previously for
API index only) to generic context.
* [d4ec564] base.html: Rm 'API Index' page -- instead have an elaborate
drop-down menu item "API" in nav0.
* [ba0678b] api.py (Commands.menu()): New method: Create actually
grouped/py structure (to help w/ creating the API menu in HTML).
* [d723731] base.html: Structure API menu w/ groups.
* [8a4279d] home.html: Rm "Toolbox": Now all in the API menu.
* [bedbd2c] mini-buildd.css: Improve body.header.
* [bddb332] devel (mbd_installdeps): Install build-deps last.
* [d44c389] devel (mbd_installdeps): Add libdistro-info-perl (avoid
warnings).
* [921bc69] client.py (Client.api): Fix: Avoid error if daemon_msg list
is empty.
* [fe09d1f] mini-buildd.css: More bulk remove (rather re-do from
scratch).
* [52816fb] mini-buildd.css: Separate admin.css again.
* [32a5b9a] includes/mbd_api.html: Rm extra "div" ("form" now top level
element).
* [732e1bc] mini-buildd.css: Top menu in one line again.
* [3cb3f95] base.html, *.html: Rename block: "content"->"main".
* [56dcc92] html: Do API call confirmation via javascript.
* [2c7366b] includes/mbd_api.html: Add call args to confirm window.
* [e19ff24] home.html: Fix key for 'builder kill' api call.
* [510b6ff] home.html: Fix key variable for package kill.
* [12b2c78] home.html: Use h2 (not h1) for packaging, building.
* [aa72f68] home|base.html: Mv 'API' from top menu to home menu.
* [7f8aef3] home.html: Rm extra "div" from main block.
* [e7ff195] home.html: "Configured: Bundle Repositories,Chroots,Remotes.
* [d7f8a0a] mini-buildd.css (body > header): Fix css syntax.
* [b48971c] home.html: Use more 'details' for content menu.
* [7c5e22c] mini-buildd.css: Make "details in details" indent.
* [c72a32c] django_settings.py: Enable site caching (with 'all-default'
(memory) backend).
* [3cecad5] home.html: Home nav: Use details, not ul.
* [3803547] repository_detail.html: Rm superflous html elements (ul,
div)
* [b82c11d] mini-buildd.css: Make api display "flex" for now.
* [413ae31] Revert "django_settings.py: Enable site caching (with 'all-
default' (memory) backend)."
* [7d319eb] home.html: Merge repository_detail.html.
* [aad8894] reprepro.py: Rm debug (occurs too often to be helpful).
* [330d09c] mini-buildd.css: Use CSS grid for header, more
simplifications.
* [0249584] web: Better names: main.css|js, not mini-buildd.css|js.
* [e60cb8f] views.py: Add new "snippets" view.
* [8ef1758] main.js: Add (initial) function to load snippets.
* [11815ef] includes/mbd_snippet.html: Add snippet includes.
* [7d7e6e6] home.html: Update Packaging+Building to new 'snippet setup'.
* [267677a] home.html: Update Events to new 'snippet setup'.
* [38a68bc] home.html: Update Crontab to new 'snippet setup'.
* [748df9d] home.html: Update Repositories to new 'snippet setup'.
* [32e2cfd] home.html: Update Chroots, Remotes to new 'snippet setup'.
* [20a6e43] main.js: Show 'wait' cursor on any 'ajax' activity.
* [bfb9e12] snippet, js: Use extra content element (fix clearing details
summary).
* [15449d6] main.js: Switch to to under_score, not camelCase.
* [fd8dc11] main.js: Indent fix, reordering.
* [19cc0f8] snippets/events.html: Fix: Enable jquery datatable in
snippet.
* [edb1aa3] snippets/packaging.html: Update to jquery datatable.
* [a3e655f] snippets/building.html: Update to jquery datatable.
* [d01491e] home.html: Cache API menu (increases time per request for
home by factor ~6).
* [b6d82ed] control: b-d: Remove max version restriction (<< 2:3.1) for
django.
* [621af43] base.html: Add (commented) code to show debug/context.
* [8954c3e] django_settings.py: Generic context: Simplify, and prefix
with "mbd.".
* [7205897] views.py: Omit "daemon" from home and snippet context (use
'mbd.daemon' from generic).
* [25f3a1e] views.py: hom/snippet: Omit extra repo/chroots/remotes
context vars, just use generic 'mbd.daemon...'
* [38acc88] views.py: AccountProfile no longer needed.
* [21c346b] urls.py: Rm URI '/repositories/<id>': No longer used.
* [ba22ccf] views.py: Rm extra view code for 'home' -- this can be just
a standard template view now.
* [a10f497] urls.py: Update to 'simplified-url-routing-syntax', and pimp
django min dep to 2.2.
* [fbf19a9] views.py: Cosmetics for error views.
* [b1d8a18] views.py: Class based views for Home and Snippet; mv generic
context to top-level View class.
* [463f355] views,urls.py: Update more path_re() -> path(), generalize
SnippteVire-YTplView.
* [af410bf] urls.py: Update all mini_buildd urls to "path".
* [464029d] urls.py: Update 'admin' urls to path(); omit 'admin/doc'
(not really useful).
* [c1aee56] urls.py: Update "registration" to path(). Obsoletes
're_path' altogether.
* [7b26abc] views.py: Add LogView (make log view class based).
* [52264bf] views.py: Add LiveBuildlogView (make live buildlog view
class based).
* [06f2f99] views.py: Put custom error view functions 1st.
* [403dae9] views.py: Add config.py (as "mbd.config") to generic view
context.
* [774b038] views.py (LogView.dispatch): Merge generic context.
* [ce120c0] mini_buildd_tags.py: Add "mbd_cat": Cat any (text) file.
* [4aac606] mbd_file.html: Add include to show a file inline.
* [98b195a] file.html: Add standalone page to show a file.
* [aea55f3] views.py (LiveBuildlogView.dispatch): Use new file page for
live buildlogs.
* [ad3eaa2] log.html (Build logs): Use new file include to show build
logs.
* [ec2eeb3] includes/mbd_file.html: Fix var name: 'file_name', not
'file'
* [8035ba4] log.html: Use file include for changes.
* [8f569df] log.html: Simplify.
* [4084196] views.py (View.setup): Overwrite setup() in top level view;
update special "mbd context" via private class var.
* [b5b7da7] views.py (LogView): Update to new context setup.
* [3ead6ec] views.py (LiveBuildlogView): Update to new context setup.
* [27caa3b] views.py (LogView): Simplify && make work again for "failed"
case.
* [0b4ea64] views.py (LiveBuildlog|LogView): No need to call
super().setup w/ mbd vars.
* [85bbd30] views.py (LogView.setup): Further simplify; remove 'double
context'.
* [c837e4d] urls|views.py: Don't customize 404; add missing 405.
* [f9ee270] views.py: Error views: Use http.HTTPStatus.
* [4ee821c] client|views.py: Drop feeding (possibly lots) messages
through HTTP header -- only one error description now.
* [02d993c] views.py (View.setup): Ignore attribute-defined-outside-init
for _mbd_context.
* [c62a352] devel: New configurable var: MBD_DEBUG.
* [64c0353] views.py (PathView): Rename TplView->PathView, minor
cometics.
* [cbcf097] views.py: api() view: Skip extra try catch (to default to
BAD_REQUEST).
* [80b787a] devel: Handle MBD_DEBUG in profiles.
* [2645137] views.py: Add initial Middleware for generic error
(exception) handling.
* [36fbb52] config.py (cfield_exception): Add common function for HTTP
header error field.
* [b64bd91] urls.py: Remove custom error handler config (will be
replaced by new middleware).
* [257c32e] error.html: Update to new middleware setup.
* [1bc2d8b] django_settings.py: Actually configure new exception/error
middleware.
* [7b15e8d] views.py: Remove all old custom error handling code; in api
view, raise new HTTPExceptions instead of returnin responses.
* [c6c9e79] api_show.html: Rm top level divs.
* [275d980] api_show.html: Rm (no longer existing) link to repo
overview.
* [9f4faa7] api_show.html: Update to jquery datatables.
* [2aa3b39] api_show.html: Make "details" menu repo.codename -> table.
* [38b006b] api_list.html: Update to details-based menu (repo -> table.)
* [f5734f1] api_list.html: Update to jquery datatables.
* [f2ace9f] api_show|list.html: Have details open by default.
* [a5e5856] mini_buildd_tags.py: Rm tag 'mbd_title'.
* [bad32e6] views.py: Update api view to class based.
* [c7b27f7] views.py: API: Don't use django shortcuts.
* [5dd7552] views|urls.py: Add and use class based view for
AccountProfile.
* [8e65184] main.css: More classes cleanup: Rm unsued, prefix w/ mbd-.
* [c425f79] admin/index.html: Revert wrong block renaming:
content->main.
* [074ddc5] admin/app_list.html: Rather overwrite app_list.html
(include) than index.html.
* [4162f6b] admin/app_list.html: Some cosmetcis on "header".
* [6d66cf7] admin.py: Move models/__init__.py here (this seems to be
django admin convention; eliminates explicit register call).
* [c2064d2] urls.py: Skip running autodiscover() ourselves (django seems
to do that by default).
* [0d489ee] admin.py: Create custom AdminSite class.
* [6902297] admin/index.html: Revert to overwrite index.html again
(app_list.html not supported in django 2.2)
* [f1846f9] admin/index.html: Skip base_site override ("branding").
* [84b7b23] admin/index.html: Add (commented) debug snippet.
* [8a5479a] admin.py: Add custom site header and title.
* [94b3743] admin.py, admin/index.html: Do most date processing in
AdminSite: App and model ordering, extra data for mini_buildd app.
* [337f5fd] admin/index.html: Sync w/ py-django 2.2 template.
* [b8aeb8e] admin/index.html: Put preliminary mini_buildd extra content
to mini_buildd app only.
* [68ba0e7] includes/mbd_model_count.html: Update to use classes only,
not explicit styles.
* [7223d36] admin/base_site.html: Overwrite base_site again (to get same
css/js in all pages).
* [cec82ef] main.css: Simplify css for messages.
* [a1db9a8] main.css: Cosmetic reordering.
* [6e8977a] main.css: Fix selector syntax: mbd-nav-search-and-user.
* [1a93315] main.js: Move "admin button magic" js code here.
* [e15ee61] templates/**.html: Bulk-remove obsoleted
type="text/javascript" for script element (fixes validator warnings).
* [a09a2a9] base.html: Rm (basically unused) JS blocks.
* [a2ffe26] templates/**.html: Bulk-fix multi 'load' commands to single.
* [e2204b5] mini_buildd/*.html: Bulk-cleanup to use only one 'title'
block.
* [bd70195] base.html: Move to top-level templates dir (used by various
apps).
* [dff1453] views.py: Add separate function for generic context.
* [4b57532] views.py: Mv generic context back to plain context processor
function.
* [23775f1] views.py (LogView): Override get_context_data(), not setup.
* [b342c33] views.py (LiveBuildlogView): Use get_context_data() (not
setup()) to extend context.
* [6c26f97] views.py: Generic View class now no longer needed.
* [f1c9553] views.py: API menu context: Only for home view.
* [bd3bb27] snippets/events.html: Show in ascending (was desc) timestamp
order by default.
* [efeeaf0] admin/base_site.html: Add jquery.js (fixes js error).
* [29a68eb] urls.py: Make path URL work for any '*.html' path.
* [a60ed13] base.html: Link config,admin as iframe.
* [f496fd6] api_default.html: Update to extend from base.
* [b94c991] includes/mbd_pre.html: New include for plain text view w/
copy-to-clipboard.
* [4c9ff87] snippets/events.html: Use mbd_pre include.
* [41524c8] snippets/repositories.html, tags: Add tag
'mbd_distribution_string'.
* [602c4c3] snippets/repositories.html: Use apt_pre include for all "raw
text".
* [5b6eacf] includes/mbd_file.html: Update to mbd_pre.
* [1528d0c] api_default.html: Update to mbd_pre.
* [0e5c719] repositories.html: Put browse links into resp. summaries.
* [362acb0] main.css: Use 'mbd' prefix for clipboard.
* [a2a01fc] base.html: Make js clipboard support available on any page.
* [44a6420] mini_buildd_tags.py: New tag: mbd_hash.
* [e0922b0] mbd_pre.html: Use hash from given id for html class id
(avoids possible wrong class id syntax).
* [7c448af] base.html: Reorder includes in header.
* [51276ba] django: Rename "mini_buildd_tags" -> "mini_buildd" (this is
already in 'tags context').
* [a37ec89] mbd_api.html,css: grey-out api button if needs login.
* [d0e7997] mbd_api*.html: Rm 'show_doc' support (not used).
* [9902ebc] mbd_api: Move most logic from template to tag.
* [da60cac] base.html: Mv DPT link to api_show.
* [6a5198d] templatetags/mini_buildd.py: mbd_api: Simplify code.
* [672eca2] home.html: Use 'full' api view in api menu.
* [a281b6d] main.css: Simlify header layout.
* [c1f8425] base.html: messages into main as "aside" element.
* [29a0d32] main.css: Add prefix "mbd" to all all color classes.
* [8c9b601] main.css: Rm class 'smaller'.
* [45a6f0f] main.css: Don't use one-liner notation.
* [a1bc29d] main.css: Alos fully classify main and footer.
* [bc898a0] main.css: Add mbd-Prefix for all messagelist classes.
* [fd556fc] Rename main.css|js -> base.js|css.
* [71d3f5e] base.css: Identify header,footer,main w/ classes.
* [043cd7f] base.css: Merge admin.css.
* [c6e56ed] doc/_templates/layout.html: Fix css and logo links.
* [d9c5596] base.css: Merge sphinx.css.
* [6801e23] base.css back to mini_buildd.css (now all css is in one
file).
* [9c9f4c2] Revert "base.html: Link config,admin as iframe."
* [0e87b28] mini_buildd.css: Merge admin button css to 'generic color
section'.
* [1f779a9] mini_buildd.css: Rm bunch of unused admin CSS.
* [dec1e55] includes/mbd_model_count.html: Update to mbd-Prefix.
* [6fc0b38] admin/index.html: Fix 'wizard' api display, add/changre
format.
* [d017777] mini_buildd.css: Logo via class.
* [88df1e5] admin/confirm.html: Revert wrong former block rename
content->main (only for mini_buildd templates).
* [7f9955a] admin.py: Only use 'index_title' (seems to be only thing
actually displayed).
* [6b7f764] admin/base_site.html: Minimize (only add css, js and favicon
now).
* [9877fb3] Better name for custom confirm template: confirm.html =>
mini_buildd/mbd_action_remove_confirm.html.
* [687a97f] mini_buildd.css, *.html: Bulk remove non-prefixed classes,
minor cleanups.
* [a40d6b2] mini_buildd.css: Use grid for footer.
* [110ab90] mini_buildd.css: Make logo s/what smaller, and align middle.
* [ab186ea] mini_buildd.css: header: Fixup "ul" margins and paddings.
* [7200de3] Bulk-remove all remaining static 'style=' from html
templates.
* [b9d9000] mini_buildd.css: Rather use margin-top|bottom (instead of
margin-block-start|end). (Fixes css validator complaining)
* [0232423] mini_buildd.css, api*.html: Use grid layout for optional api
args.
* [3dfdf2f] mbd_api_arg.html: Remove extra "details" tag for arg input
fields.
* [2009cdd] home.html: Rm extra details tag in api menu.
* [8e76e39] mbd_api.html: optargs: Display details inline && add
background.
* [7962521] mbd_api_arg.html: rm unused 'class' for label.
* [93fd5c5] mbd_api.html: Put div (class=mbd-api) around api (again)
(some css just does not work w/ form).
* [85c2a61] mini_buildd.css: Background whole api, not just optargs.
* [99288a3] css, mini_buildd/home.html: Display api block-inline.
* [ba7353a] cron.py: Job: Rename class var typ->type (analog to events:
key names should not matter for class vars).
* [20031e6] cron.py: Job: Make 'next_run' and 'desc' class vars public.
* [c555ab7] mbd_snippet.html: Add reload button.
* [774be05] mini_buildd.css: Rename class 'mbd-successful' (not used
afaict) to more conforming 'mbd-success'.
* [3c6cadb] events.html: datatables: Fix ordering of 'timestamp" using
'data-order' attr (and properly use "desc" default order again).
* [e96faed] cron.py: Update for better log/display purposes.
* [599eb52] daemon.py: Add code help debugging crontab.
* [275f92d] snippets/crontab.html: New crontab display based on jquery
datatables and updated cron implementation.
* [0d8c62e] mini_buildd.css: Make messagelist classes truly uniqe to
messagelist.
* [9e3aa41] misc.py: Rm local2utc: Obsoleted.
* [45b5888] cron.py (_Job.Log.seconds): Remove (unneeded) datetime tz
aware test.
* [c1f76e2] mini_buildd.css: General re-order && cleanup.
* [03a2f6f] home.html: Rm html caching for api menu (does not bode well
with dynamic API display and login change).
* [16e484d] admin/base_site.html: Return of branding.
* [a6019fd] Rename logo.svg -> mini-buildd.svg.
* [440e04e] base.html: Put all user navigation
(login/out,profile,register,reset) into header, mbd-nav1.
* [a35bf36] base.html,registration: Improve user menu && simplify
registration templates.
* [aa52228] mini_buildd/account_profile.html: Make independent from
registration templates.
* [226d173] registration/password_change_form|done.html: Rm, no need to
customize these.
* [7e0fe9d] templatetags/mini_buildd.py: mbd_api: Add "mbd" and
"request" to context.
* [bfc8ec2] config.py: Fix login path to admin app default login path.
* [a023433] mbd_api.html: login && api path: Use values from config.py
rather than hardcoded.
* [f7f4459] mbd_api.html: Use separate form for auth_err case, add
'next' handling after login.
* [6cfbb4e] registration/login|logout.html: Rm, now obsoleted (using
"standard" admin app login/logout).
* [1315e89] registration/password_reset_done|form.html: Both not actual
customizations, and not needed.
* [664009d] registration/password_reset_*: Remove all customization
around password reset (not-actually-custom or not functional anyway).
* [c9032be] registration/login.html: Add again, using 'admin/login.html'
as-is via 'extends'.
* [6d9c856] urls.py: Clean up accounts/ urls. Add default urls for
'admin' and 'registration' only.
* [093f9c0] config.py: Update login URL to accounts/login/ again.
* [492b5ba] base.html: Add "change user" to logged-in menu.
* [38a08f0] urls.py: Rm now-obsoleted import d.c.auth.views.
* [a3eee43] registration/activate.html: Rm -- this template is not used
(as per doc && tests).
* [3c11c40] registration/*.html: Update all reg. templates to extend
from base.html, and remove obsolete registration/base|simple
templates.
* [fee7af6] base.html: Minor updates to user menu.
* [8d667fd] registration/activation_email_subject.txt: Update to "sign
up" wording.
* [62a3c5a] registration/activation_email.txt: Support {{ scheme }} (for
p-d-registration >= 3).
* [85c5a01] Update clipboard.svg, add download.svg, reload.svg (from
public domain openclipart-svg Debian package).
* [0a1d81c] * src/mini_buildd/templates/includes/mbd_file.html: Add
support for direct download button.
* [6fadad8] includes/mbd_pre.html: Put clipboard button on top.
* [2bebd2c] log.html: Support direct download link for buildlogs &&
changes.
* [734e467] mini_buildd.css: Generalize CSS for clipboard, download and
reload.
* [9ebde01] templatetags/mini_buildd.py: Add 'mbd_token' tag (utilizing
uuid.uuid4()) as general means to produce unique ids.
* [881e187] includes/mbd_plain.html: Combine/replace mbd_file, mbd_pre.
Uses mbd_token for unique ids, adds direct download support.
* [f35b1af] mbd_api*.html: Switch to use mbd_token; rm mbd_hash tag and
extra 'tag_id' in mbd_api context.
* [2af9709] devel: profiles: Add 'production' switch (disable all
debugging).
* [facddbb] urls,views.py: Fix up custom error handling -- overwrites
django defaults for 400,403,404 and 500 again (still needed) in
addition to middleware.
* [c0bc6ee] devel (mbd_run): Don't run funcs in expression (Fixes: No
error errexit in function code).
* [de06b92] includes/mbd_plain.html: Sanitize arg names: file_path,
download_uri.
* [c65d601] templatetags/mini_buildd.py (mbd_cat): Rather open file in
proper text mode in the 1st place.
* [9bd48d2] mini_buildd.css: 'info' should rather be blueish, not
greenish...
* [c43fa98] templatetags/mini_buildd.py: Initial "buildlog index
guesser" support (for now, sbuild section headers only).
* [7467246] buildlog index guesser: Add support for fatal make errors.
* [acdd4d7] mini_buildd.css: mbd-warn should rather be mbd-warning
(corr. to py logger function).
* [68ef75f] /mini_buildd.css: Add bg colors for red and gold (better
readability).
* [3d4eca3] buildlog index guesser: Add support for lintian warnings and
errors.
* [51389fa] devel: Rm "api index" tidy (html) test (that location has
been removed).
* [4c22fdf] views.py (LiveBuildlogView.get_context_data): Fix context
name.
mini-buildd (1.9.2) experimental; urgency=medium
** 1.9.x are _development_ releases, use for testing only. **
This fixes another FTBFS, and adds a test to build ourselves to avoid
this embarrassment in the future.
* [a64690d] devel (changelog): Update snapshot version so it is suitable
for later test upload.
* [3fb777e] devel (build-ourselves): Add check to build ourselves.
* [8ea022f] devel (mbd_dput): Add general func for dput.
* [08afe12] models/source.py: wizard: Autogenerate 'Debian experimental'
(source+prio source).
* [1c7f9a9] mini-buildd-events: "--type" -> "--types", and fix doc
(after nargs update).
* [0490f42] rules: Don't run doctests for now (fixes FTBFS on buildds).
mini-buildd (1.9.1) experimental; urgency=medium
** 1.9.x are _development_ releases, use for testing only. **
Intermediate release mainly fix FTBFS. Fixes full test suite run w/
SSL enabled.
* [d84151c] devel: Calls mbd-api,events,dput with full debug.
* [0b6d54a] devel (mbd_supertestall): Generate log files in ../.
* [793814d] mini-buildd-dput: Skip mini-buildd internal restrictions on
changes (i.e., use changes.Changes, not changes.Upload).
* [fe2965f] devel (testsuite-packages): Adapt/simplify to changed m-b-
dput (can now upload unfinalized changes). Fixes this test for ssl.
* [1081282] devel: Rather use apt-get (not apt) as we are a script.
* [437c2ed] devel: Rm 'extra-packages' tests. All these (local!) dsc's
have now been integrated to 'testsuite-packages'.
* [373944b] control: Add b-d and dep or-utils: python3-apt (fixes
FTBFS). (Closes: 964557)
* [f21c2cb] control (Build-Depends): Fix 'contrib' module name in
comment.
mini-buildd (1.9.0) experimental; urgency=medium
** 1.9.x are _development_ releases, use for testing only. **
Issue Soup, plate VII: Armageddon
This release updates to 1.9.x versioning scheme (indicating
that next stable will be 2.0.x, and we are getting closer;). It
addresses various mixed issues -- some of which demanded severe
internal refactoring.
Let's try to summarize what's user-visible:
- Further improves 'events' format and handling; merges 'notify'
(E-Mail).
- REJECT on uploads with unfinalized changelog.
- testsuite now tests far more use cases.
- threads: Faster shutdown (remove polling).
- Builds may now be killed manually (via API call).
- Removes SIGHUP capability (there really is no use case).
- Command line args syntax for lists is now '--list a b' (was
'--list a --list b').
- API 'getsourceslist' overhauled, added ability to set apt line
options.
- Simplify default apt 'archive id' (origin), and add ability to
customize.
[ Stephan Sürken ]
* [c5d4f48] builder.py (Build.mbd_run): Indent fixes.
* [0d76cc0] repository.py: Minor formal code improvements around package
install.
* [4b4ee21] builder.py: More reasonable debug logs on live logs
expiration.
* [0ac756d] builder.py: No need to use django timezone util for UTC (any
more).
* [6f3062c] repository.py (Repository.mbd_package_install): On binary
package install failure, revert to rollback0 (Fixes possibly partially
installed packages).
* [9497ba3] changes.py (Upload.__init__): Forbid 'unfinalized' changelog
entries.
* [bab4bc9] changes.py: With dedicated 'Upload' class, Options parser
can now be initialised in constructor.
* [0c45875] daemon.py: Re-order code.
* [6621224] daemon.py (DaemonThread.mbd_run): Simplify code.
* [50d211a] daemon.py: Rename start, stop, restart: Prefix _mbd (prepare
class Daemon to be Thread itself).
* [d07dd94] misc.py: Alternative Thread impl Thread1.
* [8268706] httpd.py: Update to Thread1.
* [a3d3a6c] ftpd.py (FtpD): Update to Thread1.
* [8eeb43f] daemon.py (DaemonThread): Update to Thread1.
* [235cbda] cron.py (Tab): Update to Thread1.
* [42a7f0c] builder.py (Build): Update to Thread1.
* [f1b1e99] builder.py (Builder): Update to Thread1.
* [2b44add] Merge Thread1 -> Thread.
* [98b91c6] daemon.py: Merging DaemonThread w/ Daemon (sort of carnage
atm; not all works again).
* [192dba8] misc.py: Add (commented) debug log for temp use.
* [1a15833] misc.py: Add Singleton class (following metaclass template).
* [a8a6c88] daemon.py: Use Singelton class (instead of using globals).
* [d2b00ce] daemon.py: Daemon: Treat Daemon class naturally as Thread;
start/join in mini-buildd, mbd_start/mbd_stop now only handles
incoming (most things continue to work ;)
* [10383a4] packager.py: Fix stray build result error wording: Rather
"not packaging" than "not building".
* [a29cad9] builder.py: Fix: Don't use event Thread class for building.
* [6e4418e] daemon.py: Thread: Make *most* class vars '__init__ only'.
* [28e9329] ftpd.py: Instead of (mis)using __del__, properly overwrite
join().
* [7ed555d] misc.py (Singleton.destroy): Add destroy method.
* [f11c6ed] daemon.py (Daemon): Get rid of extra mbd_start(),
mbd_stop().
* [b422c70] daemon.py (Daemon): Get rid of extra is_running() (just use
thread's is_alive()).
* [2c546b3] daemon.py (Daemon): Remove (now no-op) is_busy().
* [b63b8ae] daemon.py: Move model getter to models.daemon.
* [b37dfac] daemon.py: Don't start subthreads in __init__ -- rather
overwrite start().
* [22451d0] daemon.py (Daemon): Use dict for subthreads.
* [1f8e521] daemon.py/cron.py: Switch to nicer notation for tab.add().
* [4c1023e] builder.py: Convert _expire_live_buildlogs() hack to weekly
daemon cronjob.
* [48d9558] daemon.py: Rather use list for threads.
* [a93a508] debian/control: Need twisted >=20 to make events work.
* [19a4ad5] daemon.py: Daemon class: Order methods.
[ Stephan Suerken ]
* [10e797e] devel: Use auto codename ${MBD_CODENAME} consistently (Fix:
sid/buster still occasionally hardoded).
[ Stephan Sürken ]
* [23c2a0d] misc.py: Rename Thread -> EventThread.
* [c67714a] misc.py (EventThread.__init__): Get rid of explicit daemon
arg.
* [f71d297] misc.py: Call task_done from EventThread.
* [4d28e32] builder.py: Get rid of extra func build_close() (used only
once, here).
* [627baab] misc.py: Add PollerThread.
* [c2e09d8] builder.py: Use Daemon singleton.
* [3ecd267] packager.py: Use Daemon singleton.
* [33bebbd] daemon.py: Remove get() in favour of Daemon() (singleton
call).
* [5ce9211] models/daemon.py: Re-fix Daemon save (we still need extra
update_model() method).
* [1e6ce79] models/daemon.py: Remove two unneeded calls to mbd_daemon().
* [6a6ce3d] daemon.py (Daemon.get_active_remotes): Remove, not used.
* [4f924d1] daemon.py: Fix in-code wording: builds -> building, packages
-> packaging.
* [2350749] Revert "misc.py: Call task_done from EventThread."
* [3b52472] Web home.html: Move crontab && toolbox down.
* [e987cf7] builder.py (Build): Add support to kill() sbuild run.
* [6ff3a5b] builder.py (Build): Add event log 'info'.
* [bd88cf5] builder.py: Move 'building' dict to Builder.
* [d578bbb] packager.py, daemon.py: Make 'Packager' its own thread
(analogous to 'Builder').
* [366abac] builder.py: build_queue: Feed with Changes instance directly
(no need to init Changes again).
* [4a60b21] builder.py: Conformly rename "build_queue"->"builder_queue".
* [f6dea7a] src: Bulk-remove some unnecessary f-strings (new pyflakes
warning).
* [a6f0c58] call.py: Fix pyflakes warning.
* [61e97a8] mini-buildd-super-portext: Fix is_satisfied() method calling
(triggered by pylint 2.5.3 warnings).
* [70ba415] pylint: repository.py, source.py: Fix four invalid-str-
returned warnings for __str__().
* [daf6cfe] daemon.py: Workaround for pylint crash
(https://github.com/PyCQA/pylint/issues/3742).
* [67fbbb0] API: New command "kill": Stop ongoing build arbitrarily.
* [c99fa9a] HTML: mbd_building.html: Add "kill" API call to 'currently
building' table.
* [4475b53] builder.py: sbuild: Retrieve retval from wait() directly.
* [d9eb58b] builder.py: Make Build thread non-daemon, and properly
join().
* [e0f90e0] daemon.py: Fix thread order; do shutdown()+join() both at
once.
* [97fa94e] builder.py: Remove the (historic) extra status of a Build
object.
* [cf55e06] packager.py: Remove the (historic) extra status of a Package
object (some compat still).
* [e51fb96] misc.py: Rm (now unused) class Status.
* [c8507f6] builder.py: Some structural changes (obsoletes extra
BuildQueue class, and stops fiddling with 'globals' in Build class).
* [b69c486] packager.py: Move packager queue to Packager class.
* [e1b8c85] builder.py: Drop sleep(), use maxsize queue to limit
parallel builds.
* [621994e] packager.py: Fix/regression: Make new class vars not
conflict w/ heritage.
* [f202a84] .prospector.yaml: Sanitize pylint 'max-public-methods'
(after Changes refac).
* [b1d5110] events.py: Event: Support additional fields: 'maintainer',
'changed_by' and 'urls'.
* [4aade81] .prospector.yaml: pylint: Adapt max-public-methods, max-args
to more worldly values.
* [e81e76d] changes.py (Changes.get_pkglog_url): New method to get pkg
log URL (currently manually assembled in template only).
* [bfab77a] models/daemon.py (Daemon.mbd_notify_event): New method
(currently wrapping mbd_notify()).
* [e3a101c] events.py (Events.logchanges): New convenience method (to
get most fields from changes automatically).
* [b2b8d58] config.py: Add HTTP_PATH_LOG constant.
* [6dd5917] events.py (Events.logevent): Enable (email) notify for
events.
* [22d5d86] Event: Update all (but) one event log call.
* [99e817e] devel: Adapt testsuite (MIGRATE will now show the "from"
distribution).
* [0b94bb7] packager.py (Package.install): Move INSTALLED event log to
packager.
* [2f9d2c8] packager.py (Package.autoports): Give automatic ports it's
own method.
* [16b1c62] devel: Add convenience shortcuts to build one test/keyring
package.
* [99b904d] packager.py: Install: Slightly re-design to make hacky
EventException workaround obsolete.
* [5c67bd8] packager.py: Improve logic of 'installer part' (avoids
double package_close()).
* [a4bd40b] packager.py (Packager.run_event): Rather check explicitly
for 'Upload' type.
* [abe61cf] models/repository.py (Repository._mbd_package_migrate):
Switch back to deliver destination dist on MIGRATE event.
* [909b5c8] models/repository.py: Rm mbd_package_notify() (and calls for
events MIGRATE and REMOVE).
* [c376b1f] devel: package build shortcuts: Add support for additional
arguments.
* [b595605] daemon.py (TestPackage): Add support to test auto-ports.
* [8696254] api.py (TestPackages): Support auto-ports.
* [584f27f] devel: Add auto-ports test to test suite.
* [0ca7af9] packager.py: Code cleanup: Puts event logs at same "level"
and makes 'port report' available in events.
* [226293c] packager.py: Remove extra (email) notify code.
* [cc59d75] daemon.py: Remove extra (email) notify code (for 'invalid
changes').
* [7387a73] models/daemon.py: Rm all "msglog" code from mbd_notify().
* [f4ebed4] models/daemon.py: Merge mbd_notify() into
mbd_notify_event().
* [ff6a8eb] models/daemon.py (Daemon.mbd_notify_event): Make this never
fail, just log on error.
* [8e69056] models/chroot,repository.py: mbd_reprepro, mbd_path: Rather
use class vars than method.
* [8ca24f3] src/*: Bulk-replace misleading field name "sourceversion" by
"version".
* [8ebc233] misc.py: Add commmon Thread class, Mandates shutdown()
method only.
* [41a94b3] ftpd.py: Update to new basic Thread class w/ shutdown()
method (eliminates polling).
* [6633b09] httpd.py: Update to new basic Thread class w/ shutdown()
method (eliminates polling; actually call reactor.stop()).
* [a7fc2d3] config.py: Add global "SHUTDOWN" object (so it may be used
outside Thread context as well).
* [b26daff] config.py: SHUTDOWN: Use str object (just more handy for
logging) && fix Thread to always use object comparison ("is").
* [ee0945c] events.py: Send SHUTDOWN to clients (fixes httpd shutdown
when event clients are connected).
* [4fe4296] httpd.py (Events._render): On SHUTDOWN, issue resp. error
via HTTP status.
* [0e3b45f] Add debug logs when threads are finished.
* [fbda719] cron.py: Decrease polling timeout from 5 to 3 seconds
(improves shutdown delay).
* [6c91093] mini-buildd: Properly start(), shutdown() and join() httpd
thread.
* [f15b321] mini-buildd: Remove support for SIGHUP (reload) (no real-
world use case, proper service restart is nearly the same).
* [ba9e084] devel: Add helper 'signal'.
* [978c1e8] mini-buildd: Simplify signal handling: Overwrite TERM, INT,
HUP: Proper shutdown, everything else default.
* [f836ba0] mini-buildd: Merge run_daemon() into runcli().
* [f964c35] misc.py (Thread.__init__): Add subthreads support.
* [3860a50] daemon.py (Daemon): Use subthreads.
* [5aab9ad] httpd.py (HttpD): Don't run as daemon thread.
* [21d47c9] devel: Add 'pid' helper shortcut.
* [525f213] src: Remove two left-over task_done() calls (we don't join
any queues).
* [2e6f37c] packager.py (Package.extra): Merge changes.extra().
* [0d191bb] events.py: Fix: Event log replay should be reversed.
* [1f9a93b] events.py (Event): Remove field "urls": Now in extra.
* [cf8ab03] src/*: Bulk update wording: "package"->"source" for all uses
of "package(s)" as "source package(s)".
* [459f9bb] events.py: Move position for timestamp arg.
* [85e0e2a] events.py (Event): Move all non-mandatory fields to field
"extra".
* [9c175b3] events.py: Harden event code.
* [b4caa83] misc.py (PollerThread.get_event): Renice implementation.
* [a4b8bad] devel: signal: Make work for multiple pids.
* [5974c3b] misc.py (PollerThread): Return w/o delay on shutdown()
(fixes (idle) daemon stop delay due to crontab).
* [cdc280f] misc.py (DeferredThread): Adopted from builder.Build.
* [3365be9] threads.py: Grant 'threads' their own module.
* [21a01dd] builder.py (Build): Simplify upload code.
* [71d3a6b] Fix three forgotten spots for the package->source renaming.
* [a8d691d] Bulk-update naming convention for 'changes' vars: Use
"upload", "buildrequest", "buildresult" where appropriate.
* [b7f53e8] packager.py (Package.precheck): Move "Changed-By empty?"
check here (for now, this is the correct place).
* [a31bb0e] daemon.py..: Queue incoming events (changes file names)
only, construct Changes objects later.
* [9323c86] changes.py (Upload.__init__): Move "Changed-By empty?" check
back here now (and let m-b-dput profit from early error).
* [4375757] builder.py (Build): Make buildrequest class var "public".
* [a4c9a81] events.py: Cosmetics: Put (automated) timestamp field last.
* [beb2ade] changes.py (Changes.key): Bulk-replace confusing
'get_pkg_id' method by 'key' property.
* [18c7b13] packager.py: Don't use extra var for key.
* [6020729] devel: extra-packages: Don't fail if m-b-dput fails (as we
now catch 'unfinalized' in user space already).
* [e98e3f3] Add 'share/testsuite-packages' (static packages for
testsuite): Add inital package 'unfinalized-changelog'.
* [f9e4d81] devel: Add support for testsuite-packages.
* [2d3785c] events.py: Add 'REJECTED' log event.
* [b4fa1c8] packager.py: Let master exception handler try to add changes
data to log.
* [31ebe64] packager.py: Use new type REJECTED for master handler fail.
* [2dd0efa] devel: testsuite: unfinalzed-changelog: Automatically test
for correct behaviour.
* [91ad5b8] .gitignore: Update for new testsuite dir.
* [9d6694f] share/testsuite-packages: New package test 'unknown-
repository'.
* [e80d7fc] devel: testsuite: Auto checking 'unknown-repository'.
* [d7f2ca0] share/testsuite-packages: Make package name prefix with
event to expect.
* [86e4bdc] devel: testsuite: Fully automate (albeit exception cases
handling) package tests.
* [9456466] packager.py: Initial fix for FAILED, REJECTED separation.
* [d3d110d] packager.py (Package): Make Package construct from event
directly.
* [2e1d96e] packager.py: Deletion from packaging dict must be in
Packager itself.
* [1ee20d4] packager.py (Package.__init__): Remove superfluous 'pid'
class var.
* [f7f764b] packager.py (Package.__init__): Merge validate() into
constructor.
* [9591991] packager.py: Get rid of package_close().
* [a757dfa] views.py: API: Don't 'weblog' json results line by line.
* [3ea4d57] builder.py: BUILT event: Use "architecture" (like in
changes), not "arch".
* [6765e3a] mini_buildd_tags.py (mbd_get): Add 'arbitrary key getter'.
* [f4267ef] builder.py: Remove all buildrequest shortcuts via properties
(superflous, code more concise when access directly via buildrequest
changes).
* [5cefefc] templates: Match include file names with internal names and
use singular: 'package', 'build', 'event'.
* [88213ff] builder.py(Build): Make misc.Distribution class var (prepare
mv/merge Compat).
* [84f4017] misc.py (Distribution): Merge Compat class from builder
here.
* [5e4e32f] distribution.py: New module.
* [fba2a7f] events.py: Rather always expect proper Type enums internally
(i.e., remove implicit 'str' conversion).
* [128ec34] distribution.py: Add "Codename" class.
* [e1ed176] distribution.py (Distribution): Simplify code (use class
vars, not properties).
* [d98ae5e] distribution.py (Distribution): Make self.codename of class
Codename.
* [ff34b6f] distribution.py (Distribution.has_lintian_suppress): Remove,
superfluous (this is already in Codename).
* [32a068d] devel: Fix dput call (-v is --version only, not --verbose).
* [2d583a4] mini-buildd-events: Fix behaviour when no type is given.
* [87e0564] mini-buildd-events: Rather use '--type', not '--types' (arg
needs to be given mult. times for a list).
* [b35f520] distribution.py: Import apt_transport_,.. compat into
Codename.
* [5486721] misc.py (datetime_stamp): Add shortcut for all interal UTC
stamps.
* [abfd715] devel (mbd_testpackage): General func for testpackages
(fixes redundancy).
* [b582efe] misc.py (StopWatch): New class (for later use in
builder/packager).
* [b34c037] threads.py (DeferredThread): Use StopWatch() (as
self.running) to control and measure deferred_run().
* [0d7af06] packager.py (Package): Use StopWatch (as self.running) to
measure and control packager run.
* [31a71c0] changes.py (Changes): Add generic "distribution" property,
and a mapping variant for 'Upload'.
* [ac1c1d4] builder|changes.py: Use new 'distribution' property.
* [cac5833] models/repository.py (parse_distribution): Move here (from
daemon.py).
* [bfc7d2a] packager.py (Package): Obsolete extra
self.distribution_string.
* [adadb2e] misc.py (StopWatch): Add to_json(); replace "took" by this.
* [b37122b] packager.py: Better names for internal class vars
(installed, rejected, failed).
* [2363681] builder.py: Rm obsoleted started+built stamps.
* [ffcedb7] builder.py (Build): Mv auth to constructor.
* [e1ac3a1] builder.py (Build): Drop extra _build_dir class var.
* [077a191] builder.py: Rename some class vars (like in packager).
* [7d4beb2] builder.py: Rm compat status, and simplify __str__().
* [a333def] builder.py (Build.__init__): key: Remove cruft '$' before
arch.
* [4db3da1] misc.py (StopWatch.__str__): Renice output.
* [e6ed492] changes.py: Renice key format (@distribution).
* [0c9492b] builder.py (Build.__str__): Drop. We will only need .key.
* [d16d741] packager.py (Package.__str__): Drop (we will only need
.key). Also drop superfluous status property.
* [be14870] templates/includes/mbd_build|package.html: Simplify.
* [b3fc66b] gnupg.py: Fix import order (cosmetic).
* [52e32de] modesl/gnupg.py: Fix missing import (mini_buildd.client).
* [2e9e6ac] config.py: Put constant for HTTP_MESSAGE_PREFIX here. Also
add generic "field" prefix for later use in 'changes'.
* [6ff6feb] daemon.py: Fix missing explicit import (config).
* [9ba92c0] daemon|events.py: Use new global for X-*-Originally-Changed-
By.
* [32cf3b8] packager.py: Fix missing import.
* [3c5fad7] models/repository.py: Three overlooked updates for
'distrinution.py/codename compat merger'.
* [d44d7c6] api.py: logcat: Fix wrong bulk-update (from introducing
'events').
* [a44c385] api.py (Find): Fix one forgotten bulk-update
("package"->"source" update).
* [84dd604] api.py (GetUploaders): Trigger keyring update.
* [d250957] devel: testsuite: apicalls->api-getters: Test _all_ getter
calls and move below build-port-migrate.
* [a4a4ece] devel: testsuite: Add "portext" test.
* [f3ff300] package.py: New modules for package classes.
* [80141ec] changes.py: Add config.cfield(), changes.cget|set(): Helper
for custom fields.
* [6fb4569] devel (mbd_pythonkeyringtestconfig): Fix for python3-keyring
21.3.0.
* [cbcfc9f] builder.py: Make all custom fields (for buildresult,
buildrequest) actually use our custom prefix.
* [12bc11a] builder.py (Build.build): Update "Arch-All" to custom
getter.
* [9c7dc46] misc.py (apt_line[p]): Add generic tool functions to
generate an apt line (see man sources.list).
* [d38c1a0] mini_buildd_tags.py: Log stack on error.
* [31d588d] models/source.py (Component): Make class Component 'python-
sortable' (skip extra compare function, just use sorted() on
iterables).
* [c6e26ab] models/source.py (Source.mbd_get_apt_line): Only one getter
function, use general formatter function from misc.
* [f310a52] models/repository.py: Update to new Source.mbd_get_apt_line
&& sorted(components).
* [311b9e6] models/chroot.py (Chroot.mbd_check): Update to new
Source.mbd_get_apt_line().
* [88b06bf] mini_buildd/daemon.py: Update to new
Souces.mbd_get_apt_line().
* [70434b2] misc.py (apt_line): Fix unit tests (we no longer sort here).
* [f04a5aa] models/repository.py (Distribution.mbd_get_apt_line): Use
generic formatter function.
* [ca9f47d] models/repository.py
(Distribution.mbd_get_apt_sources_list): Update result to be a list of
tuples (internally only for now).
* [ca8483e] daemon.py (Daemon.mbd_get_sources_list): Use list of tuples
internally.
* [ea03a42] misc.py (AptLine): Upgrade apt_line() func to class (this
will need to do more).
* [4122442] misc.py (SourcesList): Fixes for AptLine class, add
SourcesList class.
* [0423e15] package.py: Fix apt_line usage.
* [bda2692] models/chroot.py: Fix apt_line usage.
* [c96ecc3] api.py (GetSourcesList): Rather use '--types' list than '--
with-deb-src'.
* [5fbe8d6] models/repository.py (SuiteOption): Move all tool methods
needing 'repository' to class Repository.
* [a09604f] models/repository.py (Layout): Move all tool methods needing
'repository' to class Repository.
* [66fdd0a] models/repository.py (Distribution): Move all tool methods
needing 'repository' to class Repository.
* [1a714ea] models/repository.py (Repository): Better name
mbd_get_apt_sources_list->mbd_get_apt_build_sources_list.
* [0a8ce7a] models/distribution.py: Move Suite, Architecture, Layout,
Distribution to separate module.
* [a51bf79] models/daemon.py (Daemon): Move (non-build)
get_sources_list() to model.
* [395bfa9] api.py (MultiSelectArgument): Add 'choices' argparse args
(fixes argparse-completion).
* [9175da8] api.py (MultiSelectArgument): Make this argparse 'append'
type.
* [37a423d] api.py (AutoSetup): Update for new MultiSelect.
* [738df91] api.py (KeyringPackages): Update for new MultiSelect.
* [d06c9b4] api.py (TestPackages): Update for new MultiSelect.
* [be09c0d] api.py (GetSourcesList): Update for new MultiSelect.
* [2349b3b] api.py (Find): Update for new MultiSelect.
* [d031801] api.py (Port): Update for new MultiSelect.
* [a9eaaba] api.py (PortExt): Update for new MultiSelect.
* [952bd63] devel: Update to latest API changes.
* [a09ba0c] api.py, mini-buildd-api: Add dedicated api_args() function,
move to api.py.
* [5215d5f] api.py (GetSourcesList): Add --options.
* [227d8fd] api.py (GetSourcesList): --with-rollbacks -> rollbacks (this
is just the number of rollbacks, not bool).
* [20e10d5] api.py (GetSourcesList): --with-extra-sources -> --with-
extra (we already are in "sources context').
* [d8e6aa7] api.py (GetSourcesList): Add --with-comment.
* [d7fa569] api.py (GetSourcesList): Mv least important flags down
(with-comment, with-extra).
* [1bfb910] api.py (TestPackages): PACKAGES->TEMPLATES (naming in line
with package.py).
* [c74f183] api.py (MultiSelectArgument): argparse/non-positionals: Drop
'append', instead go for 'store' + 'nargs=+'.
* [6cd2ade] misc.py (AptLine): Add 'mirror' support.
* [2fa2c9e] mini-buildd, mini-buildd-events: Convert two 'append' args
to 'store nargs=+' (to be consistent across all tools).
* [cd66d08] misc.py (AptLine): 'options' and 'mirrors' via getter only.
* [f81a8e8] models/source.py (Source.mbd_get_apt_line): 'uri' no
(longer) needed.
* [64fd7f4] models/source.py (Source.mbd_get_apt_line): Autogeneration
of 'comment'; components->limit_components.
* [44cbef1] mini_buildd_tags.py (mbd_distribution_apt_sources_list):
Display 'with_comment'.
* [b31b900] misc.py (AptLine): Disallow components as str, and do
compnents sorting once, here.
* [a7ff70f] models/repository.py (Repository.mbd_get_apt_line): Auto-
generate comment.
* [4a3c870] api.py (GetSourcesList): Move impl. here ('getsourceslist'
is special and will not be further generalized).
* [e72fe43] models/daemon.py (Daemon.mbd_get_archive_origin): Simplify
to 'Mini-Buildd <identity>'.
* [33f989e] models/daemon.py (Daemon): Make archive 'Origin'
configurable via extra option. (Closes: 790056)
* [b1b4a7c] devel (auto-setup): Fix for new --vendor arg syntax.
* [d9a19e4] misc.py (AptLine.get): Add "no component" apt line support.
* [5b518ec] devel: apt-tofu-bootstrap: Update to use apt line w/
'trusted=yes' (this also moves the snapshot test code to a separate
test case).
* [077a8ac] mini_buildd_tags.py (mbd_cget): Analogous to mbd_get(), but
for custom fields.
* [1343117] changes.py: buildrequests: Better name for custom field:
"Upload-Result-To" -> "Client".
* [e7e28b1] changes.py (Buildrequest): Obsolete custom field "Base-
Distribution".
* [e69b2f6] changes.py (Buildrequest.upload_buildrequest.add_builder):
Rename remote(s) -> builder(s).
* [1837fde] changes.py (Buildrequest.upload_buildrequest): Remove live-
buildlog monkey-patch of status (we now just can use new "http" field
of status).
* [dd87886] changes.py (Buildrequest): Move all 'live buildlog' code
here; add new custom field "Builder", replacing class var hacks.
* [572e18c] mbd_package|builds.html: Update to new live buildlog setup.
* [4acdfc2] builder.py (Build): Remove extra live_buildlog class var
(now obsolete).
* [09dc48f] mini_buildd/home.html: Merge build.html, event.html,
package.html.
* [dd58364] mini_buildd/home.html: Update/simplify live building,
packaging.
* [729a402] changes.py (Buildresult.buildresult_stat): Merge this
unsused method to into __str__() (and use as build.info).
* [fe664c7] builder.py (Build): Make 'buildrequest' class var public.
* [5ce0bfa] config.py: Add HTTP_PATH_LOG_RENDER (Fixes: HTTP_PATH_LOG
set twice, overwriting).
* [300549f] events.py (Events.logchanges): Also set "architecture"
automagically.
* [7b4aad9] packager.py (Package.extra): Remove obsoleted stuff.
* [4564579] builder.py: BUILT event: Complete 'extra' part.
* [9a35454] home.html: events display: Show depending on type.
* [8cb944a] home.html: Remove bad "Go to" wording.
* [49c61f5] mini_buildd_tags.py (mbd_cget): Now obsolete.
* [374610e] events.py (Events.logchanges): Can't use cget() here (needs
to work for dicts also).
* [d536eb7] devel (mbd_supertestall): Test for all vendors.
* [7c5c6e5] devel (mbd_supertestall): Make non-interactive.
* [3ea53e4] home.html: BUILT event: Show sbuild result.
* [ba9a45a] Revert "api.py (AutoSetup): Update for new MultiSelect."
* [726e450] Revert "api.py (KeyringPackages): Update for new
MultiSelect."
* [ca1183e] Revert "api.py (TestPackages): Update for new MultiSelect."
* [a5aff4e] Revert "api.py (GetSourcesList): Update for new
MultiSelect."
* [80c4b6c] Revert "api.py (Find): Update for new MultiSelect."
* [75c7c3f] Revert "api.py (Port): Update for new MultiSelect."
* [5cb7bff] Revert "api.py (PortExt): Update for new MultiSelect."
* [a379809] Revert "devel: Update to latest API changes."
* [b4fe608] api.py: MultiSelect: Fix several default values.
* [4a17521] home.html: Renice extra raw view.
* [d5c6d34] home.html: Extra view: Use 'details summary'.
* [9937387] home.html: Add summary for MIGRATED, REMOVED, FAILED,
REJECTED.
* [4803926] mini-buildd.css: minor tab/spaces fix.
* [d7994e4] mini-buildd.css: Add general error class.
* [49c6b53] Events: extra.info -> extra.error: This is only used for
(human readable) *error* strings.
* [1dae21b] mini_buildd_tags.py (mbd_jsonpp): Add filter to json pretty-
print objects.
* [557042a] home.html: Events view: Make "extra" content full jso
pretty-printed event.
* [e45ec38] view.py, log.html: 'Brute-force fix' package logs (but that
code should not stand ;).
* [1972965] packager.py (Package.extra()): Simplify.
* [c9e720b] packager.py (Package): Replace 'is_installed',
'was_rejected', 'has_failed' by (event) status.
* [9afd168] packager.py (Package.extra): No need for 'installed' arg any
more.
* [228eaff] packager.py (Package.extra): Add error class var --
obsoletes redundant log event call.
* [a2353db] packager.py (Packager.run_event): Get rid of superflous
context exception handler && go with one run_event() method again.
* [b018bca] changes.py (load): Rm obsolete load() and simplify file
match functions.
* [2c1047b] changes.py: Move build key here (as "bkey" property).
* [b7c76ac] packager.py (run_event): Mv package internal code back to
add_buildresult.
* [358ce74] devel (build-port-migrate): Add failing port to check error
handling (manually)
* [e9d7b07] packager.py: Add 'extra' class var; drop "port_report",
doing extra port reporting via "auto_ports".
* [3f0b637] packager.py (Package.auto_ports): Use tuple <success,
result|error> for extra info.
* [28b6d08] packager.py: Mv error to self.extra.
* [b00aa08] packager.py (Package): Get rid of obsolete _extra() method.
* [140453d] packager.py (Package.auto_ports): Minor doc wording update.
* [814e827] devel (mbd_supertestall): Rather do non-SSL profile last.
mini-buildd (1.1.38) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Issue Soup, plate VI: Repository snapshot support
- Manage manually via new 'snapshot' API call.
- Automated yearly (keeps 4), monthly (keeps 12) and weekly
(keeps 8) snapshots of all stable distributions.
- Web: Currently shown in repository "Overview".
* [4d65bba] cron.py: Typo fix.
* [2d92c85] Initial implementation for (weekly) reprepro snapshots.
* [19e77d4] cron.py: __str__(): Also show next run time in UTC.
* [8b73d6f] reprepro snapshots: Run only for "stable" suites (not
experimental, does not migrate).
* [b9d3ede] reprepro snapshots: Use isoformat(timespec=minutes) for
snasphot dir ("2020-06-16T12:54").
* [5612f3f] doc/user.rst: Add "sources.list" section.
* [3e8989e] templates/mini_buildd/repository_detail.html: Add doc for
reprepro snapshots.
* [a800809] reprepro snapshots: Add initial del support; move all cron
code to daemon.py.
* [a566663] reprepro.py: Expand and harden snapshot support.
* [f567993] api.py: New call "snapshot": Manage reprepro snapshots.
* [9edd9ab] repository.py (Distribution.mbd_get_apt_line): Support
snapshot.
* [8429fde] daemon.py (Daemon.mbd_get_sources_list): Support snapshot.
* [43cde4d] Web: Properly show snapshots (repo detail), including
deletion option.
* [7aee3fc] api.py (GetSourcesList): Add snapshot support.
* [6720882] devel (tidy test): Add test for 'repository detail' page.
* [a310b10] cron.py: On job error, don't fail, but log. Improve log
output.
* [e3a5cd5] misc.py (Thread.run): Don't log any re-run.
* [2220947] daemon.py (Daemon.cronjob_reprepro_snapshots): Make code it
actually work after mv from repository.py.
* [a27de32] cron.py: Make cron code more versatile.
* [020b2f5] cron: Cosmetics.
* [7f949de] cron.py: Fix minutely (for testing only) scheduler.
* [48f61e6] daemon.py: Make cronned snapshots prefix with cron type
(WEEKLY, MONTHLY, ...).
* [991a576] daemon.py (Daemon.cronjob_snapshots): Log && continue other
snapshots if one fails.
* [3ae6de1] reprepro.py (Reprepro.getsnapshots): Support limiting with a
prefix.
* [3eb1932] cron.py (_Job.__str__): Cosmetics.
* [49d217d] devel: Fail on any pipe error.
* [6b53b41] devel (apt-tofu-bootstrap): Add snapshot gen, del && 'apt-
able' tests.
* [df28e6b] daemon.py (Daemon.cronjob_snapshots): Add auto-expire code
(keep 4 yearly, 12 monthly, 8 weekly).
* [8e82398] daemon.py (Daemon.start): Add monthly && yearly cronjobs for
(reprepro) snapshots.
* [c02da40] reprepro.py (Reprepro.delsnapshot): Should also call
'deleteunreferenced'.
* [9836ff1] devel: tidy: Drop repo detail test again (we cannot be sure
repo exists).
* [d398117] repository.py (Repository.mbd_get_distribution_strings): New
helper.
* [aec32e8] misc.py: Rm "too much debug" log.
* [04f521a] reprepro.py: Fixup reindex() to handle snapshots.
mini-buildd (1.1.37) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Issue Soup, plate V:
- With fixing long-standing 'ftpd upstart error not detected',
issue, this generally updates threading code.
- Adds "cron-like" support for periodic tasks.
* [3c3b3ea] devel: Fix mbd_events(): 1st arg was skipped.
* [a71d713] models/source.py: __str__(): Simplify (fixes possible
recursion/stackoverflow w/ mbd_get_archive()).
* [d39b951] misc.py: Add Thread class (to evntually replace
run_as_thread()).
* [e456f1e] daemon.py, ftpd.py: Upgrade to Thread class (Fixes:
Daemon.start() not catching ftpd start failure).
* [8a3777d] builder.py: Update to Thread class.
* [d245cf0] api.py: testpackages: Fix evaluation of the --check option
(Fixes: would always check).
* [b7afb49] daemon.py: Update helper build queue to Thread class.
* [cd3f898] builder.py: Update to Thread class.
* [985c0b3] httpd.py: Update to Thread class.
* [c8b5f0f] misc.py: Rm obsoleted run_as_thread().
* [aa7eade] misc.py, daemon.oy: BlockQueue -> BuildQueue, simplify code
and make put() seemingly non-blocking.
* [f4af039] daemon.py (BuildQueue): Move from misc.py (only used here).
* [6062078] misc.py (Thread.__init__): Add shutdown support.
* [e7c228b] ftpd.py (FtpD.run): Use Thread's shutdown support (gets rid
of all globals).
* [70fd6c0] builder.py: Merge BuildThread, Build.
* [4b91795] misc.py (Thread): Use abstract mbd_run() for actual code
(Fixes: threads not run ignoring exceptions).
* [ad16146] misc.py: Thread: Compatible re-implementation of shutdown()
support.
* [6d43138] ftpd.py: Use new Thread shutdown impl.
* [9b9ccdf] cron.py: Add cron-like scheduler.
* [860b658] daemon.py: Add crontab support to Daemon; add global 'check'
as weekly cronjob.
* [c4f4dd6] home.html: Make crontab visible on index.
* [f66a8ad] mini-buildd: Remove "timed restart w/ signals" workaround
(we now have global "check" as internal cronjob).
* [04d05d8] Archive wizard: aptsources: Only add 'valid' and 'enabled'
sources (fixes possible bogus entries via auto-setup).
* [33af842] cron.py: Various cosmetic fixes.
* [652f6cb] api.py: Remove --force-check, force_check from API start and
daemon.py (not needed; admin may do that in setup already).
mini-buildd (1.1.36) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Issue Soup, plate IV:
- repository: Update compression options (gz+xz), add Contents support.
- Support rollbacks && mirror for 'getsourceslist'.
- Cleanup examples && properly split between m-b, m-b-utils
* [4d8a814] devel: Add profile tainter: allvendors.
* [f35bab5] autosetup: Workaround for Ubuntu dropping i386 (focal+).
* [20816c4] Rename mini-buildd-client -> mini-buildd-api.
* [6f5e650] Separate utilities m-b-api, m-b-events (again;)
* [d883510] mini-buildd-utils.maintscript: Fix conffile removal for old
mini-buildd-tool.
* [86d8348] debian/mini-buildd.maintscript: Add some helping comments.
* [29578d0] api.py: retry: Use key "uploaded" for json result.
* [c7396b6] api.py: port,portext,testpackages,keyringpackages: Add json
result; use same syntax.
* [90fb68d] api.py: testpackages: Add --check option. We will now
properly check *all* testpackages in test suite.
* [b9e4ab7] Remove examples/09bug728096shmfixer: This has been obsoleted
and no-op (issues a warning only) for some time.
* [1e59e7d] Remove examples/apache-ssl-proxy.conf: We do support SSL now
natively.
* [92b9c59] Split examples: 'useful for admin' go to mini-buildd,
'useful for users' go to mini-buildd-utils.
* [8c57c22] models/repository.py
(SuiteOption.mbd_get_distribution_string): Improve 'rollback oo range'
error description.
* [91b178d] pylint: Easy the global nested-blocks value (allow 8).
* [bed43a6] api.py (GetSourcesList): Add option --with-rollbacks.
* [34427bf] api.py (GetSourcesList): Add option --mirror.
* [b581cda] misc.py (ConfFile): Add update() method: Write on changes
only.
* [0404aaa] repository.py: reprepro: Update config on mbd_check() as
well; only run re-index if some conffile has actually changed.
* [548b95b] repository.py (Repository._mbd_reprepro_conf_distributions):
Switch to less eye-sore multi-line string notation.
* [76d2fbf] repository.py: reprepro: Add Contents to repository (i.e.,
support apt-file et.al.).
* [29cc894] src/*: Bulk-update multi-line notation.
* [e128045] sbuildrc, schroot.conf: Use ConfFile.update(), not save().
* [b629941] repository.py: repro config: Misc new line fixes.
* [d67530c] misc.py: Simplify ConfFile.
* [78835b7] user.rst: Fix for new python-client path.
* [b83a843] repository.py: reprepro: Indices compressions: Use gz only
on Contents (needs to be fast), .gz .xz on Packages, Sources.
mini-buildd (1.1.35) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Issue Soup, plate III: super portext
This release makes new experimental utility 'mini-buildd-super-portext'
sort-of usable and documented. SSL workaround for buster; dput can
now --check (obsoleting *-dput-wait-for-build).
* [b73f52b] events.py: Event.id(): Just use type name.
* [648f291] client.py: events: Use contextlib to assure http conn is
closed (fixes python ResourceWarning).
* [b5e28a9] events.py: Event.id(): Add error to id.
* [6c3ea70] changes.py: Changes.upload(): return pre-upload timestamp
(convenience to handle events).
* [c3f4efb] client.py: Client().__init__(): Now accept both, endpoint as
obj or description.
* [05ba919] cli.py: DputCf: Add getter for http_url.
* [0ef27a9] mini-buildd-dput: Add --check-result.
* [545d3f8] setup.py: Rm m-b-dput-wait-for-build (m-b-dput now does it
naturally).
* [5837f67] events.py: Event: Rename "error" -> "info": Not all events
are errors.
* [030d5d4] mini-buildd-super-portext: Update formatting to fstrings.
* [5521c22] mini-buildd-super-portext: py3: rpl __unicode__ by __str__.
* [50923a7] mini-buildd-super-portext: Update to proper logging, not
printf.
* [7ecfbcb] mini-buildd-super-portext: Move all global code in-class.
* [ee86191] mini-buildd-super-portext: Less verbose logging.
* [c3f69bb] mini-buildd-super-portext: dputcf is not needed (yet).
* [75d53aa] mini-buildd-super-portext: Fix version lookup.
* [8efe3e5] mini-buildd-super-portext: Fix logging text for buils
result.
* [9b16819] mini-buildd-super-portext: More less verbose logging.
* [e278bc9] mini-buildd-super-portext: Generate global url list
"portext" (instead of running ports der dsc directly).
* [aa3ddef] mini-buildd-super-portext: Skip running apt-get update (via
sudo).
* [8f4940d] mini-buildd-super-portext: Skip redundant class var
"dry_run".
* [b950901] mini-buildd-super-portext: Fix is_in_repo().
* [c629072] client.py: Improve user interaction interface.
* [e790867] client.py: Conformingly rename events events_iter; add
event() convenience method.
* [6823456] mini-buildd-super-portext (CLI._get_build_deps): Rather use
urllib than call wget.
* [321a5e0] mini-buildd-super-portext: Minor log updates.
* [2176f3f] mini-buildd-super-portext: Fix: "find" should use
"backportized minimal version".
* [82f964a] mini-buildd-super-portext
(CLI._get_unsatisified_build_deps): "seen" can now be class var
"already_checked".
* [3424992] mini-buildd-super-portext: Directly add results to class var
portext.
* [1c45676] mini-buildd-super-portext: Rm unsused get_source_version
method.
* [f260912] mini-buildd-super-portext: Add proper instructions. Mark
EXPERIMENTAL.
* [2741af2] mini-buildd-super-portext: self.mbd_target not needed.
* [42e5453] mini-buildd-super-portext: Do apt setup in __init__().
* [5155ad7] mini-buildd, config.py: Add ssl default context workaround
for buster/py3.7.
mini-buildd (1.1.34) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Issue Soup, plate II: Utilities cleanup
This release gives all support utilities a conforming naming:
mini-buildd-<util>
All utilities are now installed to system paths, ready to use:
/usr/sbin/: Daemon utilites (package mini-buildd)
/usr/bin/: User utilites (package mini-buildd-utils)
All utilities are now (forced to) have --help support and automated
man pages. All utilities written in python have automatic
bash-completion.
* [7148aa3] changes.py: ftp: Introduce private _upload() method for
versatile use.
* [d4dc9e1] changes.py: ftp: Add upload_retry_tls() convenience method.
* [3362924] mini-buildd-dput: Use upload_retry_tls(); purge --protocol
option.
* [8fd0afa] cli.py: DputCf: Minor improvements to the parser.
* [737b916] changes.py: FTP_TLS: Also call auth(), and put login after
call to set up secure channels.
* [4a53620] Add mbu-super-portext: A wild personal POC script from 2014.
Will it still superport?
* [87501ff] devel: prepare-systemd: For buster, we need 'P' again for
certutil (to work w/ chromium).
* [5dd52b1] mbu-super-portext: Make static code checkers happy.
* [5867b87] mbu-super-portext: Use new client API. Initial test run
sort-of successful.
* [a48d647] setup.py: Rename Help2Man -> SetupCLI, and make work for any
path.
* [4c94f1b] mbu-super-portext: Update to cli.py
* [8ce555b] Put _all_ utilities to src/.
* [1c6ce7b] Prefix all daemon utils w/ new common prefix 'mini-buildd'
(not mbd).
* [5a76c15] Prefix all user utils w/ new common prefix 'mini-buildd'
(not mbu).
* [b0e8e29] setup.py: Auto-generate configs for dh_bash-completion.
* [233da07] mini-buildd*.manpages: Make all src/*.1 man pages got to
m-b-util, all src/*.8 to m-b.
* [486dad4] setup.py: Add script: mini-buildd-super-portext (1).
* [0cfa2ec] setup.py: Put produced bash-completions to src/ as well.
* [7d499c0] setup.py: Auto-generate debhelper *.install files (no nicer
way to get scripts automated).
* [eb6e3ce] devel: installdeps: Add disorderfs, diffoscope (debrepro
warning: limited functionality)
* [5f13570] mini-buildd-super-portext: Don't open a log file, use py
logging.
* [09a7f7a] devel: Fix for new self-signed util path.
* [f8d2476] mini-buildd-ssh-uploader-command: Formal update to cli.py.
* [4a99afc] mini-buildd-ssh-uploader-command: Fix EPILOG for new command
path.
* [471b1a6] setup.py: Add script: mini-buildd-ssh-uploader-command (8).
* [7048d67] mini-buildd-ssh-tool-command: Formal update to cli.py.
* [b90e80d] Rename mini-buildd-ssh-tool-command -> mini-buildd-ssh-
client-command (as mini-buildd-tool has been renamed as well).
* [d855b21] mini-buildd-ssh-client-command: Fix EPILOG, comments for new
utilities path.
* [82d2bc3] setup.py: Add script: mini-buildd-ssh-client-command (8).
* [a2d6b56] mini-buildd-import-08x: Formal update to cli.py.
* [7e74d0b] mini-buildd-import-08x: Fix prog name to new naming scheme.
* [64976be] setup.py: Add script: mini-buildd-import-08x (8).
* [91dd2af] setup.py: Scripts: Run "name hack" on python scripts only.
* [fcaaa0e] setup.py: help2man: Parse DESCRIPTION for *any* script
(help2man *always* needs --name to avoid useless whatis entry).
* [94326a5] setup.py: help2man: Give --version-string explicitly (allows
us not to support --version for bash scripts).
* [c535ed6] mini-buildd-reject-cleanup: Add --help support.
* [9a987aa] setup.py: Add script: mini-buildd-reject-cleanup (8).
* [5c3c034] mini-buildd-dput-wait-for-build: Add --help support.
* [6e65266] setup.py: Add script: mini-buildd-dput-wait-for-build (1).
* [a6a800a] mini-buildd-debootstrap-uname-2.6: Support --help; make bash
script.
* [bd37847] setup.py: Add script: mini-buildd-debootstrap-uname-2.6 (8).
* [a421c6b] mini-buildd-schroot-cleanup: Support --help.
* [2a2e4f3] setup.py: Add script: mini-buildd-schroot-cleanup (8).
* [c6e92ec] mini-buildd-self-signed-certificate: Support --help.
* [58ad74e] setup.py: Add script: mini-buildd-self-signed-certificate
(8).
* [95839c5] setup.py: Order script adding.
* [1b350cf] setup.py: scripts: bash-completion support for python only.
mini-buildd (1.1.33) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Issue Soup, plate I: Top user-visible changes:
- Adds ftps support custom m-b-dput (dput[-ng] don't support ftps)
- Deliver cert in keyring package, new sources.list.d tree.
- Events: Add --since filter.
- Events: json timestamps now in isoformat (ISO 8601).
- API keyringpackages: Impl w/ events (fixes timeout on failed builds).
* [38c9b9d] net.py: Add is_ssl() convenience method.
* [34a3498] ftpd.py: Handler subclass: Use super().
* [e200a84] changes.py: upload(): Support 'ftps' (RFC 4217) if ssl
endpoint.
* [97eed79] ftpd.py: Support ftps (rfc4217).
* [590a173] api.py: autosetup: On ssl(), guess ftps endpoint default
based on http endpoint.
* [c70f4dc] devel: Add MBD_RESTART_HOOK configurable variable.
* [0273384] archive-keyring package: Include SSL certificate.
* [5093fa6] archive-keyring package: Install (cert && sources) to
/usr/share/<id>-archive-keyring/ instead of /usr/share/mini-buildd/
* [dd408e8] devel: "autodoc" of config vars.
* [a270d83] devel: Add MBD_KEEP configurable variable.
* [44fef33] devel: apt-tofu-bootstrap: Rather use actual codename than
hardcoded "buster".
* [5658be1] archive-keyring package: sources lists: Switch to
'<codename>/<id>_<suite>.list' layout.
* [03a7d2c] archive-keyring package: Rather use "certs" as cert dir
(like /etc/ssl/certs /etc/ssl/mini-buildd/certs).
* [f67b3b0] events.py: Revise Events once more.
* [4417a14] events.py: Event: Add match() method.
* [a9d8133] events.py: attach: Make replay configurable.
* [872a8e1] httpd.py: event log: Use to_json().
* [d99ed40] events.py: Add filter_iter: Common filter generator (can be
used from client and internal alike).
* [71b49e8] client.py: Switch to use events.filter_iter().
* [6873899] mbd_events.html: Fix status colors, properly format
timestamp.
* [40d882c] changes.py: Put extra info creation code to changes.Upload.
* [a7f795d] Event FAILED: Fix extra arch reporting.
* [a437db1] Event timestamps: Must be aware/utc; json string must be
isoformat() (of an aware stamp).
* [e8f48fd] cli.py: Move ArgumentsDefaultRawTextFormatter here (from
misc.py).
* [7b60678] devel: codespell: Fix check output so 1st error is parsable
too.
* [02ebad4] Fix two typos found by new spellcheck.
* [fade30f] repository.py: Fix typo/double code on event extra args.
* [6ffde1f] devel: Add mbd_profile: Simplify resetting config for tests.
* [2fdd982] keyring package: Fix build for non-https.
* [dd3379f] devel: bash-completion: Add non-runner targets.
* [af1e180] events.py: Event.from_joson(): Properly convert timestamp.
* [5cae0b9] events.py: Event.match(): Fix "typ" comparison: Accept both
string and enum.
* [79aa48f] misc.py: Add helper check for time zone aware datetimes.
* [90603a7] devel: Add supertestall: Run updatetestall for all "test
profiles".
* [b6064d6] cli.py: Remove "preliminary logger" setup.
* [05957b3] cli.py: logging: capture python warnings on level debug
only.
* [28a11ee] cli.py: Fix: Make loggers to configure class vars, not
globals.
* [81b2f4c] misc.py: Add helper datetime_is_naive().
* [fb22c31] Events: Replace "replay" by more versatile additional
--since filter.
* [da4100f] events.py: Events: Fix match for typ=None case.
* [d120d5b] mini-buildd-client: --since: Add special value "all" (to
replay all).
* [48f865c] events.py: Add class Attach for internal attaching to
events.
* [6ea32d2] devel: log RESTART_HOOK before running.
* [a8d8e64] API: keyringpackages: Implement wait-for-migrate via events
(instead of polling).
* [557ae70] ftpd.py: Fix: Use ssl cert/key values from actual ftp
endpoint, not primary http.
* [b4d0060] models/base.py: Remove some too verbose logs (they rather
clutter than help).
* [fa57dd7] cli.py: Make log code more common.
* [4664ab7] devel: mbd_client: Don't run verbose, but log client call.
* [6cfe2b6] events.py: Add Event.__str__() for convenience.
* [f8a09f5] API: keyringpackages: Also consider FAILED (fixes endless
loop if keyring package fails). Upgrades type event matching to list
of types on the way.
* [de83761] devel: Improve mbd_profile: Make all known use cases easily
'setupable'.
* [7de2243] builder.py: Workaround for jessie builds w/ SSL enabled.
* [d8d1d9a] devel: Add 'supertestall' to usage.
* [84cb382] dput.py: Add module dput.
* [9bb609a] setup.py: Generate bash-completion scripts.
* [132b14c] Add cli util: mini-buildd-dput.
* [5e68847] dput.py: Sync helper && completer functions.
* [f9fd464] mini-buildd-dput: Finalize args && completers.
* [252352b] Skip extra module dput, merge to cli (we won't be able to
put projected code here).
* [6cd145d] Update DESCRIPTION (title) for all CLIs.
* [0bb8c03] changes.py: Put all model import in-method (avoid 'django
unconfigured' pita as long as possible)
* [458053e] changes.py: Changes.upload(): Add 'force' option; Improve
logs and .upload contents for endpoints.
* [62d904e] changes.py: Changes.upload(): Use context manager for FTP
(available since 3.3; fixes python ResourceWarning).
* [994cca2] net.py: Rm "PROTOCOLS" global -- no longer used.
* [7b2aa96] mini-buildd-utils.bash-completion: Actually install bash-
completions for m-b-dput.
* [90ced5f] cli.py: DputCf: parser code: Make more straight forward, and
add support for 'ftp hopos'.
* [567cfa9] mini-buildd-dput: Finally, actually implement upload.
* [fbfb6eb] devel: extra-packages: Use mini-buildd-dput.
mini-buildd (1.1.32) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part X: Merge Event Log
This concludes the API fixup. All obsoleted code api/client
code phased out; mini-buildd-events POC merged to new
mini-buildd-client.
* [4bc0f40] daemon.py: Fix error string wording (still mentions 'last
packages'...).
* [01ca194] src/mini_buildd/*: Internal: Conformly refer to the 'event
log' as 'events'.
* [bf67269] Events: Rename event "UPLOADED" -> "BUILT".
* [cab90e7] mbd_events.html: Fat event types. Much better...
* [106364b] mini-buildd-events: Add error handling.
* [018b4c0] Events: Actually remove http clients from queue, max client
limit && error handling via status code.
* [17e7b8a] Event "MIGRATED": 'distribution' should be dest dist, not
source dist.
* [8317a9b] events.py: Replay all past events to client.
* [4609661] cli.py: log format: Make more readable: Put possibly long
thread names last, don't indent prefix.
* [5351ad4] events.py: Make log() and attach() calls thread-save.
* [55ea9e9] mini-buildd-events: Add subcommand "monitor": Filter events,
optionally stop at found event.
* [f2d6f81] devel: build-and-migrate: Use m-b-events instead of
handwritten pull & wait.
* [da58f43] mini-buildd-events: Add --minimal-version filter.
* [9fac55c] mini-buildd-events: Merge code into mini-buildd-api.
* [5cece5c] Rename mini-buildd-api -> mini-buildd-client:.
* [10b229c] events.py: Add _NoLock() helper class for debugging.
* [808dc8e] devel: Add initial try to reproduce deadlock (later).
* [5ef3392] net.py: Add http_connect() helper function.
* [c7fd3e6] mini-buildd-client: Move actual 'events' impl to client
(also gets rid of 3rd party "requests" package)
* [090854f] Events: Rename json "typ" as "type" (python restriction
should influence json).
* [e412ebb] client.py: Move client code from api.py into own module.
* [f32831d] .prospector.yaml: Re-enable member-warnings.
* [44adb7b] .prospector.yaml: Don't use django. Return to half-automatic
'generated-members' exclusions.
* [227aa81] api.py: Rm wrong pylint disable comment.
* [62681cc] pylint no-member: false-positive exceptions for twisted.
* [46b898c] cli.py: Add pure virtual runcli() (fixes pylint no-member).
* [3d7bccb] devel: pylintgeneratedmembers: Add 'mbd_check'.
* [a5393a1] models/daemon.py: Fix name of login path config variable.
* [5cf6682] urls.py: pylint: Exception for django (sort of) false-
positive (invalid-name) for urlpatterns.
* [6cd254b] models/source.py: oylint: Exception for django false-
positive (unsubscriptable-object).
* [ab4c854] mini-buildd: pylint: Exceptions for false-positve no-member
for daemon module.
* [dd3eda6] webapp.py: pylint: Exception for no-member django false
positive.
* [c764464] devel: Importchecker: Make actually fail on error.
* [f1fbbb4] devel: on exit: In the end, do the workaround "for emacs"
anyway.
* [584fe8d] daemon.py: events import: Fix: Have deque 'maxlen' when
imported.
* [101c07d] api.py: Rm obsoleted absolute import net.
* [de3f590] html: Replace "<tt>" (not html 5) by "<code>" in various
places.
* [6257bef] devel: Make some wrong 'run targets' 'extra targets'.
* [831e4a1] client.py: Rename Client.call() -> Client.api().
* [21ebf4f] python-client: Update to new client module-
* [1b8258d] doc/user.rst: Some updates for new api/client setup.
* [10065cc] client.py: Finally remove all obsoleted extra functionality.
mini-buildd (1.1.31) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part IX: Embrace Event Log
Make event log roughly equivalent to "last package/last builds"
setup (and purge all code for the latter). This also changes
the html 'home' structure.
* [4c77dcf] mini-buildd: Move all logging code to cli.py.
* [4b42f1b] setup.py: Generalize man page generation code. Skip
cleaning.
* [e2587e1] setup.py: man pages: Get rid of extra "help2man" include
files.
* [e3a8177] setup.py: help2man: Extract description from scripts for the
--name arg.
* [26d3ecd] Revert "setup.py: Remove version from setuptools. We don't
really use it, and the only thing it gives us is warning."
* [6b323dc] setup.py: Taint Debian version to make setuptools not warn.
* [f79f9e5] devel: Add bash completion producer.
* [90c195d] devel: Improve doc of configurable vars.
* [b62f0b1] devel: New configurable variable: MBD_DEBIAN_FRONTEND.
* [29b3274] event.py: New: Put all event code into this module.
* [5c0da08] devel: Add cheap check that we are on a 'developer system'.
* [51608f0] Revert "devel: Also trap cleanup on INT TERM (seems there
are some corner cases when emacs kills the buffer while reading
input)."
* [bc0850c] .prospector.yaml: pylint: Update fstring exceptions for
pylint 2.5.2.
* [5db69ab] event.py: Less events, more fun.
* [eaa23c5] mbd_events.html: Add color to status.
* [e38e61b] Event INSTALLED: Add extra 'archs' info; display sbuild &&
lintian stats.
* [962344e] config.py: Better names: HTTP_PATH_*, not PATH_*.
* [bd854ac] config.py: Mv all constant http paths from httpd.py to
config.py.
* [a015b38] Event INSTALLED: Add buildlog to extra 'archs' info; display
in events table.
* [1d0f05b] Event INSTALLED: Add extra info 'log'; display in events
table.
* [a92811a] devel: Restart test package helper: rather install to
unstable (so we can also test migrate).
* [85951c3] Event UPLOADED: Add extra info 'uploaded_to'; display in
events table.
* [8e734df] Event UPLOADED: Add extra info 'took'; display in events
table.
* [b0b2347] mini-buildd.css: Clean up builder status css.
* [2956141] mini-buildd.css: Clean up packager status css.
* [2eb4f8f] mini-buildd.css: Clean up event status css.
* [75e4003] mini-buildd.css: Remove all now-obsoleted.
* [c0253a1] home.html: Initial new setup w/ events && w/o last_packages
&& last_builds.
* [1a542e5] home.html: Toolbox as detail item.
* [2a8594d] home.html: Repositories, Chroots and Remotes as detail item.
* [429d96d] home.html: Events as detail item.
* [22a4fb5] home.html: Rm all "id" attributes. None of these was
actually used.
* [a6d774e] *.py: Finally, remove all 'last_packages/last_builds code'.
* [b1a88a1] home.html: Prpperly name includes for packaging,building.
* [e92078a] mbd_building.html: Rm 'took': Does not make sense for live
status.
* [ecdda92] mbd_building.html: Rm 'uploaded' date: Does not make sense
for live status.
* [c53c73c] mbd_packacking.html: Rm 'took': Does not make sense for live
status.
* [b8ef420] mbd_packacking.html: Rm building status infos: Does not make
sense for live status.
* [540ebe8] mini_buildd_tags.py: Rm hacky && now-obsolete
'mbd_build_status' tag.
* [f4d7928] models/base.py: Persistent state hack: Also switch to json.
* [1578e8a] models/gnupg.py: Remote: Stop using persistent status.
* [4128dcc] mini_buildd_tags.py: mbd_dict_get(): No longer used.
mini-buildd (1.1.30) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part VIII: Event Log
Initial event log implementation (companion to be for API
calls). Adds 'mini-buildd-events' POC command line tool.
* [ce58549] mini-buildd-api: Fix spelling in comment.
* [fe9de2c] mini-buildd-api: help text: Remove one more leftover from
old syntax.
* [164baff] devel: restart: Fix (commented) package build helper line to
use mbd_tool function.
* [0c2da7c] devel: mbd_tool is now mbd_api.
* [2aab1bf] builder.py: Build(): Init with daemon instance (will need
this later).
* [6ead491] templates/*: Fix various mbd_api templatetag calls: 'output'
arg value must be quoted (fixes confirmable commands via web).
* [d891530] Initial 'event log' implementation.
* [6c95f2a] httpd.py: '/events': Initial impl. of web resource for event
log.
* [01e4f12] Add util 'mini-buildd-events': Initial POC. Can monitor
events to stdout for now.
* [5e3d812] reprepro.py: Fix sphinx citation warnings.
* [5a0c969] reprepro.py: Fix sphinx 'emphasis not closed' warning.
* [23fbadf] net.py: Various pydoc fixes. Fixes two sphinx warnings.
* [97f1671] models/base.py: Fix another sphinx warning.
* [247036d] httpd.py: Add some docstring to getChild(), else sphinx is
unhappy.
* [69f8b88] setup.py: Remove version from setuptools. We don't really
use it, and the only thing it gives us is warning.
* [a7409ff] mini-buildd-event: Support usage, manpage, bash-completion.
* [c8c7669] New module cli.py: Move common command line code here.
Update m-b-api and m-b-events.
* [19ca1ab] devel: Add 'importchecker' check -- solely to detect unused
absolute imports.
* [a87d211] Bulk-fix unused absolute imports.
* [e2c0806] devel: Add sphinx (doc) test that fails on warnings.
* [4736f66] mini-buildd: Remove in-code cProfile support (rather just
profile the whole script).
* [cdbaefb] mini-buildd: Use cli.py.
mini-buildd (1.1.29) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part VII: CLI: mini-buildd-api
This renames mini-buildd-tool to mini-buildd-api, and fixes
remaining issues like usage help and bash completion.
* [fad101d] misc.py: Add Ubuntu 'focal' to ddeb exceptions.
* [03de61b] models/gnupg.py: Exception msg: Clarify what to do if other
remote "does not know us".
* [bbc4642] api.py: "find": Add support for --minimal-version.
* [381bf4c] mini-buildd-tool: Update target completer to guess endpoints
(obsoletes 'x_mini_buildd'-style custom tainting of .dput.cf).
* [fe8fff4] mini-buildd-tool: Move ENDPOINT arg to each command (much
better user experience for subcommand --help)
* [a541b54] misc.py: Mv dput parsing code from mini-buildd-tool to
misc.py (there other use cases).
* [27b4faf] mini-buildd-tool: Rename cmd_call() -> api_call().
* [4d9b320] mini-buildd-tool: Rm leftover keyring log cloning (no longer
do anything special w/ p-keyring logs).
* [8488a31] mbd-ssh-tool-command: Use DputCf && Endpoints.
* [50b7f5e] mbd-ssh-uploader-command: Use DputCf.
* [adf974b] net.py: login handling: privatize vars in endpoint, and only
use the endpoint's user variable.
* [7626924] net.py: Endpoints: Make (nearly all) class vars private.
* [9ba0a68] net.py: Endpoints: Rm 'user' parameter (user given when
constructing from URL is the only use case).
* [ea48ca4] builder.py: Fix: Must be ClientEndpoint when uploading
failed buildresult.
* [3f267c5] net.py: Fixup defaults for "protocol".
* [0bbfb12] net.py: ClientEndpoint: Fix: User must be set after
super().__init__().
* [2ca80db] net.py: Adapt doctests for changes.
* [060664c] ftpd.py: Use already existing endpoint, don't create a new
one.
* [442c942] Rename mini-buildd-tool -> mini-buildd-api (better name,
incompatible changes).
* [ef252fc] mini-buildd-api: Update hint for subcommand help to new
syntax.
* [ddf919c] mini-buildd-api: --help: Use raw formatter for subparsers
also (does not seem to propagate).
mini-buildd (1.1.28) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part VI: Client code merge cleanup
Testing/fixing/code cleanup iteration mostly around the api and
network code. Adds new API call 'find'.
[ Gerhard A. Dittes ]
* [657dfdc] devel: prepare-system: Change trust attributes in order to
achieve self-singed certificates considered to be trusted
[ Stephan Sürken ]
* [409df5b] net.py: endpoint.url(): Don't add a trailing slash.
* [c56c33f] api.py: Endpoint: Rename url()->geturl().
* [fbc475e] net.py: Endpoint: Use only one geturl() impl (based on
urllib.parse).
* [fbf52b7] net.py: geturl(): Give query params as dict (so we can do
the urlencode once here).
* [a8f2b3e] Update all code to use the new endpoint.geturl().
* [2a2c214] net.py: Rather us __str__ (not __repr__) for human readable
descriptions.
* [a399c5b] API: Add option auto_save_passwords / --auto-save-passwords.
* [51e9b59] mini_buildd_tags.py: Avoid (otherwise harmless) warning for
live build result stati.
* [172c39a] mini_buildd_tags.py: None-status workaround: Rather use ""
than None, as lintian dict has None as choice.
* [26011cd] net.py: Remove urlopen() wrapper (python uses system
certificates by default).
* [571da1a] api.py: Solve the indent paradox.
* [9d552b6] .prospector.yaml: Disable pep257, D200.
* [02121f9] net.py: ClientEndpoint: No need for 'parse_url' to be a
class var any more.
* [baed74a] net.py: Update doctests for 'query now dict' change in
geturl().
* [169d1ce] mini-buildd-tool: Simplify/fix main error handling (we
should not need urllib).
* [d5d9bb4] api.py/net.py: Move login/logout code back to endpoint.
* [d0fc347] api.py: Fix/simplify logging.
* [2e7bfc1] api.py: call(): Don't use recursion.
* [f85c43c] api.py: call(): Loop retry options until RET (don't always
retry call).
* [a2480d3] api.py: call(): Fix retry loop condition (Fixes endless loop
on calls with empty dicts as result).
* [3a223c4] api.py: call(): Remove "plain" option from python api.
* [6b902ba] devel: codespell: Workaround: Ignore "ser", as it now
commplains about '(u)ser' string.
* [2b132e6] api.py: 'show': Rm '--verbose' (was only used in now-gone
plain result).
* [cb595b7] mini-buildd-tool: Further simplify call code.
* [7631414] views.py: On exception in API call: Rather use 400 (Bad
Request) than 405 (Method Not Allowed).
* [69158d5] api.py: MultiSelectArgument: Value should be empty list when
empty string was given.
* [444763f] models/repository.py: Make mbd_reprepro() non-private.
* [ed0a058] devel: build-and-migrate: Use the new find call.
* [33f4518] api.py: New API call: "find".
* [59a74cf] api.py: Call(): Fix: Don't enter retry mode if non-
interactive (fixes endless loop when piping).
* [6d8b59f] api.py: call(): Error handling: Prefer last server message
as only error message.
* [49bd56c] api.py: Fix regression: No raise on error (may lead to
endless loop).
* [61a68e7] devel: Make vendor list env-configurable.
* [0073a09] wizards: Update Ubuntu: Add focal (20.04), remove disco.
mini-buildd (1.1.27) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part V: Client code merge
Moves the client API code from 'api.client_1_0.Daemon' to
'api.Client', merges redundant code base into 'api' module only,
actually use the client API in mini-buildd itself and simplifies
'mini-buildd-tool' usage.
And a lot of wreckage along the way.
[ Gerhard A. Dittes ]
* [e84b6f4] devel: installdeps: Add libnss3-tools for self-sined cert
handling
[ Stephan Sürken ]
* [ae1c837] api/client_1_0.py: Rm "django_mode": w/o pickle, no need for
django pseudo configure.
* [0151c50] devel: Fix missing program name in main usage.
* [2fe08c8] api/__init__.py: Remove extra api.django_pseudo_configure():
No longer needed w/o pickle.
* [a3b2e25] API: Rename/Move api.client_1_0.Daemon -> api.Client.
* [ed4338d] API: Get rid of extra api sub package. Promote api._contrib
to top-level contrib (still "not part of mini-buildd :)
* [289d298] mini-buildd[-tool]: Fixup --verbose/--quiet argument doc
(--verbose said 'lower').
* [20837ad] api.py: Update api.Client to network endpoints.
* [bc90d6d] API: status,start,stop: Add archive/daemon identity to
status result.
* [1a1a695] API: status,start,stop: repository info: Add layout to
status result.
* [7b7ef70] Remove helper script 'mbu-migrate-keyring-packages'
(obsoleted by updates to keyring/migrate API calls).
* [306aefc] mini-buildd-tool: Use api.Client().
* [2be76e4] devel: install: Avoid dpkg asking about changed default
file.
* [dfcb98d] devel: install: Use non-interactive debconf (avoids extra
debconf post-install note).
* [0a23c5e] devel: getsourceslist call test: Rather use buster, not
wheezy.
* [686b9b5] api.py: Mark plain results via special json key, obsoleting
plain_result() extra methods.
* [4fd13a4] mini-buildd-tool: Update to new "plain" api: Cmd line args:
removes --output=type, adds --plain (former --output=plain).
* [c19654e] models/gnupg.py: Use mini_buildd.api (not manual urlopen):
getkey.
* [fc7144d] views.py: Update to new "plain api". Now defaults to json
output and removes "json-pretty".
* [1e803a6] devel: Use m-b-t --plain; fix tidy api test to explicitly
output html.
* [425ccde] templates/mini_buildd/api_default.html: Use new plain
result.
* [dba2b39] api.py: Client: Fix: Always use urljoin.
* [c291e6a] models/gnupg.py: Use mini_buildd.api (not manual urlopen):
status.
* [8489a47] HTTP header messages: Use *one* global prefix var (from
api), and fix parsing routines.
* [d42eab5] mini-buildd-tool, api.py: Print daemon messages in api.py
only.
* [d962e0c] net.py: web_login(): Rather raise HTTPError on login
failure.
* [263ea7e] net.py: web_login(): Remove obsolete try/catch.
* [22c392a] api.py: Add method logged_in().
* [c91d272] api: Move "implicit auth support" from mini-buildd-tool to
api.py.
* [2a53a85] mini-buildd-tool: Improve doc for --plain.
* [443ab79] api.py: Replace internal stderr logging by standard LOG.
* [5a379f6] misc.py: Remove compat for very old python-keyring versions.
* [28295a2] api.py: dput_cf caching is obsolete.
* [540292f] net.py: web_login: Better error handling on failed login.
* [a30203c] api.py: Move web_login() code to api.py.
* [fd68505] api.py: Move Keyring class code to api.py.
* [b6b268d] api.py: Keyring: Obsolete qualname().
* [da32a9d] api.py: Keyring: Fix for multiple users.
* [fa15d87] api.py: Merge login()+web_login(); make keyring class var.
* [0643582] api.py: login: canonize_url does not seem to be needed any
more. Removing.
* [7639b6d] api.py: Add username in login log msg.
* [74aedf1] api.py: Keyring: Remove whacky support for "save policy".
Simply always ask before a password is saved.
* [39e110f] devel: Also trap cleanup on INT TERM (seems there are some
corner cases when emacs kills the buffer while reading input).
* [c8fe7d1] api.py: Further keyring code cleanup.
* [e62679a] api.py: Merge keyring code into login().
* [b9b6712] doc/user.rst: Add note about python-keyring default backend
problem.
* [cf5aab3] api.py: Fix interactive loop in call() + code cleanups.
* [80679b7] api.py: call(): Remove whacky 'raise_on_error' option.
* [1ba0681] api.py: Client: Don't be interactive if not on a tty.
* [e48b718] api.py: call(): Fix error handling (forgotten raise).
* [0a6f727] api.py: Better wording to clarify that the superuser
username is very most likely 'admin'.
* [6f1fb7d] api.py: Client interaction: Prefix url in input() and
getpass().
* [a2004be] api.py: call(): rm 'batch mode' option (automatic now w/
isatty).
* [b5a4faa] api.py: Client: Add custom log() method for conforming
output.
* [05061e4] api.py: Client: Rename isatty->interactive, and make it an
option.
* [ded1d6a] api.py: Don't monkey patch enpoint.user; login in init phase
when user given explicitly; fix interactive relogin by try_login().
* [e12b696] api.py: Client(): 'dry_run' option does not really make much
sense atm. Removing for now.
* [6ed2ab1] mini-buildd-tool: Remove convenience removal of ancient
creds file location.
* [e4873ea] api.py: Client: Various log text fixes.
* [4b05523] api.py: Client.call(): Use nicer 'or style' for args.
* [ac90fdc] api.py: login(): Rather use endpoint.url() directly, not
extra alias "url".
* [ca788d6] mini-buildd-tool: Produce args: Rather use a pos identity
list from API than a hardcoded exclude list. Fixes possibly stray http
arguments.
* [2fbe907] api.py: Client: Fix: Actually set 'logged_in' var.
* [5249d3f] api.py: Fix: Don't install our login opener as global
opener.
* [5cf8dea] mini-buildd-tool: Replace per-command '--confirm=command' by
global '--auto-confirm' option.
* [3842235] mini-buildd-tool: Replace '--plain' by '--json'. Changes
default to plain (human readable) output.
* [15f3e3a] net.py: client notation: Clarify prefs for twisted-style
notation.
mini-buildd (1.1.26) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part IV: Purge pickle
Finally removes output "python", and updates all code
to json only.
* [d0108db] API: Remove output 'python' (pickle).
* [ba07279] models/gnupg.py: Update code: pickle->json.
* [4d8d3c8] changes.py: Update code: pickle->json (stati now are "json
dicts")
* [b42eba5] api/client_1_0.py: pickle -> json update
* [8a06d21] API: Remove "make pickable" workaround.
* [08893fb] examples/python-client: Fix for API json update.
* [5d8ac97] devel: Rather use buster, not stretch, for some tests.
* [c5c4a87] api/client_1_0.py: Update to json API calls.
* [16f501c] api/client_1_0.py: Fix use of dsc_url to dsc_path (has been
changed quite some time ago ;(.
* [6b4f5e8] examples/python-client: Add some more calls.
mini-buildd (1.1.25) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part III: Define json
Tries to give every call a reasonable json output, and removes extra
plain support for all calls that don't need it.
* [2649d08] API printuploaders(): Reasonable json result.
* [551a052] gnupg.py: Only use one 'get_colon' method.
* [92cf5a5] gnupg.py: Add get_pub_key_info() (moves code with gnupg impl
details to better place).
* [2930878] gnupg.py: Rpl get_pub_key_info() by get_pub_keys(): Fixes
user_id, updates printuploaders json result.
* [363e354] API: Rename call "printuploaders" to "getuploaders".
* [f3bd9aa] API: list(): Usable json output; drop extra 'plain' support.
* [4fb22a4] API: show(): Usable json output; drop extra 'plain' support.
* [6c05e81] API: migrate(): Update json output. Just a plain log for
now.
* [6518158] API: remove(): Update json output. Just a plain log for now.
* [a0bdc84] API: port(): Update json output. Skip extra 'plain' support.
* [e0794f4] API: portext(): Update json output. Skip extra 'plain'
support.
* [3602242] API: retry(): Update json output. Skip extra 'plain'
support.
* [1786405] API: subscription(): Update json output.
* [d6e2544] API: Remove now-obsolete helper func _get_table_format().
* [348ea7a] devel: package tests: Remove wait4package support (rather
wait until migrate succeeds).
mini-buildd (1.1.24) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part II: API code preps && cleanup
Adds 'json-pretty' output. Decision to keep 'plain' output, but
use 'json-pretty' as default; only some calls like "getkey" will
get special 'plain' output.
* [1fddb6d] devel: Add MBD_HOSTNAME to usage.
* [319f673] API: Add "json-pretty" output.
* [123b8f1] API: Fixup all remaining uses of __str__() to
plain_result().
* [94111bc] API: Drop result["result"] trick for plain result; rather
have all cmds that need it an explicit method, else fallback to json-
pretty.
* [fdc440f] API: Improve global command generation && api doc view.
* [93ff5e3] bin/package-templates.testbuild: Remove; ancient, and has
been obsoleted quite some time ago by api call 'testpackages'.
* [b8e33cc] API: Simplify global COMMAND list creation.
* [7a787d0] API: Improve code around how commands are accessed.
* [a87c361] API: Get rid of extra COMMAND class attribute.
* [71d7c50] API: Move common args 'macros' to GroupPackage (only used
there).
* [4893dc7] API: Fix 'printuploaders' for json output.
* [fa057bb] API: Use same result (status) for commands: status, start,
stop.
* [62aa8e9] API: Update command docs via decorator.
* [ae5c362] API: Remove extra plain support for: status, start, stop,
printuploaders, subscription.
* [cdcb86b] models/gnupg.py: Remotes: Fix non-json access to result.
mini-buildd (1.1.23) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
API fixup, part I: JSON output
Make json the primary internal result value and add support for all
API calls -- in 'as-was fashion'. I.e., most calls will just offer
the former plain result in key "result" for now. No incompatible
other changes yet.
* [9e5e799] api: Support "json" as output. Calls not supporting this
(currently all) deliver an empty dict.
* [8fb110f] API: status(): Support json.
* [17a0646] API: start(), stop(): Support json.
* [17c4e7c] devel: log tools: Switch back to tail (less tends to hog
CPU).
* [3cee477] API: printuploaders(): Support json.
* [aa43093] API: getkey(): Support json.
* [e1a1dc3] API: getdputconf(): Support json.
* [3039243] API: getsourceslist(): Support json.
* [2209103] API: logcat(): Support json.
* [87c10d9] api/__init__.py: list(): Add missing return in p_table()
helper func (fixes list(output=plain)).
* [7e682f2] API: list(): Support json.
* [3857045] API: show(): Support json.
* [cc067e5] API: migrate(): Support json.
* [9b267fb] API: remove(): Support json.
* [caa9d68] API: port(): Support json.
* [dba996e] API: portext(): Support json.
* [d22738e] API: retry(): Support json.
* [9eab881] API: subscription(): Support json.
* [afd5580] API: Drop extra internal '_plain_result' class variable.
mini-buildd (1.1.22) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Code refactoring of Changes class: Use subclasses Upload,
Buildrequest and Buildresult -- make code somewhat more readable ;).
* [613354e] changes.py: Add Upload, Buildrequest and Buildresult sub
classes.
* [668646e] changes.py: Move Options support to Upload.Options.
* [9c8bd4d] changes.py: Buildresult, Buildrequest: Add FILE_APX.
* [0b5bbe7] changes.py: Rather use changes.load(), not create().
* [dcba3cb] changes.py: Move __str__ to subclasses.
* [36cfd76] changes.py: Remove extra type support from file path
generators.
* [56b07af] changes.py: Move gen_buildresult() && upload-
faild_buildresult() to Buildrequest.
* [0a57c73] changes.py: Remove all the extra type handling.
* [2011292] changes.py: Move upload_buildrequest() to Buildrequest.
* [16d27c9] changes.py: bres_stat(): Move to Buildresult.
* [e059b38] devel: Add (commented) line to test one package after each
restart.
* [933f691] changes.py: Move gen_buildrequests() to Upload.
mini-buildd (1.1.21) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Initial release with feature-complete "https support". Still
defaults to http though -- you will need some manual steps
described in the adminstrator's manual to enable https.
* [b6691b0] api: status: Update result for dynamic proto (i.e., support
https).
* [148e4c6] registration/activation_email.txt: Add https variant of
activation URL.
* [37b5449] config.py: Properly define primary httpd: Add
'primary_httpd_endpoint()' for code and 'mbd_url' as static context
for templates.
* [37fab03] django_settings.py: Skip (overly ornate) support for
'component versions info', greatly simplifying our custom context.
* [8daffcf] Get rid of models/daemon.py custom http(url) methods.
* [472e784] httpd_twisted.py: "reactor" must be imported after
daemonize(): Workaround in httpd impl, not mini-buildd.
* [e272258] httpd.py: Commit to twisted. Skipping abstraction layer for
less/cleaner code.
* [2350529] share/bash-completions: Fix after py3 update (argcomplete
scripts are renamed w/ appendix '3').
* [3cd5409] mini-buildd.postinst: Fix typo in comment.
* [908d3b3] devel: Fixup to be able to test both (http and https)
setups.
* [30d3a1e] misc.py: Keyring: Don't mess around w/ usernames here.
* [f7ca36b] mini-buildd-tool: Skip '--protocol', and make 1st argument
an 'endpoint', not 'host'.
* [c6cc70d] net.py: web_login: use UserURL.
* [4465442] net.py: Redesign Endpoint* classes.
* [f7f0171] net.py: web_login: Use Endpoint, not UserURL.
* [a33caa2] net.py: Rm now-obsolete UserURL class.
* [f94098b] ftpd.py: Adapt ftpd to "endpoints".
* [1a34ea7] devel: Make PORT and SSL configurable from command line.
* [2ecf78f] models/daemon.py: ftpd_bind default: Fix for twisted
_server_ syntax.
* [2a5bdbc] mini-buildd-tool: Use same formatter mixin like mini-buildd
(raw+default values).
* [4aea996] net.py: Add generic help for twisted-style endpoints. Use
them in mini-buildd[-tool].
* [c7aa58f] net.py: Fix a couple of wrong values in the url converter
helper 'matrix'.
* [d1f408d] mini-buildd: Rather use "http-endpoint" than "httpd-
endpoint" (cl arg+internals).
* [a47509c] net.py: Endpoint help text: Add hopo-compat and extra-URL
syntax.
* [a047206] models/daemon.py: Add web endpoint help for daemon.ftp.
* [3a31510] models/gnupg.py: Remote: Add web endpoint help; update
default 'http' value.
* [de1b27f] src/mini_buildd/*: Various changes: Get remotes working
again using new endpoints (tested non SSL case).
* [d32a84f] net.py: Various code cleanups.
* [0f0a890] net.py: Make web_login() method of ClientEndpoint.
* [d380b9f] py3: Bulk-upgrade to python 3.6 format strings (fstrings).
* [037f9a2] net.py: Fix two spelling errors.
* [cd7e547] net.py: Rather use pydoc directly (for ntwork notation
help).
* [83209bf] net.py: Clean up doc && doctests.
* [2736234] net.py: Make urlopen_ca_certificates() into endpoint method
urlopen().
* [6eb2700] net.py: Fix/optimize url/hopo parser code.
* [d0fae99] net.py: Switch from urlparse() to urlsplit().
* [c61a26b] net.py: Put doctests to "module" (tests various classes).
* [08e5ba8] net.py: Simplify.
* [47c7276] net.py: Make url() properly work for client endpoints.
* [2a9e672] net.py: doc fix: mixed up [un]encrypted.
* [8947fc9] devel: Add log() function.
* [7c697c9] devel: Add 'pygrep' helper.
* [6355fec] net.py: urlopen() rather should not be a method of endpoint
after all.
* [1a1c9fc] mbd-self-signed-certificate: Add helper to generate self-
signed cert.
* [0729441] control: Add 'suggest' for openssl.
* [2a42af1] devel: Update for new self-signed tool (plus some).
* [d5a91fe] devel: Make pygrep not stall w/ no args.
* [e2e76a8] devel: Also put default back to non-SSL here.
* [a416edf] models/gnupg.py: Remote: Default back to non-SSL.
* [e479a98] mbd-self-signed-certificate: <CN> should rather be 1st arg.
* [6917f23] mini-buildd: Minimize --httpd-bind deprecation warning now
that bind notation is autodetected.
* [8bd44ce] mini-buildd: Add arg --hostname: To be used as global public
hostname f.a. services.
* [8db1e83] daemin.py, net.py: Use global hostname; rm extra host arg
from Endpoints.
* [6befad7] net.py: Add some more detailed doctests.
* [51754c3] Use endpoint URLs (instead of hopo) as remote id.
* [0c39834] templates/mini_buildd/home.html: Fix remote link.
* [ddf31af] remotes: Rename http2url -> url. Rather show url in info
string.
* [1b8a774] net.py: Network string: Unencyrpted example 1st, as this
will still be the default.
* [ec5a67b] doc/admin.rst: Add doc how to set up https.
* [725fb78] mbd-self-signed-certificate: Add status command && print
actual cert info.
* [859c5a3] mbd-self-signed-certificate: Use template to generate. Also
adds SAN to cert.
* [6738265] devel: prepare-system: Create self-signed-cert with
configured hostname.
* [da39be9] devel: prepare-system: Add _all_ locally configured system
ca-certificates to chromium/firefox cert storage.
* [a1fdd74] Fix Priority (extra->optional) f.a. test package templates.
mini-buildd (1.1.20) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Second 2020 'catch up' release:
* [4454c44] devel: tidy check: Ignore warn-proprietary-attributes: tidy
complains about "autocapitalize" in django3, but this seems to be
valid html5.
* [3d6736c] Properly handle new lintian stati (warn, info) from sbuild
0.77.0.
* [b945fec] wizards: Ubuntu: Add 19.10 (eoan), skip older non-LTS
cosmic.
* [8390a8f] Add Ubuntu disco and eoan to 'ddeb' exception list.
* [b0c8b3c] API: Fix MultiSelect argument type for m-b-tool.
mini-buildd (1.1.19) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
Initial 2020 'catch up to sid' release:
* [cc8d67a] Merge root_urls.py and urls.py.
* [ac9f791] pylint: Fix four new 'unnecessary-comprehension' warnings.
* [30c0575] pylint: Globally ignore new 'import-outside-toplevel'
warnings.
* [9f3fce7] pylint: Fix one new 'subprocess-run-check' warning.
* [5c644b0] django: Use 'Etc/UTC' has (hardcoded) default time zone;
skip all deps on tzlocal.
* [6c8a8d2] django templates: Repl staticfiles->static; former is
removed w/ django >=3, latter works for 1.11 as well.
* [5ce0042] devel: Make pipclear not fail if nothing is installed itfp.
* [432f7cc] control: Allow django 3.0.
mini-buildd (1.1.18) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This and that: Moves to SVG-only for the webapp images; adds
internal restart (cron.weekly now removed); plus misc Debian
packaging upgrades (now dh 12 and 'lintian clean' again).
Offtopic: 1.0.x (stable) can no longer be maintained in Debian
unstable/bullseye. Please see http://mini-buildd.installiert.net/
on how to get further updates.
* [229b287] rules: Use 'python3 -msphinx' instead of sphinx-build.
* [f560b97] devel: Use "custom debi code" temporarily (see bug #932896).
* [322fe02] .lintian.cfg: 'fail-on-warnings': Is no more.
* [f6ff78f] .lintian.cfg: show overrides.
* [8e964a2] Remove mini-buildd.lintian-overrides: 'no-debconf-config' no
longer needs to be overwritten.
* [845fae1] devel: Roll own lintian check (ask to continue on warning or
error).
* [15bb2c1] devel: Persist last changes file; make lintian use that if
it exists (be able to repeat the lintian call).
* [f5f2d8c] debian/*: Update to debhelper 12 (change: fixup dh_missing
call).
* [6f090c6] control: Update to 'debhelper-compat' notation.
* [ddfe683] control: We need python3 >= 3.6 (f.e., use of enum.auto).
* [c400f3e] devel: Skip buildfast|check in favor of one build(): Always
no check, but always docs.
* [a59ea6b] devel: Run prepare-system on updatetestall only.
* [cccc79b] control: mini-buildd.deb: Add missing 'Pre-Depends' (Fixes
lintian/skip-systemd-native-flag-missing-pre-depends).
* [71ce9ec] Rename setup.py -> config.py (was confusing: setup.py has
special meaning in pyworld).
* [a6d1144] devel: Run lintian on updatecheck.
* [d7ac20c] .lintian.cfg: Use nicer notation (like in shipped).
* [b245b0d] lintian: Rather use '.lintianrc' as config file name
(similar to shipped).
* [bf72b63] .lintianrc: Also display experimental checks.
* [73dc748] devel: Add support for custom args.
* [1c45205] devel: lintian(): Custom args == addon arge for lintian run.
* [38986f6] debian/control: Fix short description of mini-buildd-doc
(was copy/paste from -utils).
* [c8b7f92] mini-buildd-doc: Register HTML manual with doc-base.
* [509bb7a] control: python3-mini-buildd desc: "Python" should be
capital.
* [88864f9] mini-buildd.timer: Add systemd timer (for weekly maintenance
restart).
* [624c248] control: Update stds-version to 4.4.0 (no changes required).
* [1bec858] devel: Fix running of non-queued functions (mbd_func).
* [fa1d334] daemon.py: Add convenience restart() method.
* [12f98e5] devel: Separate log functions (daemon, access)
* [9b02af7] pylint 2.3.1: Fix new 'no-else-raise' in models/base.py.
* [4451a3f] pylint 2.3.1: Now finds 'invalid-name' in
templatetags/mini_buildd_tags.py: Needs exception.
* [8763e5d] pylint 2.3.1: Now finds "broad-except" for BaseException
too: Disabling for now (too many).
* [d5c1ae3] devel: Since prospector 1.1.7, we no longer need to pin
pylint at 2.2.2.
* [8a24c72] mini-buildd: Better code for signal handling; prepare for
internal weekly restart.
* [699755d] devel: Use less to follow logs.
* [4008411] mini-buildd: Add internal restart schedule (hardcoded to
Sunday 2am).
* [49c787b] debian/*: Remove cron.weekly (we now have an internal
(hardcoded) scheduled restart in place).
* [3bae100] doc/*.svg: Convert all to plain SVG (was: inkscape SVG).
* [ddad215] Move all doc/*.svg into the static/img/.
* [3286533] Choose better names for the svg image files.
* [96d284f] setup.py: Also install *.svg files.
* [2a06a43] Remove mbd_migrate|remove|wizard.png: Using svg instead.
* [7e6ac04] images: Use svg only for logo.
* [9487f68] img/mbd_start.png: Convert and use as start.svg.
* [8e210da] img/mbd_migrate_rollback.png: Unused -- removed.
* [48ade15] img/mbd_rebuild.png: Unused -- removed.
* [eac726d] img/mbd_stop.png: Unused -- removed.
* [e1faeac] img: Use SVG for bullet list.
* [7d591f8] css: Do all "gradients" via CSS 'background-image'; remove
all "gradient pngs".
* [77160bf] doc: Fix logo to use SVG.
* [c488f4f] img: Convert message PNGs to SVGs.
* [711b98a] setup.py: Remove "png" from static files to be installed.
* [289ada3] static: Add script to generate favicon.ico && update
favicon.ico.
* [e6b5c1e] img: Remove progress_blue.gif; do rotation via CSS only.
* [3c8147f] setup.py: static data install: "gif" no longer needed.
* [086b959] img: Rename mini-buildd.svg -> logo.svg.
mini-buildd (1.1.17) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
'static code check' release. We now use 'prospector' to coordinate
3rd party static checkers. In addition to pylint, pycodestyle and
pyflakes this (for now) adds pydocstyle, mccabe, and dodgy.
Whole (new py3) code && exceptions have been reviewed and updated.
This release also fixes mini-buildd for django 2.2, and updates the
wizards for Debian repo changes after the buster release.
Offtopic: 1.0.x (stable) can no longer be maintained in Debian
unstable/bullseye. Please see http://mini-buildd.installiert.net/
on how to get further updates.
* [544a185] pylint: Rm exception for doc/conf.py (add specific
exceptions in-file).
* [3601724] devel: Add general "linters" check using pylama (exceptions
go to tox.ini for now).
* [b78f8a4] Rather use 'setup.cfg' than 'tox.ini'.
* [3b9b8f9] devel: Print list of files with in-file exceptions after
'linters' check.
* [0d33499] devel: Rm separate pycodestyle && pylint checkers.
* [049a5db] Remove .pycodestyle and .pylintrc files (now pylama conf in
setup.cfg).
* [b00c586] devel: Fix pylintgenerated... helper for setup.cfg.
* [e8f3757] devel: Rm obsolete bug 877637 reproducer.
* [cb441a4] devel: linters: Add pyflakes.
* [d99b100] devel: linters: Add mccabe.
* [c9a90cc] devel: linters: Add pydocstyle.
* [d326843] Bulk-remove all 'editor UTF-8 hints' from python files (py3
code is by default UTF-8).
* [a2bca1f] setup.cfg: sync max line length (240).
* [f2dbe5f] setup.cfg: pylint: We don't need the REPORT section.
* [603010f] setup.cfg: elpy/flake8: Fix exception order.
* [4a780f1] setup.cfg: elpy/flake8: Rm line length exception (since have
a line length configured).
* [c9b75c7] devel: prepare-system: Make sure pylama is upgraded.
* [7dc66a0] setup.cfg: pycodestyle: Fix syntax for max line length.
* [c59a32a] devel: pylama: Seems only version 7.6.5 seems to (kinda)
work (wtf?).
* [3919342] devel: Add pipclear (uninstall all pip3 local installs).
* [c596ee0] devel: Could not for the life of me get pylama to anything
consistent ;). Trying prospector now.
* [18f0212] doc/conf.py: pylint exceptions: Rather use symbolic names.
* [4ead2bc] .prospector.yaml: New config for prospector; pylama config
from setup.cfg moved here.
* [8248747] devel: Rename linters->prospector.
* [f5d5e9c] devel: rm flake8 check (obsolete w/ prospector).
* [fd3ee87] .prospector.yaml: Add run option for every tool; only enable
pep8 for now.
* [10831ad] .prospector.yaml: pep8: Run full with exceptions.
* [88a9f09] Fix pep8/E122 in api/__init__.py.
* [1c67ef9] Fix pep8/E122 in builder.py.
* [ca2cd6b] Enable pep8/E122 for prospector.
* [c4880cb] Fix pep8/E124 in models/daemon.py.
* [c0dcdd8] Fix pep8/E124 in models/source.py.
* [bd61a15] Fix pep8/E124 in reprepro.py.
* [2c6615f] Enable pep8/E124 for prospector.
* [343474e] Ignore pep8/E402 for doc/conf.py in-code.
* [b7674d4] Enable pep8/E402 in prospector.
* [d4b78b9] Fix pep8/E741 in mbd-import-08x.
* [eae863d] Fix pep8/E741 in mini_buildd/call.py.
* [0c72ad5] Fix pep8/E741 in mini_buildd/net.py.
* [183ef25] Fix pep8/E741 in models/chroot.py.
* [4dfee44] Fix pep8/E741 in views.py.
* [04e29ad] Fix pep8/E741 in models/msglog.py.
* [3fbd8a6] Fix pep8/E741 in api/__init__.py.
* [0e2e312] Fix pep8/E741 in builder.py.
* [5fbab17] Fix pep8/E741 in packager.py.
* [afe476f] Fix pep8/E741 in changes.py.
* [825ed0e] Fix pep8/E741 in misc.py.
* [cabd8d5] Fix pep8/E741 in models/repository.py.
* [6d48bfb] Fix pep8/E741 in templatetags/mini_buildd_tags.py.
* [339c9f4] Enable pep8/E741 in prospector.
* [7c96945] Don't disable pep8/W503 in prospector (seems to be ignored
anyway/W504 is being used rather)
* [572ab63] Ignore pep8/N802 for httpd_twisted.py in-code.
* [5bb6e35] Enable pep8/N802 in prospector.
* [38c2939] Fix pylint/invalid-name in run-doctest.
* [d40fef5] Fix pylint/wrong-import-order in mini-buildd.
* [f1322f4] .prospector.yaml: Tighten max module lines to 1400.
* [a101f6d] .prospector.yaml: pylint: Complete exceptions for scripts
(false-positive 'invalid-name').
* [6ed07ce] Disable pylint/import-error in mini-buildd (obviously false-
positive) in-code.
* [51c0fa9] Enable pylint/import-error globally.
* [3e3f679] Enable pylint/cyclic-import globally (there seem to be no
issue any more).
* [bbfc10f] .prospector.yaml (pylint): Update comments for logging-
format-interpolation exception.
* [3d61135] .prospector.yaml: Add skeleton config for dodgy and pyflakes
(disabled for now).
* [1cc5011] .prospector.yaml: Update strictness: low->veryhigh && use
django lib.
* [16cbfec] .prospector.yaml: Re-enable pylint.
* [ec35003] pylint: Remove "generated members" django workaround (seems
prospector django lib already handles this).
* [0d9c1c8] .prospector.yaml: Simplify/cleanup notation of pylint
config.
* [249e7c6] .prospector.yaml: Rm per tool run: option (too confusing).
* [da263a0] pylint: Disable invalid-name in mini_buildd_tags.py in-code.
* [47162f8] pylint: Disable "invalid-name" for all scripts in-code (and
remove 'good-names' global config).
* [54d818f] pylint: Globally disable cyclic-import in .prospector.yaml.
* [0a2f376] pylint: locally-disabled && missing-docstring don't need to
be disabled w/ prospector.
* [e53a5e1] pylint: Disable 'too-many-ancestor' locally in changes.py
only.
* [40c4044] pylint: Disable 'too-many-boolean-expressions' locally in
api/client_1_0.py only.
* [c0555d1] pylint: Remove 'max-statements' config: Does not seem to be
needed any more.
* [bdc3b23] pylint: Disable 'too-many-return-statemtments+branches' in
'views.py' locally only.
* [7ca6ac3] pylint: Adapt 'max-public-methods', add comment.
* [567b967] .prospector.yaml: Enable doc warnings.
* [64df174] pyflakes: Disable F841 globally ('# noqa' just does not work
as advertised).
* [99513a0] pep257: Fix D413 in models/base.py.
* [fd44ee4] pep257: Fix D412 in models/base.py.
* [771af13] pep257: Fix D404 in various modules.
* [ff6439a] pep257: Fix D403 in various modules.
* [edad9c8] pep257: Fix D401 in numerous modules.
* [ade8a97] pep257: Fix D400 in numerous modules.
* [2673142] models/chroot.py: Remove unused class method.
* [33fae70] pep257: Fix D301 in two modules.
* [a8f63e9] pep257: Fix D300 in numerous modules.
* [dfc45a7] pep257: Fix D213 in numerous modules.
* [eb2bc71] pep257: Fix D210 in models/chroot.py.
* [427d6e6] pep257: Enable D207 (no issues).
* [c8be5f2] pep257: Fix D205 in misc.py.
* [f0f84c5] pep257: Fix D204 in numerous modules.
* [0d8750d] pep257: Fix D202 in some modules.
* [76e7aff] pep257: Fix D200 in numerous modules.
* [6af7cd3] .prospector.yaml: Explicitly run pep257 (not default, unlike
documented).
* [c26bb95] devel: prospector: Skip printing exception files.
* [1b8a2e3] models/base.py: Renice module doc; avoid 'r' prefix.
* [42ed056] .prospector.yaml: pep257: Disable D416: seems to produce
false-positives now.
* [adbc543] src/*: Some code/text fixes due to new codespell.
* [1404aae] codespell: Rename some variables keyserver->key_server to
make it happy.
* [c089477] devel: codespell: Add exceptions (needed w/ version 1.15).
* [3fda8b0] doctests: Fix special escaping in some tests (no longer
needed and now breaks it).
* [e89e6f4] wizards (key updates after buster release): Add buster apt
keys, and update source wizards for buster and sid.
* [9fc5a7f] wizards (key updates after buster release): Update source
wizard for stretch.
* [289e9fa] wizards (key updates after buster release): Add buster
security key, and update source wizard for buster/updates.
* [3639136] wizards (key updates after buster release): Update source
wizards for jessie/updates.
* [803b700] wizards (key updates after buster release): Update source
wizards for stretch/updates.
* [94dc2c0] wizards (key updates after buster release): Update source
wizards for stretch-backports.
* [c8d7d5a] wizards (updates after buster release): Add stretch-
backports-sloppy.
* [fd01fd7] wizards (updates after buster release): Add buster-
backports.
* [1605c4c] wizards (updates after buster release): Add bullseye +
bullseye-security.
* [ee0d42b] Update in-place doc on sources after buster release.
* [61665e2] wizards: Add Ubuntu disco (and 2018 archive key).
* [b96b44a] devel: installdeps: Add py3-pip, py3-wheel.
* [033e1fd] devel: installdeps: Add devscripts and faketime (for
debrepro).
* [814f3bd] reprepro.py: Ignore 'unusedarch' check (fixes linux' <= 4.13
'make deb-pkg').
* [03ba21b] devel: pip3: uninstall user installations only.
* [05489c6] django 2.0: Call cleanupregistration w/o option
'interactive'.
* [86f66f6] django 2.1: Update to class based views in root_urls.
* [efb4712] django 2.0: django_settings.py, pseudo config:
MIDDLEWARE_CLASSES -> MIDDLEWARE
* [ba10dbe] django 2: django.contrib.message now _must_ mandatory in
INSTALLED_APPS.
* [7a2d48c] control: Allow django up to 2.2.
* [89fe749] pylint: Fix one in-code exception in net.py.
* [b95afb6] pylint: Remove no-longer-needed in-code exception in
models/source.py.
* [771195c] pylint: Remove no-longer-needed in-code exception in
models/gnupg.py.
* [a930627] pylint: Remove three no-longer-needed in-code exception in
models/repository.py.
* [4fc008d] pylint: Remove no-longer-needed in-code exception in
models/chroot.py.
* [0ea4698] pylint: Remove three no-longer-needed in-code excpetions in
httpd_twisted.py.
* [b7f74c0] pylint: Remove no-longer-needed in-code excpetion in
templatetags/mini_buildd_tags.py.
* [0f93a0f] pylint: Remove no-longer-needed in-code excpetion in
daemon.py.
* [dfe625b] pylint: Remove two no-longer-needed in-code exceptions in
changes.py.
* [84efa52] pylint: Remove no-longer-needed in-code exception in
api/__init__.py.
mini-buildd (1.1.16) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
'https part 2' release. This makes the testsuite run fine
with https enabled (for the self-signed case). Still doesn't work
with remotes, and some bells and whistles to make it 'just work'
still missing. Check the man page for the new new '--httpd-endpoint'
option if you care to ponder with it:
* [0b018f7] devel: Make tofu bootstrap test of its own.
* [88cdab1] source wizards: Adapt for new signing keys for
buster/updates (security).
* [686378e] control: Ups: switch left-over cherrypy dep to twisted.
* [846e84a] devel: Use fq hostname (instead of localhost) for testing
(will be more convenient for SSL later).
* [6b5af16] devel: Use local (rather that installed) mini-buildd-tool.
* [39a579d] devel: Global env name clean up. MBD_HOME removed (not
used).
* [f4055d8] devel: Remove 'sbuild key workaround testing' (the
workaround is gone).
* [68eb5cd] mini-buildd-tool: Handle down proto (http/https) argument to
web_login().
* [12b6ee9] misc.py: web_login(): Add Referer header (required by django
for https).
* [57c2560] misc.py: urlopen_ca_certificates: Use system's default
context.
* [bdc7053] src/mini_buildd/*: Always use urlopen_ca_certificates()
wrapper.
* [803beee] mini-buildd: Cleanup --httpd-endpoint option code.
* [e32be65] httpd: Move endpoint type check to Endpoint class.
* [2d5bc74] misc.py: Endpoint: Add type2proto conversion.
* [7713289] models/gnupg.py: Remote(): Support optional '[proto:]'
prefix (to support https URLs).
* [f28b334] changes.py: Use 1st endpoint's proto (http, https) for
internal remote.
* [d568c7b] daemon.py: Use 1st endpoint's proto (http, https) for
daemon's http url.
* [c8c7730] changes.py: upload scheduler: Monkey patch remote url for
now (fixes live build log URLs if hhtps is used).
* [31151f9] devel: Make proto (http, https) configurable via one
variable.
* [22285d2] devel: testfiles: Use an extra directory, and be sure it
exists.
* [9009280] mini-buildd-tool: Fix: subparsers (commands) should be
required.
* [b37537d] devel: Replace 'pyflakes3' test with 'flake8'.
* [89ea692] src/mini-buildd: Ignore unneeded checks from flake8
(pyflake).
* [e9b12c4] misc.py: web_login(): Return opener object, and use that in
m-b-t (fixes auth w/ https).
* [6c32733] devel: Use https for testsuite by default (as mini-buildd
does now).
* [eac9dcd] devel: Auto-prepare system to accept Debian snakeoil self-
signed.
* [82f4e28] devel: prepare-system: Also add snakeoil to browser
(chromium, firefox) certstores for testing.
* [cfa3f5a] misc.py: Endpoint(): Support protocol (http/ftp) && "ssl
aware" url() composition.
* [ac9e9c0] ftpd.py: Use Endpoint, not HoPo.
* [8286941] net.py: Split new module "net" (network code from misc).
* [fe97b52] net.py: Fix Endpoint doctests.
* [ecf3a32] net.py: Add server & client endpoint variants.
* [b450cc4] net.py: Endpoints: Add syntax check via twisted.
* [fbacbc9] mini-buildd: Fix typo in arg description.
* [ff3dc87] mini-buildd: Remove pre-daemon bind check via HoPo.
* [827df38] net.py: Minor improvemts (less long code).
* [3459df4] net.py: Various code improvements && some more compat.
* [a993614] models/daemon.py: Update to 'Endpoint only'.
* [d6f0f93] packager.py: Update to 'Endpoint only'.
* [1140e0b] models/gnupg.py: Update to 'Endpoint only'.
* [975aebd] changes.py: Update to 'Endpoint only'.
* [bcfab20] builder.py: Update to 'Endpoint only'.
* [1c13265] api/__init__.py: Update to 'Endpoint only'.
* [54208df] net.py: Remove class 'HoPo' for good.
* [049601a] net.py: Fix endpoint doctests.
* [af0aa47] net.py: Add support to receive ssl cert (server->local file,
client->remote host).
* [667538e] builder|changes.py: Bundle ssl cert with buildrequests.
* [fdfb331] devel: ssl-cert prepare: (Re-)Create snakeoil if not
present, and use different name for cacert.
* [98c9c21] .pycodestyle|.pylintrc: Update max line length to 250 for
now (really -- have 21x9 display ;).
* [a928577] src/mini-buildd: Put default back to non-https.
* [d5fefd0] net.py: get_certificate(): Don't fail in the non-https case.
* [9d44d84] misc.py: Add sources_list_has_https() tool function (code
from builder).
* [eda1a52] builder.py: Make work (again) for the non-https case.
* [00479e2] net.py: Remove left-over 'devel only' log.
mini-buildd (1.1.15) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release mainly completes the new API calls 'keyringpackages' and
'testpackages'. 'keyringpackages' will now auto-migrate
up by default (also 'migrate' now has the option to fully migrate
up in one go):
* [849f297] templates/includes/mbd_api_arg.html: Bugfix: Never pre-set
manual value (breaks at leats MultiSelect).
* [4b5cd82] api 'testpackages': Move code from repository to api.
* [0a67a0a] api: 'testpackages': Add options (types and distributions).
* [ff1960e] api: 'keyringpackages': Move code from repository to api.
* [4dcf9ce] api: 'autosetup': Default should be vendor=Debian only.
* [3317c5e] Rename 'archive-keyring-template/' -> 'archive-keyring/'
(it's now already in the 'package-templates/').
* [be26492] setup.py: Put (hardcoded) package-templates dir to setup.
* [cab9945] daemon.py: Add TemplatePackage class; use for DSTPackage.
* [6c59142] daemon.py: Impl. KeyringPackage via TemplatePackage.
* [048ed50] api 'testpackages': Back to use full package names again.
* [1400452] api 'keyringpackages': Add option "distributions".
* [a29d4b1] .pylintrc: Remove 'similarities' pimp (only there for py2
"from future").
* [e19a532] api: Add common method to upload template packages.
* [9e2d426] repository.py: Rm _mbd_portext2keyring_suites() (obsoleted
by new api calls).
* [1da61d6] api: keyring|testpackages: Use NEEDS_RUNNING_DAEMON flag.
* [316173e] devel: wait3package: Improve note when package is found.
* [6e42337] api: keyring|testpackages: Make args optional.
* [e855c6a] mini-buildd-tool: Don't use ungiven args in api call.
* [dc2529e] devel: Fixup autosetup && migrate tests after api changes.
* [bcca432] daemon.py: Improve template packages.
* [8eafcb6] daemon.py: Avoid extra getters for test and keyring
packages.
* [6ba3ab4] daemon.py: typo fix in comment.
* [64c956f] api 'migrate': Add --full option (migrate up to top suite in
one call).
* [e6037fe] daemon.py: port() now returns triple 'dist,package,version'.
* [66c4564] api 'keyringpackages': Add support to auto-migrate (usually
unstable->testing->stable).
* [774ebec] devel: autosetup test: Remove extra interactive warning.
* [ce5550c] devel: Add support to run multiple code on exit (cleanup).
* [5c3fdf0] devel: test suite: Add repo boostrapping and install tests.
* [5d2caaf] devel: Improve apt-install test.
* [7e18f54] wizard: Fix (can now find archived wheezy security again)
and cleanup hardcoded archive list.
* [526e63e] misc.py: Add extra heuristic function to detect apt-cacher-
ng.
* [185ff09] archive wizard: Rename "from_sources_list" to "local" and
add support for apt-cacher-ng detection.
* [a299ef4] Add example for vsyscall workaround.
* [db944fe] source wizard: Flagging wheezy Security 'X-Check-Valid-
Until: no' (it's Valid-Until is no longer updated).
mini-buildd (1.1.14) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release (mainly) completes
- the twisted HTTP backend implementation (should now have all the
features of former cherrypy impl.), and
- the 'valid-until support' for outdated/archived sources:
* [faebd02] httpd.py: Remove code needed for non-twisted backends only.
* [5fcc1cb] httpd_twisted.py: Implement "with_index" arg.
* [7cf927e] control: Add missing package dependency on py-dateutil.
* [e6fe4ae] httpd_twisted.py: Implement regex matching (using one
customized twisted file resource).
* [5342c6d] httpd_twisted.py: Separate customized (but otherwise
generic) twisted classes.
* [2f7596b] httpd_twisted.py: Remove temporary logs.
* [c00666d] mini-buildd: Adapt hardcoded path for manual again
(debhelper 11 per default installs it to the detected "main" package
mini-buildd).
* [f11957b] httpd_twisted.py: Implement 'with_doc_missing'.
* [cb17041] devel: Improve levels for tests.
* [74189c3] httpd_twisted.py: Implement (rotating) 'access.log logging'.
* [9971965] httpd_twisted.py: Use t.logging (no deprecated t.python.log)
to redirect twisted logging to ours.
* [58de9f4] httpd_twisted.py: Switch to better 'rotated access.log'
implementation (using t.p.logfile).
* [7d6c256] Get rid of script 'mbd-auto-setup' (we now "officially"
offer the auto-setup per API call).
* [f977001] api/__init__.py: portext: _update(): Clear choices before
adding (fixes ever-increasing choices list).
* [de5c788] mini-buildd-tool: subparsers still can't be grouped ;).
Updating note and issues.
* [78b0482] schroot/setup.d/15mini-buildd-workarounds: wheezy and jessie
are now archived (need Check-Valid-Until disabled).
* [4b46ef1] sources: Add 'X-Check-Valid-Until' per-source support.
* [f62f3be] wizards: Mark jessie-backports[-sloppy] source with
'X-Check-Valid-Until: no'.
* [14a6dcc] 15mini-buildd-workarounds: Update comment on 'valid-until'
global workaround.
* [e1e72bd] api: New way to group commands; automate creation of global
command helpers.
* [3ba8d3a] api: Add calls "testpackages" and "keyringpackages".
mini-buildd (1.1.13) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
"Release often" release. Syncs fixes w/ 1.0.37.
* [102a374] devel: Comment typo fix.
* [edd2143] devel: Rather check for packages in stretch, not jessie.
* [a346212] api: autosetup: By default, setup up for both (Debian and
Ubuntu).
* [a24af91] source wizard: Update Ubuntu sources (up to 18.10).
* [a9fac91] models/source.py: Add expire check for Release files
("Valid-Until").
* [9335f40] Add support for generic per-distribution DEB_BUILD_OPTIONS.
* [0cc2bef] builder.py: Actually use 'sbuild --jobs=' as documented (not
DEB_BUILD_OPTIONS) to set per-build parallelism.
* [ba61841] debian/rules: Allow parallel builds for testing (dh 9
default is off).
* [aa36509] templates/mini_buildd/log.html: Fix URI for buildlog &&
changes.
* [5d44fe8] mbd_packager_status.html: Cosmetic: Add missing space.
* [b900176] source,repository.py: Add support for Debian Security
sources.
* [96f8596] builder.py: Remove old/obsolete 'sbuild-update --keygen'
support (now actually fails on newer sbuild). (Closes: 924077)
* [d04d44f] package-templates/mbd-test-cpp: Add dep to test security
sources.
mini-buildd (1.1.12) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release mainly switches the httpd backend from cherrypy to twisted.
[ Ondřej Nový ]
* d/changelog: Remove trailing whitespaces
[ Stephan Sürken ]
* [4501fe7] mini_buildd/httpd*.py: Initial structural change to later
support/test different backends.
* [0835418] httpd*.py: Generalize add_static() function and call in
generic HttpD.
* [82661d1] httpd.py: Backends: Rather use inheritance model.
* [59f4e62] setup.py: Use a little helper for the package data file
lists.
* [883334c] python3-mini-buildd.links: Add symlink to django admin
site's static data.
* [ea1d261] /mini_buildd/setup.py: Get rid of STATIC_URL common setup
variable.
* [018eda8] httpd.py: add_static_handler(): Give path w/o slashes
("static", not "/static/").
* [ba48b4a] httpd, setup: Move special html template back to httpd.py.
* [4720d82] httpd.py: Improve notation for static adder method.
* [f021ac7] httpd_twisted.py: Add alternative http backend.
* [9662ac1] httpd.py: Move manual index generator code from cherrypy
backend to base class.
* [322a164] httpd_wsgiref.py: Initial wsgiref httpd (test) backend.
* [37fcab6] httpd.py: Strip down html_index() to one simple function.
* [e573026] httpd.py: Move html_index() to httpd_wsgiref.
* [f2f2ff9] source.py: wizards: Update signing keys for unstable +
testing.
* [5326b0f] httpd.py: Fix used backend back to cherrypy.
* [3f3c296] codespell update: Three more spelling fixes.
* [fd40a89] httpd: Select backend from script, not module.
* [2325059] httpd_tornado.py: Add tornado backend.
* [5d54ef3] html: Fix tidy warning (labels must only link to one
element).
* [d5c698e] httpd.py: Code cosmetics.
* [06678e0] httpd.py: Bulk API cleanups.
* [f61a4a6] httpd.py: Mark private methods.
* [57baaa6] src/mini-buildd: Do HttpD backend import in-method:
daemonize() might close things created by backend (f.e. twisted)
module's initialization.
* [eea6df2] misc.py: Add network 'Endpoint' class (based on twisted
syntax; eventually will replace class 'HoPo').
* [a94ab56] Update httpd code to use network endpoints (adds option
--httpd-endpoints, keeps compat for --httpd-bind).
* [63a312b] src/run-doctest: Don't run in verbose mode.
* [c43eab3] httpd_cherrypy.py: Add SSL support.
* [dd350c6] httpd.py: Use generic "supported types" check.
* [5141f91] httpd_tornado.py: Add support for ssl.
* [fe59778] httpd[_wsgiref].py: Move 'WSGIWithRoutes' helper to
httpd.py.
* [dd8afe4] httpd_waitress.py: Add test support for waitress backend.
* [10f6e35] mini-buildd: Endpoints: Add real life defaults (tcp, ssl,
unix) as code comment (for convenience, later tests).
* [657f97e] httpd.py: Some simplification (triggered by pyflake error).
* [d34954d] httpd.py: Move mime type add-on dict to base class; update
in cherrypy- and implement in twisted-backend.
* [5e5091e] api/__init__.py: Don't warn on missing (but optional) api
updater function.
* [b059691] builder.py: sbuild call: set '--no-arch-all' explicitly
(Fixes "false" reprepro errors after successful builds w/ sbuild >=
0.77)
* [2ef39cd] wizards: Remove squeeze autosetup support (repo sigs
expired).
* [e2595b3] api/_contrib.py, DebianPackageTracker helper: Fix parsing
for backport versions (after changes to tracker web sites).
* [61b9eb9] httpd.py: Fix error message on unsupported type.
* [0c47b10] mini-buildd: --httpd-endpoint option: Change to append
option (instead of ,-separated string).
* [4da4df5] Fix two URL assemblies via urllib.parse.urljoin() to produce
clean URLs.
* [2c14879] devel: Add httpd-benchmark.
* [f10132b] pylint 2.1: Bulk-fix R0205(useless-object-inheritance).
* [9d493da] pylint 2.1: Bulk-fix syntax for various now failing
"disable=xxx" (workaround for regression
https://github.com/PyCQA/pylint/issues/2297).
* [900f624] pylint 2.1: Bulk-fix R1705(no-else-return).
* [3e2f822] pylint 2.1: Bulk-fix R1714(consider-using-in).
* [f963814] pycodestyle 2.4: Add W503 to ignore list.
* [6825fcc] pycodestyle 2.4: Bulk-fix 'W504 line break after binary
operator'.
* [c9de476] devel: Add MBD_HTTPD global "config" variable.
* [2497680] devel: Move test file creation into extra func.
* [6e06b57] httpd_tornado.py: Use '.*' hardcoded as match for now
(makeas log/ and pool/ work).
* [9e8becf] devel: Add test httpd-testfiles.
* [a750fa5] devel: httpd-becnhmarK Fix: Make item var local.
* [b9296b6] devel: add 'devel deps' for httpd tests.
* [4539f95] devel: httpd-benchmark: Harden printf for "." dec-sep.
* [daa7a78] devel: Change targets build,buildcheck,lintian ->
changelog,buildfast,buildcheck.
* [dcaf1d6] devel: Fix check level 00->01 for updatecheck.
* [64decdc] devel: Add --pedantic for lintian check.
* [0373e98] devel: Use a config file for lintian.
* [24f770e] devel: builcheck: Run lintian via debuild.
* [6a86c32] Update to dh compat level 11.
* [c092c9f] lintian: Fix pedantic warnings 'maintainer-script-without-
set-e'.
* [b33e5d6] pylint3 2.2.2: Fix new warnings "Unnecessary pass
statement".
* [0d4a898] .pylintrc: Pimp up ancestors again (due to new python-
debian).
* [5ab5693] Switch from cherrypy to twisted.
mini-buildd (1.1.11) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release mainly implements internal 'choice generator'
functionality for the API calls, and quite some kerfuffle
on the html/django side (still does not really look nice,
though).
* [13a75e8] rules: Add support for "nodoc".
* [30c4d29] [devel]: Yet another cleanup for the run shortcuts; also
makes most-used "./devel update" faster.
* [e4921c7] [devel]: Add ttag check to css check (and rename it to
htmlmisc).
* [10ae200] mini_buildd_tags.py: Remove obsolete tag
"mbd_distribution_options".
* [f20b45a] Fix a handful of new typo findings (with new codespell
1.12).
* [47e62ec] includes/mbd_api_arg.html: Select: Make empty choice denote
custom entries (and hide custom entry field).
* [c6e8c5f] api/__init__.py: printuploaders: Implement updater
(choices).
* [d8fb337] daemon.py: Add helper function get_active_codenames().
* [b2648b3] daemon.py: Add helper function get_suites().
* [a94cabb] api/__init__.py: getsourceslist: Implement updater
(choices).
* [96c0e62] [devel]: buildcheck should be "test level".
* [3dc4b1d] daemon.py: Cosmetic: Fix typo/wrong spelling in comment.
* [7dbe00b] includes/mbd_api_arg.html: Use HTML5 'datalist' for select
type.
* [b0ba2a8] api/__init__.py: show: Implement updater (choices).
* [ca8663c] api/__init__.py: list: Implement updater (choices).
* [0532031] api/__init__.py: migrate: Implement updater (choices).
* [2942d8f] api/__init__.py: remove: Implement updater (choices).
* [909ecfd] registration/login.html: Also use QUERY_STRING for next
value.
* [a26362e] includes/mbd_api.html: Instead of just disabling the button,
refer back to login if API call needs login.
* [bc38a8f] api/__init__.py: port: Complete updater (choices).
* [907c9aa] api/__init__.py: portext: Implement updater (choices); also
adds URLArgument class.
* [81264c9] includes/mbd_api_arg.html: Fix options tag to avoid tidy
warning.
* [715b1b8] api/__init__.py: retry: Implement updater (choices).
* [64c7623] includes/mbd_api.html: Use table to increase readability of
extra arguments.
* [5ce0b45] mini-buildd_api.css: Fix witn classes.
* [53b0dca] mini-buildd_messagelist.css: Try to remove some
redundancies.
* [5973317] control: Update Vcs URLs after salsa move.
* [ae1fb67] control: Rm X-Python3-Version (lintian says: no longer
needed, satisfied down to oldstable).
* [11f75b1] templates/registration/login.html: Don't add query string if
referer already has get params.
* [502538b] api/__init__.py: "options" option: Fix back from multiselect
to string (multiselect does not work here) && fixup documentation.
* [749067f] builder.py: sbuild: Explicitly add '--no-run-lintian' option
when lintian is disabled (effectively makes mini-buildd's 'run-
lintian=false' option actually work ;).
mini-buildd (1.1.10) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release concludes the generalization of "API-HTML-embedding",
triggering quite some related html/template and API cleanups on
the way:
[ Stephan Sürken ]
* [bbbd972] api/__init__.py: Promote auth_err() function to class
method.
* [f3444b0] mini_buildd_tags.py: api call tag: Use actual command
object, not class.
* [20d3112] [html] api call ttag: Fixup param config.
* [3589ec6] [html] ttag api call: Add option to set style (per css
class).
* [4abd029] api/__init__.py: Add extra func to produce new 'html_hints'
only when needed.
* [953f144] api/__init__.py: Deliver _all_ static arg description in
html hints.
* [ca60bd7] css: Add link-style class for api buttons.
* [a24230c] [html] ttag api call: Add verbosity support; add per arg
type support.
* [30f6e69] [devel]: mv pylint check to level 0.
* [9514aa5] api_index.html: Use new api call tag.
* [5538d0d] api/__init__.py: Add Argument abstraction classes.
* [fb17dc1] api: Replace all arguments config with *Argument() objects.
* [3d8d14a] api/__init__.py: arg filter: Code cleanup.
* [75a6e8e] api/__init__.py: Add TYPE attr to each arg class.
* [a549174] api/__init__.py: multi select: Set 'choices' as class var as
well.
* [052ab47] [html] Use new arguments for api call ttag.
* [3e8034e] [devel]: Fix logging of script run (so it does not interfere
w/ traditional compile error parsing).
* [aca5f8c] api/__init__.py: Fix command init && super calls to not
repeat the args.
* [1da9e72] api code: Make args a copy of arguments, and also carry
argument values for command objects.
* [e972651] api: autosetup: Properly use choices.
* [079900a] src/mini-buildd-tool: with new argument classes: Cleanup
add_arg call.
* [09e08eb] api/__init__.py: Introducte update() and _update() hooks.
* [5ec56f8] api/__init__.py: Fix: Object args must be copies.
* [94d5a0f] api/__init__.py: Move daemon to class var / constr.
* [4811280] mini_buildd_tags.py: api call tag: Fix extra_params.
* [2853a5f] api_confirm.html: Temporary fixup for new arguments.
* [d06b243] daemon.py: Fix strange wording in port exception.
* [6faf389] api/__init__.py: Mv false2none (obsolete?) to argument
class.
* [fd989a3] mini_buildd_tags.py: api_call: Supply daemon to command.
* [c711d7c] api/__init__.py: Port: Initial updater hook for
to_distributions choices (POC).
* [88583b5] [html] More updates to api_call tag; make show/hide/more
lists in ttag obsolete.
* [2583759] api/__init__.py: Remove now really obsoleted html_hints.
* [e189374] [html] Addcss class for api command.
* [dc5b4a3] ttags: Rename api_call -> api_command.
* [dcae8e0] mini-buildd.css: Fix start/stop styles: input, not a && move
to other button css.
* [239ea70] mini-buildd.css: Remove most redundancies from "button/api
classes"; remove 'style' option now from api_command tag.
* [66156dc] html,mini-buildd.css: Rename 'command' class (div box) to
mbd-api-box-True, and use only when show_more=True.
* [13e3f54] [html] Simplify ttag name: mbd_api_command -> mbd_api.
* [53ac173] mini_buildd/home.html: ttag mbd_api(): Migrate start/stop.
* [e417f55] mini_buildd/home.html: ttag mbd_api(): Migrate getkey.
* [431edfd] mini_buildd/home.html: ttag mbd_api(): Migrate keyring and
test packages buttons.
* [571d61a] mini_buildd/home.html: ttag mbd_api(): Migrate portext.
* [845231a] [html]: ttag mbd_api(): Migrate autosetup.
* [3760fe7] [html]: ttag mbd_api(): Migrate start/stop in admin index.
* [3be1757] api/__init__.py: Fix: Only consider non-empty list values
from get requests.
* [ffe8b61] [html]: ttag mbd_api(): Migrate logcat/degtdputconf in main
menu.
* [687016e] mini_buildd/base.html: Remove obsolete extra support to run
api w/ different output.
* [75b32c6] [html]: ttag mbd_api(): Migrate show in mbd base tpl.
* [fb8bcaf] admin/index.html: Migrate to includes w/ parameters
(obsoletes extra templatetags).
* [7d1f3b6] mini_buildd_tags.py: mbd_api ttag: Add output support.
* [fb57bc2] mini_buildd/home.html: Make start/stop api calls return to
referer.
* [bbc90e4] [html]: Put api css in separate file, and use for admin
also.
* [eb95aa6] mini-buildd_api.css: Make meta also use the wizard image for
now.
* [bcaf41f] mbd_admin_index_table_row.html: Migrate to mbd_api ttag.
* [b26fc20] api/__init__.py: Fixup argument so set(value) accepts both
raw and specific types.
* [e7e6815] repository_detail.html: Migrate to ttag mbd_api.
* [aa207ed] log: Migrate to ttag mbd_api.
* [4effc27] api_show.html: Update remove+migrate to ttag mbd_api.
* [0eade81] includes/mbd_api_arg.html: Fix: hidden args must use raw
(str) arg value.
* [4aa5020] django_settings.py: Add request context.
* [c4497b7] registration/login.html: On login, set next to referer.
* [fbb3ca4] [devel]: Add timestamp output at end of runs.
* [a286837] api/__init__.py: Fix doctests for Argument.
* [b2d634b] [devel]: Yet some more poking on sequencer and usage.
* [7271b11] api/__init__.py: autosetup should be confirmed.
* [c39a7da] api/__init__.py: Fixup __getstate__ so 'Command' objects can
be pickled again.
* [1bfae9f] [html] Move logcat from main menu next to start|stop.
* [e1b3605] [html] home.html: Put repository-related extra api calls
into separate section.
* [8a8ba72] [html] Move dputconf from main menu to
"home.repositories.extras".
* [2902d57] includes/mbd_api.html: Include doc in tooltip even on
auth_err.
* [25e9f8e] includes/mbd_api.html: Don't fully hide given args, also
show them with "more".
* [2489b54] [html] Use "API Index" for main menu and API index title.
* [55510c1] mini_buildd/home.html: Put page footer down, where it
belongs...
* [1b10cde] mini_buildd/api.html: mbd_api call as title.
* [c8c1e7f] mini_buildd/api_show.html: Fix log link for new api.Command.
* [4453296] includes/mbd_api_arg.html: Fix custom entry support for
select and multiselect types.
* [4d27514] api_show.html: Update rebuild to ttag mbd_api.
* [a1dd1af] includes/mbd_api_arg.html: Use empty string resp. 0 values
for string resp. int types if None.
* [aacca48] api_show.html: Update port to ttag mbd_api.
* [db41bcc] mini_buildd/home.html: Fix tidy error on extras.
* [75e76d8] [html] Simplify footer.
* [12ff6b1] mini_buildd/home.html: "Show more" for start and stop.
* [a225b00] [html] Mv getdputconf and add getkey to daemon part.
* [ca0fd24] api_list.html: Update show to ttag mbd_api.
* [7125d66] includes/mbd_api_arg.html: More fixes for the custom select
values text inputs.
* [964a6f4] api/__init__.py: Add (choices) updater for the Subscription
command.
* [0501ff9] Fix a handful of typos/warnings that emerged with new
codespell 1.11.
* [a0eaa59] [html]: Update subscription to ttag mbd_api (also obsoletes
extra include, ttag and css entry).
* [7643a60] includes/mbd_packager_status.html: Upgrade to mbd_api ttag.
* [ba45f78] mini_buildd/templates/base.html: When logged in, link to
profile by default for "Manage account".
* [f4d5c6e] api: Add 'Text' (multiline string) argument type.
* [447ae2c] account_profile.html: Update setuserkey to ttag mbd_api.
[ Gerhard A. Dittes ]
* [da58afe] devel: Fix missing "sudo" when using "service" command.
* [0fa339f] images: Split mini-buildd-graphics.svg into several files
providing each item separately (in "Inkscape SVG" format).
[ Stephan Sürken ]
* [69264b1] mini_buildd/home.html: Use direct includes for packager and
builder stati (and remove resp. template tags).
* [572c37f] api/__init__.py: auth_err: Also handle user=None, and renice
error texts.
* [d0590ef] templatetags/mini_buildd_tags.py: Take context for mbd_api
(obsoletes extra user arg).
* [8e8f7c8] Setup Wizards/Ubuntu: Drop yakkety, add artful.
* [0ac3a8e] html, ttags: Use html5 '<details>' tag (instead of js) for
'more args', and remove 'show_more' option on ttag mbd_api.
* [0617b5e] includes/mbd_api.html: Put "no width space" entity to
summary top avoid tidy warnings.
* [49eef56] repository_detail.html: Replace "js toggle" by "html5
details".
* [4a1972e] api_show.html: Replace "js toggle" by "html5 details".
* [c8acb08] home.html: Replace "js toggle" by "html5 details".
mini-buildd (1.1.9) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This and that release: Updates the keyring package, promotes auto-setup
to an API call (Closes: #886126), improves GPG key importing and starts
an effort to generalize API call HTML code:
* [bac4106] [devel]: test suite: Always use dput --force (make local
package test work even if there's a changes around).
* [d28ee9d] api/__init__.py: Put http MAXHEADERS patch here (fixes mini-
buildd-tool, too), and pimp to 5000.
* [0be59f3] pylint-1.8.1: Make check work again.
* [246b478] [devel]: Add shortcut to view log.
* [4d33c89] [devel] Rewrite (test) sequencer code.
* [0e9a811] call.py: Fix: call_with_retry() would not raise exception on
error.
* [a5493bd] gnupg: Make public key importer more reliable.
* [6866e81] [devel] Add remove-only (non-purge) sequent.
* [c39f33b] test packages: Downgrade all to debhelper 9 + dh_autoreconf
(for compatibility down to squeeze).
* [347b3a2] keyring package template: Convert to debhelper (9); convert
to using trusted.gpg.d/ fragments. Thanks to Marc Haber (Closes:
790856)
* [4b2164c] gnupg.py: import_pub_key(): Try all files
/u/s/keyrings/*.gpg.
* [3398b00] New API command 'autosetup' (this makes the essential code
of the mbd-auto-setup script internal).
* [d430493] API autosetup: Add arg: --vendors.
* [662bb7b] API autosetup: Add arg: --repositories.
* [7eccd80] API autosetup: Add arg: --chroot-backend.
* [79c7aeb] Add auto setup to web app (initial support).
* [2c3bb5d] [html] Add templatetag for api_call (currently only
replacing flat impl in base).
* [377dd5f] includes/mbd_api_call.html: Simplify, form only, add output
type.
* [c01a981] [html] ttag 'mbd_api_call': Use command name (not obj) as
arg.
* [ef823c7] [html] ttag api_call: Use uniq random element ids.
* [8b55570] [html] ttag api_call: Get mandatory args from api && make
tag more versatile.
* [17ed07b] api/__init__.py: Add generic auth function.
* [fc8e192] [html] ttag api_call: "auth indicator" support.
* [1c3b9d7] mini_buildd/base.html: Use mbd_api_call for top level
show/list.
* [0086373] [html] Some smaller fixes for tidy test failure.
mini-buildd (1.1.8) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release: Syncs with newer pylint and other minor fixes
and cleanups only.
* [ff78c7e] views.py: Fix log view (1.1.x regression).
* [7accd29] changes.py: buildrequest: Also exclude .changes (fixes:
failed buildlog sometimes not archived) and .buildinfo files.
* [351cb45] changes.py: Add todo note about maybe using dsc only for
buildrequests later.
* [f19c3b8] [devel]: Add ridiculously oversized skip-workaround for
pylint3 at sid breakage.
* [56c088b] Revert "[devel]: Add ridiculously oversized skip-workaround
for pylint3 at sid breakage."
* [c250c15] pylint 1.7.4: Fix various new 'no-else-return' warnings.
* [6ba8656] pylint 1.7.4: Fix one new "unused-argument".
* [5503913] pylint 1.7.4: Remove false-positive override for 'redefined-
variable-type' (now fixed in pylint default).
* [e8840b1] pylint 1.7.4. Add exceptions for new (no-member/contextlib)
false-positive: https://github.com/PyCQA/pylint/issues/1437
* [b38af5d] pylint 1.7.4: Another exception for 'no-member' false-
positive on threading.Lock().
* [5f1ac30] pylint 1.7.4: Fix two new 'args-differ' warnings in ftp
code.
* [0789b90] pylint 1.7.4: Add exceptions for several 'arguments-differ'
false-positives (https://github.com/PyCQA/pylint/issues/1553).
* [1827d2c] rules: Remove PYTHONHASHSEED=0 sphinx/repro workaround
(#877637 has been fixed).
mini-buildd (1.1.7) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release has more ;) cleanups for the build setup (setup.py +
packaging), now making the package lintian-clean -- including an
internal check to keep it that way (fixes the 'missing man pages'
regression from 1.6 on the way).
Apart from that, this mainly has improvements to the internal
development test suite scripting.
* [abaa17b] Revert "control: b-d on debhelper >= 10.6 [in previous
versions, dh_installman fails to find man pages]."
* [802f0aa] setup.py: Revert back to fixed build path for man pages
(fixes 'no manpages' regr. in 1.1.6).
* [ae2b570] mbd-auto-setup: Run m-b-tool in --verbose mode.
* [46c8e48] rules: QA: Run dh with '--fail-missing'.
* [274e739] mini-buildd-tool: Use fixed metavar string for commands
(fixes manpage warning); add note about full command help.
* [a70a4b6] [devel] update(): Add extra lintian run to catch (new)
lintian warnings.
* [e5f32f7] [devel]: Remove skip warning from repro check (forgot to
remove).
* [8f90ac0] [devel]: New naming convention for static checks:
'mbd_check:<type>': This updates all active checks.
* [cc99f28] [devel]: New naming convention for live checks:
'mbd_checklive:<type>': This updates all active checks.
* [f19ff57] setup.py: Yet more cleanup/simplification for the custom
setup (init, mans).
* [9bcad45] [devel] Fix up usage (remove the strange underscore/args
thing).
* [3ff71f0] [devel] Remove redundant code to write init -- use setup.py
instead.
* [71800f9] devel: check(), livecheck(): Auto-generate list of check
functions.
* [0bab5ad] devel: Add codespell check to active checks.
* [3fbc836] code: Fix three minor spell issues found by codespell check.
* [22c07ca] devel: Update checks to yet another naming scheme (with an
added ordering cardinal number).
* [08e1ae3] devel: Remove unused snakefood graph support.
* [8e7692d] devel: Remove unused and outdated mbd_doc().
* [ac6f5ec] devel: Remove _read_mirror(): Not used, and should be
obsolete.
* [5fbc424] devel: Re-order functions.
* [04f78af] devel: static checks: Integrate build(); add lintian() as
extra check.
* [2bd2414] devel: split up "checkall" into new ordered "live" checks.
* [a31b51d] devel: Update/improve usage.
mini-buildd (1.1.6) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release consists of misc cleanups/fixes, focusing on the
python/Debian build system. Makes it reproducible again.
* [ea78677] rules: Remove superfluous DH_VERBOSE comment.
* [63c6f19] bash-completions: Drop 'building' (use plain files), and
switch to dh_bash-completion for package installation.
* [3458321] sphinx conf.py: Cleanup up: Remove obsolete config (man,
latex) and comments.
* [e7e2b48] sphinx build: Simplify setup (put generated sources in doc/
directly).
* [100ee4f] sphinx: Call sphinx-apidoc via conf.py (not setup.py).
* [141e221] setup.py/man pages: Cleanup generation code; do it on build,
not sphinx_build.
* [01af9e8] sphinx: Move sphinx build from setup.py to rules.
* [12f1a8c] httpd.py: Fix "manual missing" error handling callback.
* [ce2e942] setup.py: Add method for init generator; minor cleanups.
* [1c2b2b7] rules/setup.py: Add workaround for sphinx unreproducible
html (see bug #877637).
* [41d5eba] setup.py: Build man pages to /build/ not /src/.
* [6b280da] rules: Build sphinx _after_ pybuild (so we get a working py
package for apidocs).
* [fa779e7] setup.py: man pages: Make sure build/ dir exists.
* [388b19d] apidoc: Use separate pages for modules.
* [fb64c4b] doc/conf.py: Fix and update copyright text.
* [da3d651] .gitignore: Ignore new sphinx-apidoc-generated files in
doc/.
* [df48e0f] doc: Build all generated docs to extra directory
(doc/code/).
* [add8fe8] rules: sphinx-build call: Explicitly give builder (html).
* [57c6f04] httpd.py: Improve doc "error hinter".
* [b968bfe] httpd.py: manual error: Use multiline html string (fixes
codestyle warning).
* [1b34100] setup.py: Add custom "clean": Now actually clean all files
gen. in build/ (obsoletes "clean" override in rules).
* [53b6102] api show, misc code: Switch from dsc_url to dsc_path
internally (fixes "early binding" to absolute URL).
* [82c36e6] code: Mass fix py warning: 'ResourceWarning: unclosed file'.
* [f9b2736] source.py: Use django's set() to reset many-to-many set on
check() and remove() (Fixes django deprecation warning)
* [c895315] [devel]: pymodules: Use "$*" not "$@" in test (latter will
expand to several args). Fixes annoying error displayed.
* [00264d4] control: b-d on debhelper >= 10.6 [in previous versions,
dh_installman fails to find man pages].
* [4ff0cc1] control: Fix description for package py3-m-b (this no longer
contains m-b-tool).
mini-buildd (1.1.5) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release focuses on the binary package split (now:
python3-mini-buildd, mini-buildd, mmini-buildd-utils, mini-buildd-doc)
and internal directory/file structure changes.
* [a37e69c] daemon.py: Fix broken 'save' of Daemon instances (regression
in 1.1 only). Thanks to Frank Doepper (Closes: 867592)
* [c21b7a0] Package split: Add deb 'mini-buildd-utils' (currently for
mini-buildd-tool only).
* [e0bf493] Package split: Add deb 'mini-buildd-doc'.
* [d243a51] Adapt code path for new online manual location, and add sane
error hint (in case *-doc is not installed).
* [f9648bf] Package split: Move mini-build-tool manpage to *-utils.
* [366eaee] debian/copyright: Update year (2017).
* [7940157] debian/copyright: Update to 1.0 (add 4.0-recommended https
Format:-Url, remove obsolete entries).
* [c3a656a] debian/control: Update prio extra->optional (policy 4.0.1).
* [23728a6] debian/control: Update Std.-Ver. to 4.1.0.
* [1acd9e8] Move doctest extra test data from /examples/ to /src/.
* [65509a4] Introduce new project dir "share/"; mv "auto-setup" from
"examples/" here.
* [6f5944c] Introduce new project dir "etc/"; mv "15mini-buildd-
workarounds" from debian/ here.
* [7c38c01] Mv "fstab-generic" from "debian/" to "etc/".
* [dbb5cfd] Mv "mini-buildd-sudoers" from "debian/" to "etc/".
* [d681e96] Mv "mbd-debootstrap-uname-2.6" from "debian/" to "share/".
* [1d7e5a4] Mv "packages/" from "examples/" to "share/" as "package-
templates/".
* [57e6c5b] Mv "dput-wait-for-build" from "examples/" to "share/".
* [3e9a685] Mv "migrate-keyring-packages" from "examples/" to "share/".
* [6a58213] examples/reject-cleanup: Fixup doc/help.
* [f3132ac] Mv "reject-cleanup" from "examples/" to "share/".
* [050c6ee] examples/schroot-cleanup: Fix up docs/help.
* [281d4d3] Mv "schroot-cleanup" from "examples/" to "share/".
* [c26a5aa] Remove examples/README: Now obsolete.
* [0ebb62c] Mv "import-08x" from "examples/" to "share/".
* [9b4c8a9] Mv "ssh-uploader|tool-command" from "examples/" to "share/".
* [c9c31ae] archive-keyring-template: postinst and prerm should be +x.
* [7e156ea] mini-buildd.lintian-overrides: Rm now-obsolete override
'duplicate-changelog-files'.
* [a074745] debian/rules: No need to override compress for examples any
more.
* [de2b1bd] [devel]: purge: Also purge new packages mini-buildd-utils
and -doc.
* [3fd755d] Introduce prefixes "mbd-" (admin, package mini-buildd) and
"mbu-" (utilities, package mini-buildd-utils) for executables in
'share/bin/'.
* [0813931] Rename 'auto-setup'->'mbd-auto-setup'.
* [a48169a] Rename 'dput-wait-for-build'->'mbu-dput-wait-for-build'.
* [655b47a] Rename 'migrate-keyring-packages'->'mbu-migrate-keyring-
packages'.
* [70ac474] Rename 'import-08x'->'mbd-import-08x'.
* [a65b9d0] Rename 'reject-cleanup'->'mbd-reject-cleanup'.
* [079d77d] Rename 'schroot-cleanup'->'mbd-schroot-cleanup'.
* [ecbbcc4] Rename 'ssh-uploader|tool-command'->'mbd-ssh-uploader|tool-
command'.
* [8dca8a3] test packages: Bulk-upgrade debhelper compat level to 10.
* [d99b255] test packages: -cpp|ftbfs: Remove extra .ui-auto.conf
(really not needed).
* [c6aab94] test packages: Remove now-obsolete previously checked-in
generated/redundant autotools files.
* [d6decd3] test packages: Bulk-update/renice top level README.
* [7dddf23] test packages: Bulk-upgrade stds-ver to 4.1.0.
* [92022e6] control: Rm obsoleted b-d for dh-systemd.
* [bd219f6] control: *-util must also break+replace old py2 package
python-mini-buildd.
* [4e0cec5] gbp.conf: Configure snapshot number: time stamp.
* [a5cef50] gnupg.py: Support passwordless key creation for gpg flavor
2.2 (fixes daemon creation).
* [b7ef0c8] control: Update to Stds-Ver 4.1.1 (no changes needed).
* [4d65c50] *.lintian-overrides: Remove 'debian-cl-line-too-long'
override (this does not seem to be an issue w/ default gbp any more).
* [2c5f20e] setup.py: sphinx-apidoc: Use explicit path for py3 variant.
* [265c14c] doc/conf.py: (sphinx doc) Order autodoc members by source.
mini-buildd (1.1.4) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release mainly catches up w/ needed changes already in
the new 1.0.x stable release (especially, make it work with
current django 1.11).
[ Gerhard A. Dittes ]
* [6cb3ba6] mini-buildd.css: Improve "status table" appearance.
[ Stephan Sürken ]
* [ed6f61d] Remove (08x compat) package mini-buildd-common for good.
* [4da9072] lintian: Add hardcoded suppress for 'bad-ubuntu-
distribution-in-changes-file'.
* [0e4fabe] wizards: Add support for Ubuntu zesty (17.04).
* [1df9c9c] [devel]: update: Install with depends (debi --with-depends).
* [64e31c1] [devel]: installdeps: Add tidy.
* [8b437cc] wizards: Improve source wizard code: Don't repeat key ids.
* [457a513] wizards: Cleanup Ubuntu sources, support only zesty, yakkety
(latest) + xenial, trusty (latest LTS).
* [a717be5] wizards: Archives: Replace httpredir.debian.org by
deb.debian.org.
* [6a0be63] wizards: Sources: Update keys for stretch after release.
* [f474dbf] wizards: Add support for buster.
* [e380b7f] wizards: Add support for jessie-backports-sloppy.
* [1f39afe] wizards: Add support for stretch-backports.
* [6031e7d] src/mini-buildd: py3: Remove obsolete encode() call in
SysLogHandler (fixes syslog logger).
* [4d1f642] django: Update to aware datetime objects ('USE_TZ'), and
allow django 1.11.
* [58aa3a2] builder/packager.py: Fixup import order.
* [cea621e] Revert "lintian: Add hardcoded suppress for 'bad-ubuntu-
distribution-in-changes-file'."
mini-buildd (1.1.3) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release again is a mere code maintenance release:
* python 3: More 2to3 code updates (calling this finished).
* django 1.10: Remove all < 1.10 compat code.
* pylint: Make nearly all exceptions in-code, and bring it
down to about 30 exception aver all.
* All known regressions fixed.
* [fe0732c] py3: Remove obsolete py2 compat: Argparse/stderr workaround.
* [8791ee6] py3: Remove obsolete py2 compat: PY2_HAS_URLLIB2_CAFILE.
* [6d37317] misc.py: Remove obsoleted pylint exception.
* [e7212c3] py3: Remove obsolete py2 compat: timedelta_total_seconds()
wrapper.
* [9a57e4a] py3: Remove obsolete py2 compat: mkdirs() wrapper.
* [118fb9f] py3: Remove obsolete py2 compat: Extra locking for
dict.setdefault() not atomic.
* [5e23968] control: Update/harden dep on django: >= 1.10.
* [9f1b505] django_settings.py: Remove settings compat code for django
versions < 1.8.
* [3370ecd] daemon.py: Remove and replace old 'model-save()-workaround'
for django versions < 1.5.
* [c6f41b5] templatetags/mini_buildd_tags.py: mbd_jquery_path() Remove
compat for django versions < 1.9.
* [18a91f4] models/source.py: Remove obsolete and 'not-quite correct'
workaround comment for source.__str__()
* [0c7d67c] [devel]: Rm now-obsoleted helper pycompat.
* [7e50464] [devel]: Remove no longer needed temporary helper 2to3.
* [a745002] pylint: Remove all in-code "module-global" exceptions (two
files).
* [84e6ae7] pylint: "bare-expect": Bulk-move to in-code exceptions.
* [9ea6286] [devel]: pylint check convenience: Don't stop testing on
first file that fails.
* [5ed2929] pylint: "broad-expect": Bulk-move to in-code exceptions.
* [bc46515] pylint: Drop global exception "cyclic-import" (no longer
needed).
* [777f2e8] pylint: "redefined-outer-name": Bulk-move to in-code
exceptions.
* [db39ae4] pylint: "redefined-variable-type": Bulk-move to in-code
exceptions.
* [309607e] pylint: Drop global exception "no-init" (no longer needed).
* [c8efdff] pylint: Re-check && keep global "logging-format-
interpolation" exception (update comment)
* [8103ce8] pylint: Remove "line-too-long" exception, rather use
max_line_length=200 now.
* [faedd7a] [devel]: pylintgeneratedmembers(): Fix 'devel call', and
change pylintrc directly.
* [6d3e474] .pylintrc: Update via pylintgeneratedmembers().
* [88f4acf] .pylintrc: Some general formatting cleanups.
* [4476306] .pylintrc: Add comment on each global exception.
* [4a858fc] [devel]: pylint: Add && print extra counter for number of
locally disabled checks.
* [0023580] [devel] Put py file exceptions to py_modules() func only.
* [3b24358] [devel]: Call pylint with many args && --jobs=2 (instead of
once for each module) (~quarters run time).
* [11fd16f] models/chroot.py: Use dict.get() with default value instead
of try/catch for personality value (obsoletes pylint exception).
* [25f20ca] code: Bulk-replace all "bare-excepts" by "broad-excepts" on
BaseException.
* [6f3d7e4] mini-buildd: Better name for daemon variable (obsoletes
pylint exception redefined-outer-name).
* [1592f54] mini-buildd-tool: Rather use '_var' naming than pylint
exception 'unused-argument'.
* [105de9c] mini-buildd-tool: Use ConfigParser, not legacy
RawConfigParser.
* [0eec1ff] mini-buildd-tool: Add short doc for host_completer function.
* [6ae0ef8] mini-buildd-tool: Simplify && improve host_completer()
(obsoleting a handful of pylint exceptions).
* [c34333c] code: Bulk-fix: Only use BaseException for broad except
clauses.
* [dadc1ff] webapp.py: Fixup 2 import statements (obsoleting 2
'redefined-outer-name' pylint exceptions).
* [bb62214] models/base.py: Fixup import statement (obsoleting a
'redefined-outer-name' pylint exceptions).
* [8bb3f6b] builder.py: Rename/improve function name build() ->
run_build() (obsoleting 3 'redefined-outer-name' pylint exceptions).
* [6026ad9] api/__init__.py: Fixup/improve internal imports (obsoleting
'redefined-outer-name' pylint exception).
* [d56140b] pylint: Remove unneeded in-code exceptions: 'wrong-import-
position|order','import-error', 'no-name-in-module'.
* [83801ca] mini-buildd-tool: pylint: Add false-positive comment to no-
member disable pragma.
* [15e839f] [devel]: pylint: Add short log line before checking modules
resp. scripts.
* [805f006] models/base.py: pylint: Remove 'super-on-old-class'
exception (no longer relevant with py3).
* [2d378be] models/chroot.py: Simplify/improve code to set personality
(obsoletes pylint exception redefined-variable-type).
* [fe39105] models/source|repository.py: py3: Switch to use key function
for ordering components.
* [79c1fcc] ftpd.py: py3: Switch to key function to order list.
* [adc0da9] .pycodestyle: Replace UTF-8 chars by ascii.
* [96ab49e] examples/*: Remove a number of exception bases pylint
exceptions.
* [056de7b] code: Bulk-fix *more* "bare-excepts" (found by pycodestyle
2.3.1).
* [6762822] call.py: Rather use SpooledTemporary for default stdout|err.
* [98d6b47] call.py: Simplify call2shell() convenience code.
* [5c5504c] call.py: py3: Switch to use subprocess.run().
* [a611831] call.py: py3: Use more from CompletedProcess, stop using
implicitly created temporary files (fixes py warning).
* [9a4a916] call.py: Get rid of (unused) methods to get stdout|err as
bytes.
* [d99f9a2] call.py, all: py3: Bulk-rename ustdout|err to stdout|err
('u' for unicode does not make sense anymore).
* [55864ce] call.py: Remove extra retval, and some more cleanups.
* [29280ea] debian/control: Update to 'nicer' notation.
* [176fbeb] debian/control: Add py3-bs4 b-d and suggests for p-m-b.
* [1fae937] django_settings.py: Update to 1.10 MIDDLEWARE style (fixes
django warning).
* [dcf11e8] django_settings.py: With compat removed, we can simplify
back to call configure() directly.
* [3f5b283] root_urls.py: Remove unnecessary include() for admin site
(fixes django warning).
* [94d9260] models/base.py: colored status: Switch from deprecated
'allow_tags' to html_format() (fixes django warning).
* [e0ead55] misc.py: run_as_thread(): Switch to daemon property (instead
of deprecated setDeamon()).
* [3fe5534] mini-buildd: logging: Set 'raiseException' value based on
"exception" debug flag (previously, it was always disabled).
* [9dc3b24] code: py3: Bulk-update use of super() to py3-style.
* [30a5239] views.py: Use 'is_authenticated' as attribute (fixes django
deprecation warning).
* [197ab68] [devel] pymodules(): Add file exceptions as args (and use
exceptions only where needed).
* [175f061] setup.py: Use setuptools.setup(), not
distutils.core.setup().
* [ebfa639] setup.py: Some code cleanup, improve __init__.py creator
code.
* [566991b] setup.py: Fix build_sphinx workaround to custom BuildDoc
command.
* [c7bfb8d] [devel]: pyenv: write own version of __init__.py (don't use
setup.py's side effect).
* [eed7020] setup.py: Use custom command for build: generate __init__.py
&& trigger doc build automatically.
* [f061c98] setup.py, debian/rules: Move bash-completion file generation
to setup.py (this finally obsoletes rule's build target override)
mini-buildd (1.1.2) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release fixes some regressions from the py3 migration, and
improves on internal code checking:
* [9500a4b] httpd.py: py3: Fix cherrypy static index (needs bytes now).
* [a2b582f] models/base.py: py3: Fix pickle support.
* [7e608e8] models/base.py: Remove compat unpickle support for old 1.0.x
beta release.
* [a322a9c] [devel]: Add pymodules, pyscripts and pysources (python code
files).
* [bdb1cfa] examples: Add missing char encoding mark for two scripts.
* [925123f] [devel]: Add "pycompat" search helper.
* [9dc4a5a] [devel]: pycodestyle: Use pysources(), and fix some now-
detected errors in example scripts.
* [3e56491] [devel]: codespell: Use pysources().
* [39411fa] [devel]: pydoctests: Use pymodules(), run in src/ and some
path fixes in modules.
* [d03618a] [devel]: pyflakes: Use pysources() and fixup previously
undetected errors in import-08x.
* [92361b8] [devel]: pylint: Use pymodules() and pysycripts() and fixup
previously undetected errors in example scripts.
* [8a81ab4] [devel]: Removing pychecker support (does not seem to work
for py3).
* [dd62d0d] [devel]: Remove obsoleted extra squeeze exception.
* [ae1b30f] [devel]: Compat search helper: Add searching for older
debian dist codenames.
* [e107d47] [devel]: use mbd_pysources() for 2to3 helper.
* [c94fda7] py3: Add all changes from 2to3 re-run with the updated file
list.
* [7a505b8] [devel]: Code re-ordering.
mini-buildd (1.1.1) experimental; urgency=medium
** 1.1.x are _development_ releases, use for testing only. **
This release updates mini-buildd to python3 (one-way, no py2 support).
Mostly formal updates and fixes up to the point that the test suite
("./devel checkall") would run again. I expect more py3 issues, and
hope for more possible cleanups in later releases:
* [90da0bf] [devel] Make mini-buildd-tool shortcut for test calls
global.
* [be288b4] [devel]: Add wait4package(): Wait until a packge is in-repo.
* [65ecdd6] [devel]: checkall(): Add migration tests.
* [1c086cd] models/repository.py: Improve two error messages (add
version) when package is not found in repo.
* [c79c627] mini-buildd-tool: Pre-check for None for http_args dict
(Fixes (wheezy only): API call has 'version=None' instead of
'version=' when --version not given explicitly.)
* [25bfd44] misc.py: guess_codeversion(): Better variable naming:
digit->number.
* [c87cbfc] misc.py: The default 'codename version' is now only a single
number for Debian distributions wheezy upwards.
* [6962aba] mini-buildd.NEWS: Improve da NEWS.
* [cb08681] control: Bulk-update all dependencies for python3.
* [ddee0ca] Bulk-update all script shebangs to python3.
* [12a3c64] [devel]: Switch check tools pylint, pyflakes => pylint3,
pyflakes3.
* [cf2575c] debian/*: Rename debhelper files: python-mini-buildd ->
python3-mini-buildd
* [a8a7cfc] control: Add Conflicts/Replaces for python-mini-buildd for
now (needed for /usr/bin/mini-buildd-tool).
* [a754159] setup.py: Update to 'print function' to avoid hassles later.
* [dc5415b] python3-mini-buildd.lintian-overrides: Also update package
name inside file.
* [b1c3a93] mini_buildd/setup.py: Fix python path to
'/usr/lib/python3/..' (instead of 2.Y scheme for python2).
* [678b09d] rules: Switch to pybuild, and update to python3 only.
* [4739b09] [devel]: Add little 2to3 convenience helper.
* [72fea8e] setup.py: Update write() call for python3.
* [8af4b26] .gitignore: Update for packaging changes.
* [3c30690] call.py: Drop str/unicode workaround code (obsolete and now
failing).
* [5e70efc] Bulk-update all python source via '2to3 --write --print-
function'.
* [7b7883b] pycodestyle: Bulk-Fix blank lines as left by 2to3 tool.
* [8fff71b] pycodestyle: Bulk-Fix multiple imports as left by 2to3 tool.
* [3233cac] pycodestyle: Bulk-Fix wrong indents as left by 2to3 tool.
* [d54d582] [devel]: misc check: Omit checking for future import, now
obsolete.
* [29a10d2] setup.py: Remove "future imports" from generated
__init__.py.
* [3489c0d] pyflakes3 (models/source.py): Replace cmp() call (no longer
in python3).
* [bb6ef69] pylint3: Bulk-replace deprecated log.warn() by
log.warning().
* [99aed26] pylint3 (models/base.py): Use decode|encodebytes instead of
deprecated decode|encodestring method names.
* [0fd0254] mini-buildd-tool: Declare varibale in correct scope (fixes
new pylint3 warning).
* [47561d8] api/__init__.py: Correctly mark unused variable (fixes new
pylint3 warning).
* [eec9e7c] misc.py: ConfFile: Remove obsolete unicode code.
* [d4a2385] Bulk-remove all explicit unicode literals (u', u").
* [7a1771a] misc.py: Fix base64 doctest for python3.
* [6aa6a07] changes.py: Dump differently to avoid py3 bug (?) in deb822
(fixes doctest).
* [3b00164] gnupg.py: Fixup gnupg doctests for py3.
* [8ac1edf] py3: Bulk-replace __unicode__() by __str__().
* [4943e3c] [devel]: Update all py2 Debian package names to py3
variants.
* [0096863] [devel]: Temporarily skip debrepro test (some sphinx issue
again?).
* [97bce29] daemon.py: Changelog: Remove obsoleted unicode workaround.
* [0286f19] py3: Fix up all sorted(cmp=...) to sorted(key=...) (using
cmp_to_key() woakround).
* [25fb2a7] packager.py: py3: Remove some obsolete explicit str() (py2:
was unicode()) conversions.
* [5187e2e] daemon.py (Daemon._port): py3: No longer do extra decoding
of author call param.
* [0f72c3d] misc.py (web_login): py3: Needs bytes now as POST input.
* [d6fd1e0] mini-buildd-tool (cmd_call): py3: Fix terminal output.
* [afca5a2] call.py (Call): py3: Fixup [u]stderr, [u]stdout methods.
* [6594bcb] builder.py (Build._buildlog_to_buildresult): py3: Fix status
parsing for non-ascii buildlogs.
* [c67faaf] django_settings.py (get_django_secret_key): Fix for py3 and
improve code s/w.
* [520f132] models/msglog.py, *.py: Do warn->warning transition for
MsgLog also, and fixup forgotten code.
* [07ca8dd] [devel]: Update all direct python calls to use "python3".
* [aa8512b] misc.py (open_utf8): py3: Just use open(), not
codecs.open().
* [7658e36] changes.py (Changes.__init__): Open file with encoding.
* [557e801] daemon.py (Daemon.logcat): py3: Implement tail via deque
(Fixes: API:logcat)
* [5c2efc6] gnupg.py (BaseGnuPG.gen_secret_key): Properly encode flavor
additions.
* [bbb248f] builder.py: py3: Don't use binary mode for sbuildrc snippet
file.
* [ba8c6d2] mini-buildd-tool (cmd_call): py3: Fix localized terminal
output.
mini-buildd (1.1.0) experimental; urgency=medium
1.1.x development ("python3, https, then some") kickoff.
This initial release merely has the 1.0.29 merge plus some initial
adaptions.
* [79f1750] Don't sync debian/changelog on merge.
* [86ac05a] Completely remove the "chroot sudo workaround".
* [29afa85] misc.py: codeversion guesser: Use ~CODENAME (was: CODENAME)
for rolling distributions.
* [5a87ca9] Change default bind values (http, ftp) to dual-stack
":::PORT".
* [7c52c78] gbp.conf: Fix branch (from 1.0.x merge) to master && config
to merge=ours in .gitattributes.
* [7251b46] mini-buildd.NEWS: Add note about new default bind and new
default rolling dist version appendix.
* [2070a0a] builder.py: Delete forgotten merge marker from 1.0.x merger.
Date: 2022-03-27 22:26:07.890001+00:00
Signed-By: Bryce Harrington <bryce at bryceharrington.org>
https://launchpad.net/ubuntu/+source/mini-buildd/1.9.99
-------------- next part --------------
Sorry, changesfile not available.
More information about the jammy-changes
mailing list