On Tue, Mar 31, 2026 at 3:28 PM Johan Corveleyn <[email protected]> wrote:
>
> On Mon, Mar 30, 2026 at 11:54 PM Timofei Zhakov <[email protected]> wrote:
> >
> > On Mon, Mar 30, 2026 at 10:49 PM Daniel Sahlberg
> > <[email protected]> wrote:
> > >
> > > Hi,
> > >
> > > I love the idea!
>
> +1 :-)
>
> > > Den mån 30 mars 2026 kl 22:00 skrev Timofei Zhakov <[email protected]>:
>
> <snip>
>
> > >> There are also a few issues we might face when implementing this feature;
> > >>
> > >> 1. It currently loads items pretty slowly; Initially I used the 
> > >> svn_client API.
> > >>    However, it creates a new ra_session per each call. I believe it would
> > >>    be better to switch to using svn_ra directly.
> > >>
> > >> 2. We might load the tree recursively for faster navigation between
> > >>    directories. This would also allow fuzzy searching. But it makes the
> > >>    operation unbounded.
> > >
> > >
> > > I would prefer not loading the whole tree at once, but rather on-demand. 
> > > Try loading ASF's main repo recursively..
> > > I think TSVN RepoBrowser loads only as much as it really needs and then 
> > > on-demand loads everything else.
> >
> > That's true. It could be the fastest way to reach the rate limits of
> > all ASF, the network provider, and run out of swap space at the same
> > time.
> >
> > But it works for either smaller trees or by limiting the amount of
> > items to load. I really want to get fuzzy-searching in some way...
>
> I'm not sure what you mean with 'fuzzy-searching', but do you know
> about the --search option for 'svn ls'? This was introduced in 1.10
> (with server-side filtering if you have a 1.10 server, or client-side
> filtering if you have an older server) [1]
>
> So we can have commands like 'svn ls $URL --recursive --search
> "readme*"' which are executed efficiently on the server right now.
> Maybe the syntax for --search is a bit limited currently (simple glob
> patterns, cannot indicate case sensitivity, ...) so that could
> probably be improved.
>
> I would suggest that, if you want to extend the search possibilities
> for filenames, perhaps you can build on this existing --search
> functionality, and extend it, so that command invocations of 'svn ls'
> might benefit as well. And then have your TUI use the same ra calls
> for searching.
>
> [1] https://subversion.apache.org/docs/release-notes/1.10.html#ls-search
>
> <snip>

By "fuzzy searching" I mean filtering a list of names by a specific pattern.
For example, tools like fzf will do a search in a filesystem directory. There
is a similar thing in the VisualSVN web interface (quick matches/jump to list).
TortoiseSVN log browser allows filtering log messages the same way.

I didn't know that 'svn list' supports server-side filtering. I think
it would be useful here.

Thank you for mentioning that!

> > > I'm +100 for this idea, however I won't add much help myself. My time is 
> > > severely limited and my current priorities are the 1.15 release and the 
> > > proxy-fixes that has been sent to the list. Sorry to not be of more help 
> > > here.
> >
> > I think "+100 let me add a few ideas and share my personal experience"
> > is the kind of help that is needed. Thank you so much for sharing!
>
> Same for me :-). I like the idea, and might be able to offer some
> feedback here and there, but won't me much help beyond that, sorry.
>
> --
> Johan

Awesome! Thanks!!


--
Timofei Zhakov

Reply via email to