Allow the name of the 'bugz' binary to choose the connection used#41
Allow the name of the 'bugz' binary to choose the connection used#41scottt wants to merge 1 commit intowilliamh:masterfrom
Conversation
The goail is to allow a user to create multiple symlinks to the 'bugz' binary e.g. 'gnomebz', 'kdebz' each corresponding to a connection. E.g. Bugzrc: [gnome] bugz-alias: gnomebz ... [redhat] bugz-alias: rhbz Command line usage: $ gnomebz ... # works like "bugz --connection gnome ..." $ rhbz ... # works like "bugz --connection redhat ..." Inspired by busybox style "multicall binaries".
|
I do not see the use case for this feature off the top of my head since it is possible to use shell aliases to accomplish the same thing. If, however, you feel that this feature is important, please comment. I am willing to be convinced. :-) |
|
Let me try to convince you then :)
In practice, if you leave it up to the user to set shell aliases I think > 80% of the time it's just left undone. |
|
I am willing to reopen this for consideration. There have been major changes in the code since you submitted the pull request, so please rebase it on current master. I am definitely sitting on the fence about this for a couple of reasons.
|
|
Re: interaction with connection setting in the default section of the config file and the --connection option Running |
The goail is to allow a user to create multiple symlinks to the 'bugz'
binary e.g. 'gnomebz', 'kdebz' each corresponding to a connection.
E.g.
Bugzrc:
[gnome]
bugz-alias: gnomebz
...
[redhat]
bugz-alias: rhbz
Command line usage:
$ gnomebz ... # works like "bugz --connection gnome ..."
$ rhbz ... # works like "bugz --connection redhat ..."
Inspired by busybox style "multicall binaries".