Revive "quick filter" by using apt-xapian-index directly without ept#153
Merged
mvo5 merged 1 commit intomvo5:masterfrom Jul 10, 2025
Merged
Revive "quick filter" by using apt-xapian-index directly without ept#153mvo5 merged 1 commit intomvo5:masterfrom
mvo5 merged 1 commit intomvo5:masterfrom
Conversation
Users report the removal of the libept dependency caused loss of the "quick filter" bar which, reportedly, has better usability than Edit>Search feature for some users due to better relevancy of results. (Eg. try "apt" Search will return aapt as the first result whereas quick filter will return "apt" as first result as expected) It seems libept was hastily removed from Debian because of overall deprecation of debbugs, however here in synaptic none of the debbugs parts of libept were really used only the transitive dependency on libxapian-dev and two trivial API functions for xapian database handling where relevant. This commit refactors the code to depend on libxapian-dev directly and pulls in the trivial code to find the apt-xapain-index database file. See commit 21790e0 ("Build without libept") Closes: #1103351
mvo5
reviewed
Jul 10, 2025
Owner
mvo5
left a comment
There was a problem hiding this comment.
Thanks for working on this, this is super nice!
There is one small complication (unless I miss something of course) - the code in synaptic relies on "/usr/sbin/update-apt-xapian-index" which used to be a package (apt-xapian-index) but that is also removed now. So we would have to revive the functionality of that (its probably easy-ish as its also a thin wrapper around xapian (iirc)) but right now that part seems to be missing(?)
Contributor
Author
|
A revived`apt-xapian-index is already in NEW, I just forgot to mention it :-). |
This was referenced Jul 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Michael!
Users report the removal of the libept dependency caused loss of the "quick filter" bar which, reportedly, has better usability than Edit>Search feature for some users due to better relevancy of results.
(Eg. try "apt" Search will return aapt as the first result whereas quick filter will return "apt" as first result as expected)
It seems libept was hastily removed from Debian because of overall deprecation of debbugs, however here in synaptic none of the debbugs parts of libept were really used only the transitive dependency on libxapian-dev and two trivial API functions for xapian database handling where relevant.
This commit refactors the code to depend on libxapian-dev directly and pulls in the trivial code to find the apt-xapain-index database file.
See commit 21790e0 ("Build without libept")
Closes: Debian#1103351
Thanks <3
--Daniel