Bug#1108737: Please also index metadata like file ownership

2025-07-05 Thread Steinar H. Gunderson
On Sat, Jul 05, 2025 at 01:12:36PM +0200, Andras Korn wrote:
> Why not keep tag it helpwanted instead and leave it open? Maybe someone will
> bite. "wontfix" sounds very final, as if you were against the feature in
> principle.

I doubt I would accept a patch for it, TBH. Someone could fork and do
whatever they'd want, of course.

/* Steinar */
-- 
Homepage: https://www.sesse.net/



Bug#1108737: Please also index metadata like file ownership

2025-07-05 Thread Andras Korn
On Fri, Jul 04, 2025 at 01:40:42PM +0200, Steinar H. Gunderson wrote:

Hi,

> > it has often happened that I wanted to efficiently find files based on not
> > their name, but their metadata -- such as who owns them, or when they were
> > modified, or some combination thereof.
> > 
> > Of course, find(1) can do all that (albeit very slowly), but since updatedb
> > scans all directories anyway, it might as well record and index this
> > information as well, in addition to the filenames.
> > 
> > Perhaps, instead of inventing a new syntax, include a plocate-find that
> > supports the same syntax as find(1)?
> 
> Hi,
> 
> Thanks for the feature request.
> 
> Given the amount of work and the increased size of plocate.db, I doubt I will
> be doing this. I can close this bug or mark it as wontfix, depending on how
> visible you want it. :-)

Why not keep tag it helpwanted instead and leave it open? Maybe someone will
bite. "wontfix" sounds very final, as if you were against the feature in
principle.

András

-- 
   I, for one, am a great fan of Roman numeral puns.



Bug#1108737: Please also index metadata like file ownership

2025-07-04 Thread Steinar H. Gunderson
On Fri, Jul 04, 2025 at 11:07:39AM +0200, Andras Korn wrote:
> it has often happened that I wanted to efficiently find files based on not
> their name, but their metadata -- such as who owns them, or when they were
> modified, or some combination thereof.
> 
> Of course, find(1) can do all that (albeit very slowly), but since updatedb
> scans all directories anyway, it might as well record and index this
> information as well, in addition to the filenames.
> 
> Perhaps, instead of inventing a new syntax, include a plocate-find that
> supports the same syntax as find(1)?

Hi,

Thanks for the feature request.

Given the amount of work and the increased size of plocate.db, I doubt I will
be doing this. I can close this bug or mark it as wontfix, depending on how
visible you want it. :-)

/* Steinar */
-- 
Homepage: https://www.sesse.net/



Bug#1108737: Please also index metadata like file ownership

2025-07-04 Thread Andras Korn
Package: plocate
Version: 1.1.23-1
Severity: wishlist
Tags: upstream

Hi,

it has often happened that I wanted to efficiently find files based on not 
their name, but their metadata -- such as who owns them, or when they were 
modified, or some combination thereof.

Of course, find(1) can do all that (albeit very slowly), but since updatedb 
scans all directories anyway, it might as well record and index this 
information as well, in addition to the filenames.

Perhaps, instead of inventing a new syntax, include a plocate-find that 
supports the same syntax as find(1)?

Thanks!

András

-- System Information:
Debian Release: 13.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (350, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: 6.12.33+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

-- 
  Smile... people will wonder what you've been up to.