File bundlewrap.changes of Package bundlewrap
-------------------------------------------------------------------
Thu Feb 26 08:40:21 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 5.0.2:
* fix bw --version reporting "5.0.0" for the "5.0.1" release due
to an incomplete release process
- update to 5.0.1:
* when a metadata reactor does not correctly return a dict, the
exception's stack-trace shown now shows which reactor on which
bundles caused the error via an error_context
* when a metadata reactor raises an ItemDependencyError because
of circular dependencies, the exception now also shows which
node caused the error
* since 5.0.0, canned actions in items will inherit the tags of
the item itself. 5.0.1 introduces a new attribute
canned_actions_inherit_tags (defaulting to True) to optionally
disable that behaviour
* fixes an issue with the !group:my_group filter actually
returning all nodes in the group not the inverse
* add documentation on the correct format of the bcrypt salt
format
-------------------------------------------------------------------
Fri Jan 30 10:21:45 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 5.0.0:
* a user's identity now automatically includes the Git branch
name (BACKWARDS INCOMPATIBLE)
* support for svc_upstart items has been removed (BACKWARDS
INCOMPATIBLE)
* hashing (files, node hashes, ...) now uses sha256 instead of
sha1 (BACKWARDS INCOMPATIBLE)
* BW_SCP_ARGS no longer defaults to the value of BW_SSH_ARGS,
because these two programs use different sets of arguments
(BACKWARDS INCOMPATIBLE)
* exit with an error if -s selectors don't match anything
(BACKWARDS INCOMPATIBLE)
* repo.nodes_matching() throws NoSuchTarget when expressions
don't match anything (BACKWARDS INCOMPATIBLE)
* the "Running hooks ..." line is more verbose, bw calls your
hooks differently (BACKWARDS INCOMPATIBLE)
* items: get_auto_deps() has been removed, always use
get_auto_attrs() now (BACKWARDS INCOMPATIBLE)
* dependency on passlib has been removed, this affects several
hashing algorithms (BACKWARDS INCOMPATIBLE)
* the output of bw items was harmonized over all subcomannds
(BACKWARDS INCOMPATIBLE)
* the deprecated API node.metadata_get() (note the underscore)
has been removed (BACKWARDS INCOMPATIBLE)
* canned actions inherit tags (BACKWARDS INCOMPATIBLE)
* bw test no longer ignores some exit status codes of test_with
(BACKWARDS INCOMPATIBLE)
* item selectors in bw lock -i ... are now verified and raise an
error if they match nothing (BACKWARDS INCOMPATIBLE)
* MetadataUnavailable is raised instead of KeyError when
metadata.get() cannot find the requested metadata key
(BACKWARDS INCOMPATIBLE)
* Item.display_dicts() replaced by Item.display_on_fix() and the
keys argument is a set now (BACKWARDS INCOMPATIBLE)
* bw lock add's warning when there already are locks always uses
a pager now (BACKWARDS INCOMPATIBLE)
* metadata objects no longer try to behave like dicts, you must
use get() now (BACKWARDS INCOMPATIBLE)
* terminology: cdict and sdict have been renamed to
expected_state and actual_state, and they need @property now;
this affects custom items (BACKWARDS INCOMPATIBLE)
* metadata reactors now raise an exception when they do not read
any metadata; users should use defaults instead (BACKWARDS
INCOMPATIBLE)
* directory and file items auto-depend on corresponding
zfs_dataset items; users should remove manual dependencies
* the bundles/ directory is required to be present for bw to
consider a directory a bw repository
* fixed mkdocs warnings
* removed unused attribute can_login from postgres_roles.py
* various documentation improvements
* introduce BundlewrapError as the new base exception class for
the project to standardize error handling
-------------------------------------------------------------------
Thu Nov 6 09:39:00 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.24.0:
* added support for numeric UIDs and GIDs (by prefixing with +)
(Documentation for file item)
* added public api for getting a list of nodes matching various
selectors (Documentation for python API)
* added support for "magic strings" (Documentation for TOML usage)
* replaced usage of bcrypt via passlib with calling bcrypt directly
* fixed a bug where routeros items could not be created if dynamic
was in the list of filters
* fixed a bug in file items where a tem of content_type download
would successfully apply, but tests might fail
-------------------------------------------------------------------
Wed Jun 18 11:49:58 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- add missing packaging dependency
-------------------------------------------------------------------
Thu Jun 5 07:23:33 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.23.1:
* fixed name of new command: rename bw generate_completions to
generate-completions
* fixed order of .bw_shell_completion_targets file, must always be
sorted
* fixed position of generate-completions in help output
-------------------------------------------------------------------
Tue Jun 3 08:33:06 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.23.0:
* added support for shell autocompletion using argcomplete
* added bw items --blame
* defaults for BW_NODE_WORKERS are now consistent across all of
bundlewrap
- This especially means that bw run and bw ipmi will now also use
4 (four) workers by default if you did not setBW_NODE_WORKERS
manually
* IOManager can now be used as a context manager
- That means you can now do with io: ... instead of having to use
try: ... finally:
* added job information for running unless actions
* added bw lock show --hide-not-locked
* fixed bw repo create so TOML nodes work out of the box
* removed dependency on deprecated pkg_resources for python >= 3.10
-------------------------------------------------------------------
Thu Mar 20 12:14:41 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.22.0:
* fixed a bug where the original signal handlers were not
restored on exit
* fixed a bug where io could get (de)activated multiple times
* add tab completion to bw debug
* added better debug messages for missing faults in files
* added warning on bw lock add if node already contains other
locks
* add history saving and loading to bw debug
* improve handling of ssh connections in git_deploy items
* add bw ipmi
* DOCS: fix documentation for metadata.py
-------------------------------------------------------------------
Wed Jan 1 21:14:53 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- new package bundlewrap: Config management with Python