Re: [Tracker] URGENT: Mentor for GSOC
- From: Martyn Russell <martyn lanedo com>
- To: kunaal jain <kunaalus gmail com>
- Cc: "tracker-list gnome org" <tracker-list gnome org>
- Subject: Re: [Tracker] URGENT: Mentor for GSOC
- Date: Wed, 25 Mar 2015 06:26:59 +0000
On 25/03/15 05:56, kunaal jain wrote:
Hi Martyn,
Hi,
CCd the list, given the suggested work below...
I have been trying to contact Philip from last 5 days, but he has not
checked his mailbox, I suppose. I have asked him to do the same.
He is normally quite responsive.
You mentioned sometime back about adding a command tracker add <file
name>. Can you tell me more details about it? I will work on it.
Yea, so right now adding or removing both "configured locations to be
indexed" and "content indexed" is not really that easy using the command
line.
You actually can add a file or directory to be indexed using:
$ tracker index -f /path/to/file
But I would like to have a:
$ tracker add /path/to/file
and
$ tracker rm /path/to/file
Basically, I want both "INDEXING" and "CONFIGURATION" functionalities
through the add and rm commands, but I am not sure which should be the
default without additional command line switches. I think people are
more likely to want to index content than update their config, so
perhaps we make it:
$ tracker add --config PATH # UPDATE CONFIG
$ tracker add PATH # INDEX
and
$ tracker rm --config PATH # UPDATE CONFIG
# tracker rm PATH # INDEX
Importantly, we have this "recursive" feature for configured locations
too, so we would need an additional flag to separate single or recursive
locations. I would say recursive should be the default. I would be nice
to have --depth 2 or something like that but it's quite an
implementation to do that for depths outside 1 or MAXINT.
I also realised the other day, we don't have a way to easily show the
configured locations. So we could have a:
$ tracker index --config
OR
$ tracker info --config
I'm not sure which makes more sense, probably the former.
Perhaps?
I am open to suggestions here from others (on the mailing list too). I
take my inspiration from the Git command line which I really like to use.
--
Regards,
Martyn
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]