--user option

Иван Глушков gli.work at gmail.com
Tue Feb 27 09:16:19 PST 2007


On 2/27/07, Иван Глушков <gli.work at gmail.com> wrote:
> Hi.
>
> At present option for specifying user id ("--user" = "-u") may be used
> only to "act" and "new" command.
> To my mind it also should be applicable for "commit", "list" and "remove".
>
> Ivan.
>


I also reopened i#98 as filter "my" doesn't understand environment
variable $DITRACK_USER:

$ grep my etc/filters
0.5-my: Due-in=0.5,Status=open,Owned-by=$USER
my: Status=open,Owned-by=$USER
$ echo $USER
glushkov
$ echo $DITRACK_USER
gli
$ ./dt ls my
$ USER=gli ./dt ls my
80   gli      0.7      open   DITRACK_ROOT messes up the test suite
124  gli      0.6      open   svn:ignore an LMA (.ditrack)
137  gli      0.6      open   'act' is case-sensitive to issue names

This behaviour differs from that in our ChangeLog:

"It is now possible to specify user id through the '--user'/'-u' command line
option or by setting the DITRACK_USER environment variable (i#98)."

We should create some "synonym" for abstract "ditrack user" to use it
in the filters. Without it we can't ensure our announcement.
I suppose it can be $USER (as it actually is). Not in the meaning of
environment variable, but in the meaning of "ditrack user".

Your opinions?


More information about the Dev mailing list