-
mini-buildd (1.9.117) unstable; urgency=medium
[@release team: This is NOT for bookworm; pseudo bug is in place to keep
mini-buildd in unstable.]
Summary:
* Another evolution of the 'setup system'
* Misc fixes from some migration tests
* Fixes/improvemts for remote building (Builders)
* Improvements for the 'emacs cl mode' example (mr -- thx Gerhard)
[ Gerhard A. Dittes ]
* [6544e06] examples/mini-buildd-utils/mini-buildd.el: move to changelog
menu
* [f6bf1bd] examples/mini-buildd-utils/mini-buildd.el: separate from
other menu items
* [febf25f] examples/mini-buildd-utils/mini-buildd.el: be smart (,
"always"!)
* [31b60f3] examples/mini-buildd-utils/mini-buildd.el: homogenize menu
definitions
* [166cfa9] examples/mini-buildd-utils/mini-buildd.el: comply with
"Emacs Lisp Coding Conventions"
* [712e683] examples/mini-buildd-utils/mini-buildd.el: prevent redundant
information
* [ad92802] examples/mini-buildd-utils/mini-buildd.el: fix typo (auto-
ports parameter)
* [291503d] examples/mini-buildd-utils/mini-buildd.el: fix momentous
typo
* [d58cc66] examples/mini-buildd-utils/mini-buildd.el: some more
reasonable variable naming
* [411a384] examples/mini-buildd-utils/mini-buildd.el: prefer strings
over symbols
* [9bf9482] examples/mini-buildd-utils/mini-buildd.el: add some
variable/function documentation (& make 'mbd-distributions'
extensible)
[ Stephan Sürken ]
* [fa598e7] api.py (Setup.iarguments): --repositories: Fix
notation/logic have <id>[/<layout_id>] (not
<id>[/<some_internal_string])
* [5595595] includes/range_menu.html: Use step=any for date input (fixes
confusing browser validation errors)
* [e848af8] api.py (Setup): Add "current" Setup preset (computed from
current instances)
* [d68c83b] api.py (Setup.iarguments): Add architecture to '--chroots'
option
* [5d6db0a] api.py (Setup.iarguments): Update --repository syntax
* [80085e8] api.py (refac): Fix up repository setup
* [538fe4e] tags/api_arg.html: Don't use size= for text,url,number (CSS
already sets this)
* [deded82] mini_buildd.css (input[type="number|text"]): Make width
somewhat bigger
* [9b2a8cf] misc.py (esplit): Helper: Deliver empty list on strip(sep)
(unlike str.strip)
* [187b0b0] api.py: Fixup args --chroots* and --repositories*
* [05803e1] api.py (Setup._setup): Separate code for 'var' and 'run'
* [c16d4bd] mini-buildd: Clean up '--debug=foo,bar' option: Drops
'warnings','exceptions' (now w/ log level DEBUG) and 'http' (not used)
* [615416a] api.py (Setup._setup): (refac) Go with one setup dict
* [3b4c1d3] devel (mbd_ipython3): Convenience: Run ipython so we can
import directly from working dir
* [dcfc1d3] misc.py (uniq): Add helper to make lists unique
* [b92fe21] api.py (Setup): Update result to be a dict again: +setup,
instances (list as before), +report
* [96885eb] api.py (Setup): (refac) Split _setup -> __setup, __run (also
fixes some pylint codestyle complaints)
* [6a60628] api.py (Setup): (setup dict) Update all use of ``set`` to
``list`` (fixes order, makes setup dict JSON-serializable)
* [3067616] devel (snapshot): Fix: sources_list check should be limited
to "test" repository
* [30a2aa8] api.py (Setup): Add separate --distributions arg (instead of
combining w/ --repositories)
* [31894ab] api.py (Setup.preset_current): Fixup chroots "current setup"
* [e50c61d] api.py (Setup.Dists): Cleanup: Construct from iterable &&
drop separator
* [2075dd5] tags/api_arg.html: Drop prefixing argument name to doc
(duplication/cluttering only)
* [3616c4f] api.py (ListArgument/argparse): Add custom argparse 'extend'
action (fixes: Only last given values of '--list' options would be
used if given multiple times)
* [1eedf7a] src/mini-buildd (doc): --http-endpoint: Clear up wording
(option itself may not be given multiple times)
* [e84bb7b] devel (profiles): Update pureos setup
* [12ef2ed] devel (testsuite): Add profiles '_arm64', '_repos'
* [3d7def3] python3-mini-buildd.links: Switch Numix icon theme dir from
48->32 (since numix-icon-theme 0~20230112-1, 48/ is not complete)
* [b893d97] api.py (Setup.iarguments): Drop '--save' option (including
all support to auto save/retrieve from pickled_data)
* [d718d43] api.py (Setup._preset): Drop '--update=all' from
(Debian,Ubuntu) presets
* [2d79c9b] api.py (Setup): Drop --sources-from-origin-with-lts|all in
favor of <origin>:lts|all notation
* [83b9799] api.py (Setup.iarguments): --chroots-from-distributions ->
--chroots-from-sources (makes it suitable for builder-only hosts)
* [9eedb47] api.py (Setup.iarguments): Misc argument docs fixups
* [490d098] dist.py (refac): Make CODENAMES dict of Codenames (not
setup)
* [b477ef2] dist.py(refac): Drop CODENAMES global
* [45382dd] api|dist.py (refac): codename selector: Move to dists and
simplify
* [4cea9d2] api.py (Setup._check_codenames): Drop (projected: should
just go with a defaults)
* [c44eddc] dist.py (di_codenames): Add support to get all codenames
known to distro-info
* [66176d0] api.py (Setup): Fix: Provide empty list if no 'apt_keys'
setup found, not None
* [dea8d1d] dist.py (Codename): Initially support a default setup
* [cdb572c] api.py (Setup.__run.LayoutInstance.update): Remove some
left-over debug logs
* [fec5ea7] api.py (Setup.__run.SourceInstance.update): Skip clearing
apt_keys list, always, use 'Instance', simplify
* [a9d5a39] api.py (Setup.__run): Layout: Always use 'Instance',
simplify
* [dd6d3c2] api.py (Setup.Instance.diff): Model diff: Skip field if
Model's default is the empty string
* [394f583] misc.py (mdget): Add special "dict get" helper
* [ccd1c3b] dist.py (Codename): Add setup_* methods to retrieve data
from setup; updates && fixes for Sources+Distribution+Chroot
* [f9e7fb9] views.py (ExceptionMiddleware): Fix incorrect 'error' call
(fixes error response for django http errors)
* [b82a475] devel (profiles): Make '_debug' only raise log level; add
'_debug_full' to enable all the extra debug modes
* [4171105] repository.py (Repository._mbd_package_migrate): Bugfix:
Avoid repeated 'migration' when called w/o explicit version
* [6312148] api.py (Setup): Don't force 'Daemon start' after running
* [1a2731d] api.py: Add _Maintenance MixIn (lock && stop daemon), use
for both Setup and RemakeChroots
* [cca14f0] api.py (Setup): Add report counts for total setup+model
diffs
* [050c3dc] models/distribution.py (Distribution.__str__): Doc 'multiple
distributions fluke' && add 'id' to make distinguishable for the user
* [410bea6] api.py (Setup): Add preliminary-check: Fail on 'multiple
Distributions fluke'
* [1a5bd36] api.py (Setup): Update preset handling
* [7d37ec9] index.html, base.html: Move 'power' API call to main menu
* [d275a8d] models/daemon.py (Daemon): Don't 'power on' on activation
* [4c80a32] base|index|admin.html: Improved visualization && info for
power state
* [277fb1d] api.py: Add "test" repository for (Debian,Ubuntu) presets
* [525b2ca] api.py (doc): Update all argument doc strings to
consistently start capitalized
* [46a2dbb] devel (profiles): Better profile names for remote test setup
* [304758c] builders/index.html: Cleanup/simplify builders view
* [b757da9] models/gnupg.py (Remote.mbd_check): Not in remote status:
Choose slightly better exception wording
* [5eaf1c8] models/gnupg.py (Builders): Fix wrong call of mbd_check()
(&& simplify and document) (fixes building on remotes)
* [7f237a5] api.py (Wake): Change authorization: _Admin->_Staff
* [c2a2c78] models/gnupg.py (Remote): Don't implicitly wake on check;
instead, wake optionally for Builders instance
* [e6d036b] views.py (BuildersView): Automatically re-check remotes if
staff user is logged in
* [51a7f7e] api/*.html: Add custom HTML for power,cancel and retry API
calls
* [7126427] sbuild.py (SBuild.cancel): Improve: Add PID to logs, add
smart wait after terminate && kill as last resort
* [20b144f] models/*.py: Fixup all usages of obj.id -> obj.pk ('id' is
only available if model has a primary key field)
* [a5a02c7] api.py (Call.set_args): Drop debug logs per arg (way too
chatty, rather breaks debugging)
* [95d025a] api.py (Setup.Instance._get_obj): Add support to define
custom getter
* [7ee27be] api.py (Setup.Instance.diff): Add function doc
* [83b1017] api.py (Setup): Add custom AptKeyInstance: Support old short
keys in getter; always update 'key_id' (8) to 'long key id' (16)
* [33f084f] models/gnupg.py (GnuPGPublicKey.mbd_prepare): Always
implicitly update key_id to key_long_id
* [968d865] api.py (Setup.Instance): On update, set fields directly to
obj instead of QuerySet.update()
* [00aef08] api.py (SourceInstance): Do AptKeyInstances outside of
update() && clear apt_keys again on update
* [2c78bf8] api.py (Setup.Instance): Replace updated,created,pca
individual bool values by list of actions
* [a8e64c1] api.py (Setup): Distribution: Move PrioritySource,
Components outside of update()
* [0813365] api.py (Setup, DistributionInstance.update): Bugfix: Move
"archall fixer" code out of architecture loop
* [6594e85] includes/api/show.html: Use predictable datatable id (keeps
search setting per source)
* [738b9f2] mini-buildd-backup (--restore): Create mini-buildd user,
fail if exists
* [9d68a03] api.py (Setup --sources): Fix: Don't force only setup-known
codenames (we now have defaults)
* [bde2f91] manual/roadmap.rst: Add preliminary note about --debug
* [69f3297] api.py (Setup --pca): Always call with 'check' forced
* [dacedf6] sbuild.py (SBuild.run): Add LOG.info on sbuild start
-- Stephan Sürken <email address hidden> Sun, 19 Feb 2023 14:17:14 +0100
-
mini-buildd (1.9.116) unstable; urgency=medium
Summary:
* More HTML/usability updates
* Improvements to new setup system
Details:
* [402dd6c] views.py: Pimp default "Events" limit to 40
* [d8c5fe7] dist.py (Codename): Bugfix: Account for that 'release' from
DistroInfo may be None
* [a26c5fc] api.py (Setup.setup_repositories): Don't fail (just skip) if
there is an existing (source) instance we have no setup for
* [4986b0c] models/base.py (Model.mbd_diff): Add exception log when not
comparable (this rather is a bug)
* [d04078d] models/base.py: Better name mbd_message->mbd_msg_exception
* [c7c71bb] models/base.py: Add mbd_msg generic function && also use for
non-error messages
* [a75d812] includes/messages.html: Don't show all messages directly
(hide in <details> tag)
* [a882e81] api.py (Setup.setup_repositories): Notation fix: Add custom
extra_options directly
* [b4b34ab] api.py (Setup.get_or_none): Add helper function
* [f18044b] models/base.py (Model.mbd_diff): Allow compared obj to be
None
* [e38f92f] api.py (Setup.x_or_create): refactor, only change (including
create) on --update && allow obj=None
* [b96b40b] api.py (Setup): Some fixes to deal with obj=None
* [6a0f3f6] models/base.py: Rather use decorators to set action
descriptions
* [0e88968] models/base.py: Admin actions: Fixup code order for PC, PCA
* [b456f47] models/base.py: Update mbd_msg (django) to also log
* [7cc6d57] models/base.py (StatusModel).Admin: Add mbd_pca() helper
* [e882ac4] api.py (Setup.x_or_create): Add "dynamic update" support
* [45c8047] src/mini_buildd/api.py: Add dynamic update function for
Source
* [3c9032a] api.py: Add dynamic update function for Distribution
* [61dfdf5] api.py: Add dynamic update function for Repository
* [e78fc26] api.py: Drop mbd_pca_all()
* [204be70] api.py: Divide setup_repositories (+ *_layouts,
*_distributions)
* [4467744] api.py (sources, chroot, distributions): Refactor, iterate
args (not existing instances)
* [79db4f9] api.py(setup): Minor code cleanups
* [4326169] api/setup.html: Show primary key in summary
* [11e8c34] api.py (Setup.x_or_create): Add to diff when dynamic update
fails (instead of failing)
* [18abbb9] api.py (Setup.x_or_create): diff: If there is no existing
instance, use kwargs as key
* [0cb221b] api.py (Setup.setup_chroots): Don't fail if resp. Source
cannot be found (rather add error to result)
* [b2f2af9] api.py (Setup.setup_distributions): Don't fail if resp.
Source does not exists
* [281be23] builtins.py (mbd_api): Fix argument setting when called with
command instance
* [2ab4643] api.py (Call.*command_line): Add support to arbitrarily
exclude options
* [913b4c9] api.py (Setup.run): Exclude '--save' and '--update' in saved
setup command line
* [678e86c] api.py (Setup.Instance): Update to use Instance class
(refactor)
* [e2e6754] api.py (Setup): Move ``get_or_none`` helper to Base model
``mbd_get_or_none``
* [71ef0e6] api.py /refac): Replace ``x_or_create`` helper by
``Instance.run``
* [b7571b2] api.py (Setup.Instance): Add call instance as class variable
* [5526347] api.py (Setup): (refac) Drop update_args
* [2043caa] api.py (Setup): (refac) update() via inheritance
* [14d9911] models/base.py (StatusModel): Revert action decorators back
to monkey patching (only for django 3.2+)
* [9115b09] devel: Add convenience profile '_debian_all'
* [10923fb] control (mini-buildd): Drop dependency on lsb-base (now
empty compat package only -- fixes lintian error)
* [6b6de84] control (*-utils: Recommends): Add lsb-release (used in m-b-
bootstrap-apt)
* [9f97dac] devel (mbd_installdeps): Add lsb-release (used early in
devel)
* [d2e8ae4] api.py (Setup.Instance.__init__): Add identity &&
identity_hash
* [efa7dbb] api.py (Setup): Change argument '--update' from bool->str
("", "all", "<hash_id>,..")
* [1a4de5d] api.py (Setup.setup_chroots): (refac) Simplify loop
* [04559a5] models/base.py, api.py: Move Model.mbd_diff() to
Instance.diff()
* [4e3ce55] api.py (Setup.Instance.diff): Fix: Instantiate default
(compare) object from kwargs as well
* [9e15ec9] models/base.py (Model): Add helper mbd_get_fields()
(encapsulating django's _meta.get_fields())
* [7ff3c42] api.py (Setup.Instance.diff): Update: Diff (nearly) all
model fields && distinguish diff against setup && (model) default
* [0ae9e4e] api.py (Setup.Instance.__init__): Make 'defaults' non-
optional
* [497c0c4] models/repository|source.py: Fix get_apt_line() to feed
AptLine only the *name* of components, not the objects themselves
* [dff240c] models/*.py: Sync all '__str__()' of models to make them
more consistent
* [6aad6ac] api.py (Handshake.run): Rather run log_exception on error
(make log-debugging possible)
* [766137a] dist.py: SETUP: Move (suite) rollbacks into layout
* [84b1791] models/distribution.py(SuiteOptionInline) Fix: Show
'extra_options' (for rollback)
* [5b7ef1a] api.py (Setup.Instance): (refac) Proper naming
(kwargs->identifiers, defaults->options, model_class->model)
* [72c57c9] dist.py: Replace 'needs_uname_26' by 'chroot_options'
* [584dae5] dist.py: Update SetupSources or "identifiers, options"
* [62cda28] models/distribution.py (Distribution.__init__): Add
constructor to set default for "extra_options"
* [e5499d2] dist.py: Cleanup Distribution options
* [b315d76] dist.py: Fixup format for distribution and chroot options
* [da44f48] dist.py (SETUP): Update, simplify and consolidate notation
* [32bfcd5] dist.py (SETUP): Consistently add trailing newline for
"extra_options"
* [0094c5a] dist.py: Cleanup/simplify sbuild import
* [7deac6f] api.py (Setup.run): Protect from being run in parallel
* [705f963] api.py (Setup.setup_chroots): Simplify && create
Architecture object if needed
* [bfe9817] api.py (Setup): Diversify --update -> --update, --pca
* [755518a] api/setup.html: Improve layout && add calls to 'update, pca,
update+pca' global && for each instance
* [c01f519] api.py (Setup.Instance.__init__): Simplify notation, add
debug log
* [d2edbea] api.py (Setup._setup): Simplify code to have one _setup()
method only
* [8501f4a] api.py (Setup._check_codenames): Add pre-check for (given)
codenames with no setup
* [fd4b11f] devel (changelog): Prefix '.dev' to snapshot (timestamp)
version (PEP 440)
* [bc6d254] setup.py: Convert version to be PEP 440 compatible (fixes
error w/ p-setuptools 66)
* [e883200] api.py (Setup._setup): PrioSource: Fix location of instance
generation (i.e., should not be in apt_keys loop)
* [3a47f2f] api.py (Setup.Instance): Simplify, drop superfluous run()
* [d8c7405] api.py (Setup._setup.SourceInstance.diff): Add 'dynamic'
diff for "apt_keys"
* [fd774f3] mini_buildd.css (nav>ul>li:hover>ul): Make login menu text
align to right
* [7125510] api/setup.html: Fixup instance description && status display
* [e1dc5e8] api/setup.html: Switch to use datatables to display
instances
* [74bd65f] api.py (Setup.Instance): Simplify result: Just a list of
instance (info) dicts does fine
* [afdf18b] api/setup.html: Add separate columns for setup/default diff,
created, updated
* [4d0c4cf] api.py (Setup.Instance.diff): "fields" list per diff "type"
(setup or model)
* [ec79377] api/setup.html(diff columns): Improve wording; consistent
search string to accommodate w/ datatables search
* [230603c] api.py (Setup.Instance._add_m2m_diff): Add generic method
for m2m diffs
* [b26566e] api.py (Setup, DistributionInstance.diff): Add m2m diffs for
fields "components", "extra_sources"
* [cc1f0af] api.py (Setup._setup.RepositoryInstance.diff): Add m2m diff
for "distributions"
* [32dd9ac] api.py (Setup.Instance.__init__): Fix: Compute 'status' and
'diff' _after_ (potential) update or pca runs
* [194049f] api/setup.html: Add extra support to show per-instance
change URL (convenience)
* [0cda6c5] models/base.py (UnixTextField): Replace all TextFields by
this new custom field (normalizes newlines to UNIX)
* [6dad8bc] dist.py, models: Remove all trailing newlines from Model
defaults and setup
* [bc81ade] api.py (Setup.Instance.diff): Simplify code
-- Stephan Sürken <email address hidden> Sun, 29 Jan 2023 19:42:15 +0100
-
mini-buildd (1.9.115) unstable; urgency=medium
Summary:
* More HTML/usability updates
* Test and document "ongoing" handling (BUILDING, PACKAGING)
* Initial tests and improvements for new 'setup' feature
Details:
* [d30dc0e] dir.html: Avoid links to raw (static twisted default) dir
index && make text links always be "Download", icon links "View"
* [618fea6] dir.html: Add up (..) to dir index
* [9016daf] tags/datatable.html: better doc && somewhat nicer style for
reset workaround
* [857c808] mini_buildd/base.html: Rather show custom menu 1st (usually
keeps general menus on same place)
* [086a467] repositories/index.html: Fix: Don't show table when there
are no repos (e.g., after initial install)
* [8293ea9] web: Simplify HomeView to just show 'Ongoing Events'
* [81279bf] web: Simplify 'Events' && 'Builds' to not have an extra
header and menu
* [d71ca85] events/index.html: Consistent table id name
* [65cfa37] events.py: Drop "ongoing" run time flag workaround (no
longer needed)
* [9736378] api/show.html: DSC && CHANGES: Add DSC link to base version,
drop event links && consolidate code
* [b5ce6ea] manual/roadmap.rst: setup: Add sub-todo
* [70be1bf] manual(notation): Update section hierarchy to ``#*=-~``
* [dc0b444] manual/index.rst: Simplify && re-order toctree
* [9a1bf39] builder.py: Fix: Log ``BUILT`` event after build has
finished (not after successful upload)
* [f6d1068] events.py: Add per event "ongoing" template helper (enables
'ongoing' (blinking) display in 'EventsView')
* [6b74dcf] includes/events.html(cancel): Fix: Rather use 'ongoing'
shortcut, not calling function again
* [1b7bb59] includes/events.html: Add "retry" for orphaned PACKAGING as
well
* [543276d] manual/administrator.rst: Add section explaining the
'ongoing handling' on restart (or lack thereof)
* [e2907c2] manual/administrator.rst(Custom Event Hooks): Add version &&
minor fixups
* [9354b3b] api.py (Setup.x_or_create): Add _defaults var (handling
None-dict arg)
* [77eb017] api.py (Setup.x_or_create): Update obj creation/update code
(fixes: defaults would always be set, even w/o --update)
* [0ccff3a] api.py: Simplify code && json result
* [36394b7] api.py (Setup.x_or_create): Another refactoring of code
(fixes diff on --update)
* [9d0b8eb] api/setup.html: Add initial custom API 'setup' template
* [2c9f5ad] src/mini-buildd-backup (--restore): Rather default to "no"
&& add DANGER text before proceeding
* [446da0a] api/port.html: Reword "Event Queue"->"Ongoing Events"
-- Stephan Sürken <email address hidden> Fri, 06 Jan 2023 18:51:28 +0100
-
mini-buildd (1.9.114) unstable; urgency=medium
Summary:
* Documentation: Cleans up roadmap && admonitions
* API: Adhere to "newer RFC" for json, allowing for a cleanup &&
simplification using non-dict JSON results
* Another painful "HTML iteration" (make it less ugly)
Details:
* [be86ab8] manual/administrator.rst: Update apt-get update stall
phenomena hint
* [1057224] manual/administrator.rst: Update profiling hint
* [7ee2c76] builder.py (Uploader): Migrate ``self.failed`` to dict
* [a7339e4] events.html (BUILDING): Display "Upload failed" warning
* [57fd86b] events.html: Display key (as title of event row)
* [9b691a9] events.html: Rather use 'yesno' for ongoing class
* [34e9e32] administrator.rst: Constitute two items from atok roadmap as
bugs ;)
* [55ef38c] manual/roadmap.rst: Fixup "setup todo"
* [3d23b72] manual/roadmap.rst: Move SSL bug (from roadmap) to
Administrator's Manual && update doc
* [5992d8a] manual/roadmap.rst: Remove mbd-off/web bug (retests show
it's fixed now)
* [1d8cfe5] manual/roadmap.rst: Don't use admonitions for Open Tasks &&
Brainstorm
* [4b02fab] manual/roadmap.rst: Drop 'debconf/make ssl default' item
from brainstorm
* [1fa0d66] manual/roadmap.rst: Move (to admin manual) and update
"ssl/squeeze" bug
* [96da765] manual/roadmap.rst: Move RFC 5147 hint/note to (PlainFilter)
code
* [972045c] manual/roadmap.rst: Drop dataclasses brainstorm (not valid I
think)
* [8a26188] manual/roadmap.rst: Simplify django brainstorm order
* [13443b4] manual/roadmap.rst: Update && fixup 'Open Tasks'
* [30700bc] manual/_templates/layout.html: Make 1st line of any
admonition be bolder (via CSS)
* [9a9f2e9] manual/roadmap.rst: Admonitions: Downgrade all wrong "error"
admonitions (fixes the "bug" list)
* [21501c3] *.py, *.rst: Replace "important" admonition by "note"
* [863e8ad] src/mini_buildd/api.py: Update debmirror bug note
* [c227031] includes/tags/file.html: Rather use 'strong', not 'h4'
* [93d3857] mini_buildd.css: Add standard padding for section
* [5e2c49d] api/base.html: cli/plin menus: Make result sections
* [a5eea00] mini_buildd.css (section, aside): Make section borders thin
(was medium)
* [22fb30a] api/show.html: Simplify version menu (drop "More")
* [dda07ba] *.py (refactor): Add generic misc.json_pretty() && update
all code
* [6a04eaa] api/base.html: Menu: Just show json, not json or plain
* [c5225df] mini_buildd.css (nav ul): vertical-align=top
* [71f79e8] api.py(Command): Add with_output option for http_args(); add
url()
* [558e8ac] api/base.html: Add "URL" to menu
* [2a58dd5] API(plain): Replace __PLAIN__ special key in favor of method
inheritance
* [9c36569] manual/roadmap.rst: Add item to test/doc remotes handling
* [205c886] api.py (calls with plain support): Update json result to be
list of lines, not one big string
* [4cbdb45] api/source_header.html: Fix: Don't use shortcut var "source"
(defined elsewhere)
* [158b8a6] mini_buildd.css: Center 'mbd-grid-ll'
* [ef20e05] builtins.py: Add custom helper tag: mbd_repository
* [883e6b3] api/migrate.html: Add custom template for "migrate"
* [b5398b2] api/remove.html: Add custom template for "remove"
* [3c17349] api.py: Remove mixin '_Show' (no longer needed)
* [0da3e76] builtins.py (mbd_api): Move "output" option to end
* [73177c9] package.py: Fix "port" when no version is supplied
* [ce81ceb] package.py (port): Refac: Rather (more consistently) use
'to_version', not 'port_version' var name
* [a674d8f] package.py (_port): Rather return a dict, omit unneeded
'source' && add 'dsc_url' (API calls port, portext)
* [d342eb1] api.py (_Plain calls): Simply use a list as json result
* [0ec93c7] api.py (all port-like calls): Just use list (of dicts) as
result (drop superfluous "uploaded" key)
* [72920ff] package.py (_port): Revive "source" entry in port results
(convenient when checking results)
* [7fabfd2] api.py (KeyringPackages): Fixup postprocessing (after port
result change)
* [ac85b47] api.py (TestPackages): Fixup postprocessing (after port
result change)
* [7ed2358] api/port.html: Add custom template
* [9765e3b] api/port.html: Add custom templates for all port-likes
(portext, keyring-packages, test-packages) as link
* [d96400d] api/port.html: Don't include generic "source header" here
* [67e6035] port_ext.html: Fix link name
* [745b8e7] views.py (ExceptionMiddleware.error): Rather use
log_exception (so we see stacktrace on debug)
* [37893b4] views.py (APIView.get): Allow non-dict JsonResponse
* [9007aef] api.py (subscribe/unsubscribe): Simplify json result
* [cde5816] api.py (SnapshotLs): Simlify json result
* [9777d33] api.py (retry, cancel): Simplify json result
* [222d14e] api.py (Debmirror): Fix typo in docs
* [468cf45] mini_buildd.css (pre, code): Use 'break-spaces'
* [c8a6ab1] api.py (get_plain(), plain(), json_pretty()): Refactor
* [962da75] scripts: Where ``m-b-api`` is used together with ``jq``, use
--json
* [f407eb2] mini-buildd-bootstrap-apt (get_pub_key): Fixup when getting
pub_key via wget ('__plain__' is no more)
* [ea2d694] models/gnupg.py (Remote.mbd_prepare): No longer needed to
call get_plain() on API results
-- Stephan Sürken <email address hidden> Sun, 01 Jan 2023 16:36:00 +0100
-
mini-buildd (1.9.113) unstable; urgency=medium
This release mainly cleans up (debconf) templates, READMEs and various
other documentation; also changes handling of the default file (should
appease piuparts):
* [e4cee00] manual/administrator.rst: Add bug note about the rare "apt-
get update build stalled" phenomena
* [f32de6f] debian/mini-buildd.templates: Fix hint on (1.0.x)
'Quickstart' to new administrator's manual
* [949053c] mini-buildd.postinst: Don't mix quoting on options (' vs ")
when writing the default file (always use ")
* [e52316d] mini-buildd.postinst: Drop deprecated '--verbose' as default
option (now just empty)
* [35d974f] mini-buildd.default: Sync with the default postinst
(potentially) writes
* [f7bf531] mini-buildd.postinst (default file handling): Simplify: Just
always either write new line or replace
* [ee24ab1] mini-buildd.default: Clarify wording of comment
* [e805ef2] mini-buildd.postinst: Further simplify the default file
handling code
* [d26fca8] devel: Drop writing default file directly, rather do all via
debconf
* [855320a] devel (install): Use 'noninteractive' hardcoded for *.deb
install, as sudo arg
* [78963f5] mini-buildd.templates (admin_password): Description wording
clarifications
* [495712b] devel: Drop extra MBD_DEBIAN_FRONTEND (just directly set/use
DEBIAN_FRONTEND)
* [58896a0] devel (install): Empty out (old) options from default file
before dpkg-reconfigure
* [b40627a] devel (mbd_setupcert): Just always run 'create' (script
already does not overwrite itself)
* [fd065e1] devel (certificates): Setup certificates late (avoids perm
problems when mini-buildd user is missing) && only if needed
* [6afd7e7] devel (mbd_setupcert): Call browser/cert helper after
updating certs (not before any browser start)
* [f15c4b8] httpd.py (Events.mbd_ssl_workaround): Add setTimeout(None)
due to new findings w/ twisted 22.4
* [22e15f7] debian/mini-buildd.README.Debian: Update wording and link to
manual
* [8794e83] mini-buildd.README.Debian: Drop note on shm bug (fixed in
schroot, now an optional sbuild setup block snippet, documented there)
* [dc3ede3] mini-buildd.README.Debian: Drop emacs mode hint
* [f7574b8] src/mini-buildd: Update link to manual
* [86f23c9] devel (changelog): Fixup snapshot versioning (so it will be
> than the previous release)
* [dd6ed93] mini-buildd.templates (options): Improve wording, mention
options to get HTTPS
* [038eeca] manual/administrator.rst (Running encrypted): Improve and
complete section
* [73b4f4d] debian/po: Updates from debconf-updatepo
-- Stephan Sürken <email address hidden> Sat, 24 Dec 2022 12:10:45 +0100
-
mini-buildd (1.9.112) unstable; urgency=medium
Upload to unstable:
* Bug fix: "mini-buildd (build-)depends on cruft package.", thanks to
Peter Michael Green (Closes: #933751).
* Bug fix: "Python2 removal in sid/bullseye", thanks to Matthias Klose
(Closes: #937049).
Please wait for a '2.0.x release' for any production purposes. While no
serious problem is known, some mandatory testing (&& documentation)
is still outstanding, especially on
- upgrades from 1.0.x
- the new 'setup' system
Details:
* [cf90668] dist.py(setup): 'wheezy' needs 'apt-key-add' workaround
* [bf3d0e1] dist.py(setup): 'wheezy' needs 'apt-urold' workaround
* [8a646b2] builder.py,ftpd.py: Cosmetic: Update two now misleading code
comments
* [5f4bc16] builtins.py (Css): Add "failed" as possible sbuild status
(color)
* [3d837a9] builder.py: Add "Canceled-By" tag for explicit build
cancellation (by shutdown or user)
* [353cddb] manual/administrator.rst: Improve 'vsyscall hint'
* [d7743d6] repository.py (Repository._mbd_package_migrate): Fix
'migrate' when 'version' not given
* [b4734f5] events.html: Add 'rebuild' button on 'INSTALLED'
* [e4b9c0e] dist.py: Add Ubuntu 22.10 (kinetic)
* [a21af05] api/source_header.html: Use same header for ls && show
* [a96f655] api.py (Output): Add meta argument class for 'output'
* [ce187e4] builtins.py, api.html (mbd_api): 'output': Rather use
'Output' meta option instance than explicit HTML
* [ff6c6ea] api.py, tags/api_arg.html: Revive HTML 'select' for Choice*
arguments
* [fe3b5df] tags/api_arg.html: Fix includes of "checked" and "required"
for correct spacing
* [918f2b4] mini_buildd.js(mbd_api_call): Code (mostly style)
improvements
* [c8d37ee] api.html/js(API calls): Switch "confirm" to HTML only
* [fea4f2c] api.html/mini_buildd.js: Switch to "onsubmit/action" (drop
extra <script> section)
* [a119883] api/base.html: Fix missing <li> end tags
* [53dd3c3] api/base.html: Drop page/json recall buttons (rather
confusing && can may now be done via 'output' option)
* [ac24ac0] html/API: Use better names for 'output' option values:
"html", "html-snippet", "json"
* [9aed9bc] tags/api_arg.html: Fix "required" flag in forms
* [ad30c5c] api.py (Output): doc: Make clear that 'html-snippet' usually
means 'js-browser-popup'
* [2eba2c5] builtins.py (mbd_api): Put "output" on top (of optional
options)
* [863192c] builtins.py: Drop mbd_api_popup (fixed output to html-
snippet: confusing, only used twice)
* [665618b] builtins.py (mbd_api): Drop "output" option
* [e806b8e] api.py (Output argument): Trim down to "html", "json"
options (use "html-snippet" internally only)
* [cb34e7c] api/base.html: Improve text for CLI/json menu items
* [02dcd27] builtins.py (mbd_api): Drop 'title' option (not used)
* [a0425f8] api/ls.html: Fix: Add missing 'repositories' argument
* [79931f0] CSS/popup.html: Simplify popup (fixed position && size, no
centering)
* [51444ad] devel (tidy): Add test for API call 'show'
* [6f6f4db] api/ls.html: Fix missing 'repositories' arg for 'all'
* [dbb9c84] api/ls.html: Use section per repo
* [7683b09] mini_buildd.css: Misc padding/margin adjustments
* [0159b82] api/show.html: For 'show', simply put all repos into one
table
* [1c83a0f] mini_buildd.js: Hide popup (API results) on ESC
* [50d78d7] mini_buildd.css: Add background classes (1-4)
* [ac21437] api/base.html: Use bg-2 for base API header, bg-3 for
show/ls common header
* [3d8022c] devel(prepare-system): Add "arch-test" to list of pre-
installed packages
* [294d2a1] devel (prepare-system): Add "firefox-esr" to list of
preinstalled packages
* [9ef7873] devel (restart): Don't run 'mbd_status' in subshell (breaks
p-keyring password interaction on 1st run)
* [a618cd2] debian/po/: Integrate changes from debconf-updatepo
* [ca6b18e] debian/mini-buildd.NEWS: Move contents to manual's roadmap
document (only hinting there)
* [26f2fa2] devel: Fixup run-lintian helper
* [cf4e35e] debian/mini-buildd.NEWS: Use already existing version number
* [ae80b7a] Update lintian override info format in d/mini-
buildd.lintian-overrides on line 2, 4.
-- Stephan Sürken <email address hidden> Mon, 19 Dec 2022 17:58:52 +0100
-
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.
-- Stephan Sürken <email address hidden> Sun, 27 Mar 2022 18:57:41 +0200