remove breadsearch from bos #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have personally found no benefit from using breadsearch, other than hogging memory.
It should be removed and optional after install
Investigated, not implemented. Two blockers.
Blocker 1: the work is in the
bosrepo, which is not clean. This card is filed againstBreadway/breadsearchbut every change needed is inBreadway/bos, and that checkout currently has uncommitted local changes (build-local.sh,iso/airootfs/etc/calamares/post-install.sh,bos-live-setup,bos-session, plus a staged new systemd unit). Per the run's rules I do not touch a working tree I did not create, so I stopped here.Blocker 2: "optional after install" needs a decision. BOS has no established "optional component" mechanism that I can see. Options: a bakery optional group, a BOS Settings toggle that enables/disables the units, or just dropping it from the default install and leaving it installable via
bakery install breadsearch. That is a product call.Reference inventory (what "remove breadsearch from bos" touches, so the eventual PR is scoped):
iso/bread-lockfile.toml: line 37 (in a package array) and line 59 (breadsearch = "0.3.2"version pin)iso/packages.x86_64: line 210 (comment only)iso/airootfs/etc/skel/.config/hypr/autostart.json: line 13,breadsearch listenautostart entry ("enabled": true)iso/airootfs/etc/skel/.config/hypr/hyprland.lua: line 225, same autostartiso/airootfs/etc/skel/.config/hypr/scripts/system/autostart.lua: line 28, same autostartiso/airootfs/etc/skel/.local/share/applications/breadsearch.desktop: the launcher entryiso/airootfs/usr/local/bin/bos-update: line 14 (comment)iso/airootfs/etc/skel/.config/bread/modules/breadhelp-tour.lua: line 8 (comment)README.md: lines 24, 64, 246, 265, 302 andpackaging/arch/README.mdline 11 (docs)The autostart entries are already guarded with
command -v breadsearch >/dev/null, so if breadsearch just stops being installed by default they become no-ops rather than errors, which makes "drop from default install, keep installable" the lowest-risk path.Leaving in todo pending the call on blocker 2 (and the bos tree being clean).
Direction: option (a) - drop breadsearch from the default BOS install, keep it installable via
bakery install breadsearch."Removed and optional after install" reads most naturally as "not installed by default, add it back if you want". BOS has no optional-component framework, and building one (a bakery optional group, or a BOS Settings toggle that enables/disables the units) is scope creep for a removal ticket - and a Settings toggle is actually heavier here, since with breadsearch not installed the toggle has nothing to enable unless it is also paired with on-demand install. The autostart entries are already
command -v breadsearchguarded, so absence is a clean no-op, which is what makes (a) safe.Scope (in the
bosrepo, on afix/branch in a worktree offorigin/main- the main checkout has unrelated in-progress plymouth work, do not disturb it):iso/bread-lockfile.toml: remove from the package array (line ~37) and thebreadsearch = "0.3.2"version pin (line ~59)iso/airootfs/etc/skel/.config/hypr/autostart.jsonline ~13,hyprland.lualine ~225,scripts/system/autostart.lualine ~28: remove thebreadsearch listenautostart entriesiso/airootfs/etc/skel/.local/share/applications/breadsearch.desktop: remove the launcheriso/packages.x86_64line ~210 (comment),iso/airootfs/usr/local/bin/bos-updateline ~14 (comment),breadhelp-tour.lualine ~8 (comment): drop the mentionsREADME.md(lines ~24, 64, 246, 265, 302) andpackaging/arch/README.mdline ~11: update docs to reflect that breadsearch is no longer default and is available viabakery install breadsearchGet-right list:
bakery install breadsearchactually resolves against the live bakery index before writing docs that promise it. If breadsearch is not a standalone bakery package, either add the companion publish step or word the docs as "build from source".breadmillindexer unit / autostart - if there is one it needs the same treatment; do not remove breadsearch and leave breadmill running against nothing.bos-updatewill not remove breadsearch from existing systems. Say so in the PR description. Forced cleanup of existing installs would be a separatebos-updatechange, not this ticket.Moving to doing.
PR: Breadway/bos#12 (in
Breadway/bos, since that is where all the changes live; it will not auto-link on thisbreadsearchcard).Implemented option (a): breadsearch and its
breadmillindexer are dropped from the default BOS install and stay installable viabakery install breadsearch.iso/bread-lockfile.toml: removedbreadsearch+breadmillfromrequired_binsand the version pin90-bos-bakery.preset: removedenable breadmill.servicebreadsearch listenentries (alreadycommand -vguarded, so no-op without it)breadsearch.desktoplauncherpackages.x86_64,bos-update,breadhelp-tour.lua,post-install.sh: mentions droppedREADME.md+packaging/arch/README.md: documented the opt-in pathGet-right list from the direction comment:
bakery install breadsearchresolves:breadsearch0.3.3 is a live standalone package in the stable index bundling bothbreadmill-x86_64andbreadsearch-x86_64, shippingbreadmill.service(enable: true) with a post_install that starts it. Docs promise it safely.breadmillgot the same treatment (preset, lockfile, post-install comment).bos-updatedoes not remove it from existing systems.Verified:
autostart.jsonstill valid JSON,luac -pclean on the three Lua files,bash -nclean on the two shell files,scripts/ci-stage-bakery.pyparsesrequired_bins/[versions]generically. Full ISO build not run locally (needs Arch + root).No PR exists in the breadsearch repo for this, by design: the actual change lives entirely in Breadway/bos PR #12 (branch fix/search-4-drop-breadsearch-default), tracked there as BOS-12 on breadboard. I reviewed that diff there and it looks ready to merge (drops breadsearch/breadmill from the default BOS install, keeps it available via
bakery install breadsearch, docs updated). Since bos is on the release train, I'm not merging it and I'm leaving both issues in review. See the BOS-12 comment for the full verdict. Nothing further to do on this key; it will resolve when PR #12 lands.