Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command

2014-10-07 Thread Martyn Russell
On 06/10/14 14:51, Philip Van Hoof wrote: if (strcmp($name, control) == 0) { if (argv[2] in options for index) { use index for argv[1] } if (argv[2] in options for daemon) { use daemon for argv[1] } if (argv[2] in --hard,

[Tracker] Migrating tracker-utils/ into one 'tracker' command

2014-10-06 Thread Martyn Russell
Hi all, So I spent some time last week working on this. I said in some earlier conversations with the maintainers that I would like to take things back to basics a bit using a more git like approach to tracker so it becomes more powerful on the command line. Branch? --- As part of

Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command

2014-10-06 Thread Philip Van Hoof
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martyn, I like this idea a lot. Would it also be possible to make tracker-$name in argv[0] to be recognized by the new 'tracker' command's command line parsing to be the same as $name in argv[1]? Then for one release we could just make symlinks

Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command

2014-10-06 Thread Martyn Russell
On 06/10/14 13:12, Philip Van Hoof wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martyn, HI, I like this idea a lot. Would it also be possible to make tracker-$name in argv[0] to be recognized by the new 'tracker' command's command line parsing to be the same as $name in argv[1]?

Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command

2014-10-06 Thread Philip Van Hoof
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/10/2014 15:21, Martyn Russell wrote: Hi, In principal it's possible, but the question is more about where this is done. This is probably more of a packaging job than anything (other than 'tracker' itself handling it (which is trivial to

Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command

2014-10-06 Thread Tshepang Lekhonkhobe
This is all too excellent! Is there also tracker search and tracker stats? Also, after all this, I suppose there would only be 2 other executables... tracker-preferences and tracker-needle? ___ tracker-list mailing list tracker-list@gnome.org