per-user send-pr defaults: ~/.send-pr.rc?
Ceri Davies
ceri at FreeBSD.org
Thu Apr 29 07:36:26 PDT 2004
On Wed, Apr 21, 2004 at 11:33:15AM +0200, Roman Neuhauser wrote:
> # ceri at FreeBSD.org / 2004-04-14 11:36:55 +0100:
> > On Wed, Apr 14, 2004 at 09:31:19AM +0200, Roman Neuhauser wrote:
> > > Would a patch for send-pr adding support for defaults handling using
> > > an rc file be welcome? If so, should I target send-pr as is in our tree,
> > > the one from the 4.0 tarball, or upstream cvs?
> >
> > I'd certainly be interested in looking at it. At the moment my plan to
> > upgrade is entirely {hub,www,freefall}.FreeBSD.org based - there seems
> > to be no pressing need to upgrade the distributed send-pr, so I'd target
> > the in-tree send-pr. If it should turn out that a client-side upgrade
> > is worth the effort then we can bring the patches forward (I had to do
> > the same for our local edit-pr hacks).
>
> I've used the attached patch to submit some PRs (65668 - 65680), and
> it was a relief.
>
> It's not commitable as-is (e. g. note -s/-S are swapped), I'd just
> like to know whether I'm on the right track.
Roman,
Apologies for the delay in responding - I meant to get to this much
sooner. I'm out of the country for a couple of weeks as of tomorrow so
any further replies will be delayed accordingly - I won't have any
email access while I'm there.
This looks really good so far to me. I'd recommend at first look that
the file be renamed .send-pr.conf (or just .send-pr), and perhaps an
option to ignore it would be useful too (I think most commands use -f
for that, which is already taken).
I'm slightly uncomfortable with allowing users to specify a default
priority and severity, but those fields are becoming useless anyway so
this may not be too much of an issue - I need to think about that a bit.
There's also a bit of churn in the variable names, but if this is
necessary for clarity (which looks the case) then it's a necessary evil.
Thanks again for working on this.
Ceri
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugbusters/attachments/20040429/ff5ab8d2/attachment.bin
More information about the freebsd-bugbusters
mailing list