Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
8d308d62
Commit
8d308d62
authored
Sep 01, 1998
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the "urlbase" param. Make regeneration easier.
parent
09ab09b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
processmail
processmail
+5
-13
No files found.
processmail
View file @
8d308d62
...
...
@@ -20,9 +20,7 @@
# Contributor(s
)
: Terry Weissman <terry@mozilla.org>
# To recreate the shadow database, nuke all the entires and then run
# processmail regenerate <last>, where <last> is the biggest bug number
# currently used.
# To recreate the shadow database, run "processmail regenerate" .
source
"globals.tcl"
...
...
@@ -140,9 +138,6 @@ proc Log {str} {
}
set COOKIE
(
Bugzilla_login
)
terry
set
COOKIE
(
Bugzilla_password
)
terry
ConnectToDatabase
...
...
@@ -152,7 +147,7 @@ To: %s
Cc: %s
Subject:
\[
Bug %s
\]
%s - %s
http://cvs-mirror.mozilla.org/webtools/bugzilla/
show_bug.cgi?id=%s
[
Param urlbase
]
show_bug.cgi?id=%s
%s"
...
...
@@ -178,10 +173,10 @@ close $lockfid
set
regenerate 0
if
{[
cequal
[
lindex
$argv
0
]
"regenerate"
]}
{
set regenerate 1
set last
[
lindex
$argv
1
]
set argv
""
loop i 1
[
expr
$last
+ 1
]
{
lappend argv
$i
SendSQL
"select bug_id from bugs order by bug_id"
while
{[
MoreSQLData
]}
{
lappend argv
[
lindex
[
FetchSQLData
]
0
]
}
}
...
...
@@ -197,9 +192,6 @@ foreach i $argv {
}
set text
[
GetBugText
$i
]
if
{
$text
==
""
}
{
if
{
$regenerate
}
{
continue
}
error
"Couldn't find bug
$i.
"
}
set fid
[
open
$new
"w"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment