Skip to content

config: fix stale defaults left by the liblore migration

Baptiste Le Duc tools 1 version In review

Get series with b4
b4 am 1789130860.8631fc262581453bbf619ec5b2062170.1a09082676a000c4f3@vates.tech change-id 20260911-fix-liblore-migration-0242bcf9f2d5

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3config: deprecate unused b4.searchmask settingdocs/config.rst src/b4/__init__.py+5 -10 replies
2/3docs: correct stale defaults in the configuration referencedocs/config.rst+3 -30 replies
3/3config: take get_lore_node() fallbacks from DEFAULT_CONFIGsrc/b4/__init__.py+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [b4 PATCH 0/3] config: fix stale defaults left by the liblore migration

Since db4cd69 ("Migrate lore access to liblore library"), search queries are built by liblore from the server address in b4.midmask, and nothing reads b4.searchmask any more. Setting it has no effect, and b4 prints no warning to say so.

The configuration doc drifted the same way: three documented defaults no longer match DEFAULT_CONFIG so fix them.

This series:
1: config: deprecate unused b4.searchmask setting 2: docs: correct stale defaults in the configuration reference 3: config: take get_lore_node() fallbacks from DEFAULT_CONFIG

No functional change beyond b4.searchmask no longer appearing in the default config, which is already ignored.

---
Baptiste Le Duc (3):
config: deprecate unused b4.searchmask setting
docs: correct stale defaults in the configuration reference
config: take get_lore_node() fallbacks from DEFAULT_CONFIG

 docs/config.rst    | 11 ++++++++---
 src/b4/__init__.py |  9 ++++-----
 2 files changed, 12 insertions(+), 8 deletions(-)

---
base-commit: db0b7456d0cd606f397e18fa0c589fc621fa57b5
change-id: 20260911-fix-liblore-migration-0242bcf9f2d5

Best regards,

Signature · 1 line
Baptiste Le Duc <[email protected]>