16 Commits

Author SHA1 Message Date
cyeh%bluemartini.com
890fb07cef fix submitted for 42809: bug_email.pl doesn't allow for priority = 0
patch submitted by brad@xyu.dhs.org (Brad Sarsfield)


git-svn-id: svn://10.0.0.236/trunk@77651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:47:17 +00:00
seth%cs.brandeis.edu
51985fa46e fixed bug where the everconfirmed field was not being properly set via a bug_email.
git-svn-id: svn://10.0.0.236/trunk@63416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 23:32:49 +00:00
seth%cs.brandeis.edu
df3d8f7f28 Added a bugzilla.procmailrc as a sample procmailrc file
bugzilla_email_append.pl calls processmail.pl after writing out the changes.


git-svn-id: svn://10.0.0.236/trunk@63087 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:39:11 +00:00
seth%cs.brandeis.edu
9697f05efa A few changes ...
1. BugzillaEmail.pm is a (kinda, sorta) module which is going to hold the various code which is common between all the scripts which access bugzilla via email.

2. bug_email.pl uses this module

3. bugzilla_email_append.pl is a mostly ready script which will append messages to existing bugs.


git-svn-id: svn://10.0.0.236/trunk@63074 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:29:49 +00:00
seth%cs.brandeis.edu
26515dd429 updated to better reflect reality in terms of recent changes to bug_email.pl.
git-svn-id: svn://10.0.0.236/trunk@62989 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:43:48 +00:00
seth%cs.brandeis.edu
10f624236e * this adds in DEFAULT_PRODUCT and DEFAULT_COMPONENT functionality to the
bug_email.pl script.  See comments in the script itself for how it works.


git-svn-id: svn://10.0.0.236/trunk@62318 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:39:38 +00:00
terry%mozilla.org
eba0607a76 Submission by Klaas Freitag <freitag@suse.de>.
git-svn-id: svn://10.0.0.236/trunk@62312 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 17:36:48 +00:00
seth%cs.brandeis.edu
3c86f1bd47 This implements canonical email address transformation. i.e., you have the option of setting up bug_email.pl to search the profiles database for a username which has the same username (before the @) same username and base domain (seth@cs.brandeis.edu = seth@job.cs.brandeis.edu) or identical email address (old behavior) based on the From email address. See the code for a more sensical description.
git-svn-id: svn://10.0.0.236/trunk@60635 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 14:39:47 +00:00
seth%cs.brandeis.edu
abd4179663 o this is a minor step towards getting canonical email addresses to work, and not via a gross hack (the script with a gross hack is in use in a production environment, so ...)
Anyways, this address the findUser() sub and email transforms of none, base domain, and name only.  base_domain is not properly implemented yet.  an email transform of none does an exact match on email addresses in the profiles table.  A name only transform does a regular expression match (via mysql's RLIKE operator) on the name portion of the address (i.e., seth from seth@job.cs.brandeis.edu).  This is sloppy, but useful in an environment where there are only a few users.

the base_domain is next, probably tomorrow.  I need to figure out how to implement it first.


git-svn-id: svn://10.0.0.236/trunk@60618 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 02:16:11 +00:00
seth%cs.brandeis.edu
e350e961cf this is the initial checkin of the bug_email.pl script into the bugzilla cvs tree under the contrib directory. This is not my code, but I'm championing its maintanence right now, since I'm using and hacking on it heavily. The list of contributors can be found in the file itself.
Changes I've made :
- updated to the newest CVS pull of bugzilla
- works out of contrib/bugzilla
- put in the MPL license header

Directions for use are in the file itself.  Essentially, you put in a procmailrc entry which cats the message to this script.

Changes coming in the near future ...

- canonical email transformation (i.e., seth@job.cs.brandeis.edu == seth@cs.brandeis.edu)
- default product and component (i.e., if you don't specify a product and component, it goes into a PENDING product)
- querying a bug over email
- appending a bug over email
- keywords over email
- use the globals.pl parameters functionality to edit and save this script's parameters
- integrate some setup in the checksetup.pl script

FWIW, the first two things are necessary for this to be useful in my setup, so they get an overwhelming bit of priority


git-svn-id: svn://10.0.0.236/trunk@60596 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:13:01 +00:00
terry%mozilla.org
e5db30cabf Patch by Tom Schutter <tom@platte.com>: Added some more doc, fixed product description.
git-svn-id: svn://10.0.0.236/trunk@53887 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 17:29:58 +00:00
dmose%mozilla.org
03ec794132 updated license boilerplate
git-svn-id: svn://10.0.0.236/trunk@52443 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 23:33:56 +00:00
terry%mozilla.org
4dfcaabdb5 Patch by Tom Schutter <tom@platte.com> -- set component to 'GNATS Import' instead of $product
git-svn-id: svn://10.0.0.236/trunk@48924 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 21:35:29 +00:00
terry%mozilla.org
2546af48d0 Patch by Tom Schutter <tom@platte.com> -- was setting milestone descriptions to NULL instead of ''.
git-svn-id: svn://10.0.0.236/trunk@48860 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 15:55:56 +00:00
terry%mozilla.org
cd6e1a17af This is a perl script to help import bugs from a GNATS database into a
Bugzilla database.  Contributed by Tom Schutter <tom@platte.com>


git-svn-id: svn://10.0.0.236/trunk@48600 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 20:12:46 +00:00
terry%mozilla.org
54cd21d768 Added a directory for contributed software.
git-svn-id: svn://10.0.0.236/trunk@48599 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 20:11:56 +00:00