Commit Graph

40 Commits

Author SHA1 Message Date
Eitan Adler
56ac0dd99a Add support for the "&" character in usernames.
Charlie & finally has his last name.

PR:		gnu/37910
Submitted by:	Harry Newton <harry_newton@telinco.co.uk>
Approved by:	cperciva
MFC after:	1 week
2012-10-22 03:41:19 +00:00
Philip Paeps
3a787f042c Don't lie about saved reports.
PR:		gnu/89777
Submitted by:	edwin
MFC after:	1 day
2007-06-02 18:06:08 +00:00
Philip Paeps
089d90279a Fix vim syntax highlighting. Vim complained about the (comment). The syntax
file is also called "sendpr", not "send-pr".
2006-11-01 12:13:08 +00:00
David E. O'Brien
9758b8d802 Add vim syntax highlighting support to the send-pr(1) utility.
PR:		35333
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
2005-10-24 01:36:16 +00:00
Ceri Davies
3f83bced70 Use a safe temporary file for saving out the PR if send-pr is
interrupted.

MT5:	7 days
MT4:	7 days
2004-09-14 20:30:35 +00:00
Ceri Davies
aca4a77119 Attempt to save the last dregs of emacs users' sanity by saving the
contents of the PR when an interrupt is received during the editor
session.  This stops the use of ^G from deleting a filled PR from
underneath the user.

PR:		bin/59201
Submitted by:	Heikki Suonsivu <hsu@evoluutio.bbnetworks.net>
MFC After:	2 weeks
2003-11-12 23:08:23 +00:00
Ceri Davies
9432b62eb6 Since we do not honour the Confidential: field, and as an attempt to
decrease the number of misfiled PR submissions in general, do not
allow users to send a PR that contains errors.

Discussed with:	core
2003-11-02 17:35:33 +00:00
Ceri Davies
9242daac21 Back out revision 1.32; it attaches the files in the wrong section of the PR. 2003-08-11 19:41:14 +00:00
Ceri Davies
507c0355a3 Have the -a and -f options work together.
PR:		misc/40057
2003-08-11 19:32:19 +00:00
Dag-Erling Smørgrav
dbd7434863 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
Dima Dorfman
caab5f4f7f The -a switch didn't cause send-pr to attach the specified file if the
PR template was obtained from the environment variable $PF_FORM.

PR:		34831
Submitted by:	Mike Makonnen <mike_makonnen@yahoo.com>
2002-03-09 04:29:00 +00:00
Dag-Erling Smørgrav
5e56d86768 Add some verbiage to the comments at the top of the PR template:
- point at the FDP article rather than GNU's send-pr documentation
 - warn the user that PRs are public information and will be published in
   mailing lists and on the web
 - suggest that the user contact security-officer@ directly if the report
   concerns sensitive security issues.
2002-02-18 09:13:44 +00:00
Crist J. Clark
57d04f4edc Fix what was a pointless conditional. Use $GCC_EXEC_PREFIX if
/etc/gnats does not exist.

PR:		gnu/33682
Submitted by:	Alan Eldridge <ports@geeksrus.net>
2002-01-10 07:43:38 +00:00
Nik Clayton
682d574173 Note that submitted patches are assumed to be under the same license as
the file they patch.
2001-08-20 12:52:59 +00:00
Dima Dorfman
cfd1472cef When processing -a, strip off the path of the argument before copying
it to the output.

Reviewed by:	alex
2001-06-18 21:57:24 +00:00
Dima Dorfman
8a89f037e9 Add an -a option which will make send-pr copy the specified file into
the Fix: section.  Binary files (as determined by file(1)) are
uuencode'd.

Submitted by:	alex
2001-06-17 00:35:46 +00:00
Dima Dorfman
217c0f89e3 Don't allow the user to change the subject; instead, always generate
it from the Synopsis field.  There's no reason for the subject to be
different, since all that does is cause confusion.  Users may get
confused because they may think the subject and synopsis are supposed
to be different, and developers may get confused because it may look
like there are two different problems.

Requested by:	ru
2001-06-07 00:05:19 +00:00
Dima Dorfman
5544e8e700 Put the originator's full name in the From and Reply-to fields, and
stick their username (which sendmail will make into an e-mail address)
inside '<>'.  Sendmail will still DTRT with this, and it conveniently
puts the submitter's name and e-mail address on one line, just like it
should be after "Submitted by" in a commit message.
2001-06-03 02:40:37 +00:00
Dima Dorfman
d143193363 Use pw(8) instead of grep'ing through /etc/passwd. This fixes
automatic filling of the "Originator" field for NIS users.

PR:		24372
2001-05-24 03:50:55 +00:00
Nick Hibma
6a75465ff3 Assume that the submitter knows what he is doing and order the
suggested actions accordingly. S)end should be the first one.
2001-01-07 18:42:28 +00:00
Steve Price
fa99586d3a Add two new classes of problem reports primarily for the Ports Collection:
- update: For submitting non-maintainer updates/changes
	- maintainer-update: For submitting maintainer updates/changes

The intent is to make it easier to spot maintainer sactioned or submitted
updates to ports though it might also be useful for userland code that is
maintained by someone that is not a FreeBSD committer.

Submitted by:	nbm and many others
2000-10-29 22:11:39 +00:00
Steve Price
0da088c1e6 Update to version 3.113. Major changes were to incorporate FreeBSD-
specific changes into the original distribution (although sometimes
with a slightly different approach) and to add two commandline
options to send-pr(1):

	-c	which allows you to specify an address to CC this
		PR to
	-s	allow the severity to be specified on the commandline

PR:		17922
2000-10-29 22:05:52 +00:00
Peter Wemm
6cd729e985 Stop the freebsd hardwired version of send-pr from requesting
submitter-id's and try and stop people sending 'Confidential: yes' PRs.
The gnats database is public.
2000-09-25 19:37:55 +00:00
Steve Price
8e47c536c2 Don't allow people to create new PRs with a 'wish' class.
Requested by:	Sheldon Hearn <sheldonh@uunet.co.za>
2000-05-24 14:40:25 +00:00
Nik Clayton
64b74cc439 Only set $MAIL_AGENT if it isn't already defined in the environment.
No idea why this was sent in as a docs bug. . .

PR:             docs/17014
Submitted by:   Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-04-30 22:48:49 +00:00
Steve Price
c38a7d5ebf Add a new wishlist category. 2000-04-18 15:03:34 +00:00
Sheldon Hearn
26d052cf1c Fix unsafe tempfile creation. This file is already off the vendor
branch.  Although this problem has been reported to the GNU folks,
it's unlikely that any solution they may come up with will involve
the use of mktemp(1).

PR:		16942
Submitted by:	Colin Phipps <crp22@cam.ac.uk>
2000-04-03 09:49:49 +00:00
Chris Costello
d4f6f2f108 Remove superfluous tab in `Fix:' field.
Cosmetic, and done mostly for consistency.
1999-09-02 12:00:49 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Steve Price
8cdd7f4776 Missed a '/' in the last commit.
PR:		10909
Submitted by:	Yasuhiro Fukama <yasuf@big.or.jp>
1999-04-01 19:42:09 +00:00
Steve Price
18f0b5e634 Defer the expansion of $PATTERN until it has a useful value and not
one that may have existed in the user's environment.

PR:		6795
Submitted by:	Greg Lehey <grog@lemis.com>
1999-03-24 17:06:47 +00:00
Paul Richards
53b27391b0 Remove "support" class since we don't provide support services to users. 1997-06-07 23:46:48 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Joerg Wunsch
8b07755b31 Various fixes and FreeBSD modifications:
. remove the blubber about `submitter-id's from the man page, we don't
  use them,
. use REPLY_TO or REPLYTO in preference over LOGNAME as the value for
  the Reply-To address (closes PRs 1471 and its duplicates 1472 and 1823),
. don't abuse ~/.signature as ORGANIZATION, this is almost always
  useless blunder,
. actually list the Categories again, instead of xrefing to ``see
  above'' (closes PR 1835),
. check the Synopsis field for being not empty,
. make the mail Subject the same as Synopsis if left blank (closes
  PR 1209).

The remaining open send-pr related PRs (184 and its duplicate 1047,
and 1415) are pilot errors or local hardware problems.
1996-10-19 21:42:40 +00:00
Poul-Henning Kamp
ffc232881f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
Garrett Wollman
5e21ecefa9 Completed last fix: don't use backquotes in here-documents; it confuses
ash.  (The backquotes were only used to implement a slower version of
${foo-$bar} anyway.)
1994-10-22 23:47:21 +00:00
Garrett Wollman
469247c74c I really, really don't want to know why adding a blank line between
__EOF__ and a done command lets fixes this script for ash...
1994-10-22 23:32:01 +00:00
Paul Richards
20c894b6fb Fix some bad spacing in send-pr.sh that stopped mail working,
changed the category selection.
Submitted by:	Paul Richards
1994-08-29 06:15:30 +00:00
Paul Richards
096e440005 Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:
1994-08-29 04:02:54 +00:00