Re: per-user send-pr defaults: ~/.send-pr.rc?

Ceri Davies <[email protected]>
Newsgroups gmane.os.freebsd.bugbusters
Message-ID <[email protected]>
On Wed, Apr 21, 2004 at 11:33:15AM +0200, Roman Neuhauser wrote:
> # [email protected] / 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
--
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAkRLmocfcwTS3JF8RAjtYAJ4p2MKx3rxkbSjFiIHIThJXcOBxQgCfb0no
bEb3kW3GrlgZSZ0pdOebx+0=
=wuuO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.