From 9e3ebb48f4ea3d78e25e1e7b021bbfbcefd58409 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Thu, 11 Dec 2003 07:36:20 +0000 Subject: Bug 227724: rename bug-bugzilla to bugzilla-submit. Justdave did the repository copy, and this is the follow-up patch that implements the content rename. r=gerv, a=justdave. --- contrib/bugzilla-submit/README | 14 +++++++------- contrib/bugzilla-submit/bugzilla-submit | 6 +++--- contrib/bugzilla-submit/bugzilla-submit.xml | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'contrib/bugzilla-submit') diff --git a/contrib/bugzilla-submit/README b/contrib/bugzilla-submit/README index 08bc3d85c..f9e74b9d4 100644 --- a/contrib/bugzilla-submit/README +++ b/contrib/bugzilla-submit/README @@ -1,10 +1,10 @@ -Bug-Bugzilla -============ +bugzilla-submit +=============== Authors: Christian Reis Eric Raymond -Bug-Bugzilla is a simple Python program that creates bugs in a Bugzilla +bugzilla-submit is a simple Python program that creates bugs in a Bugzilla instance. It takes as input text resembling message headers (RFC-822 formatted) via standard input, or optionally a number of commandline parameters. It communicates using HTTP, which allows it to work over a @@ -23,10 +23,10 @@ Usage Notes * http://landfill.bugzilla.org/ for testing purposes -- opening test * bugs on production instances of Bugzilla is definitely not a good idea -Run "bug-bugzilla --help" for a description of the possible options. +Run "bugzilla-submit --help" for a description of the possible options. An example input file, named bugdata.txt, is provided. You can pipe it -in as standard input to bug-bugzilla, providing a Bugzilla URI through +in as standard input to bugzilla-submit, providing a Bugzilla URI through the command-line. Note that you must create a ~/.netrc entry to authenticate against the @@ -41,6 +41,6 @@ your password password. An example entry follows: Documentation ------------- -Documentation for bug-bugzilla is provided in Docbook format; see -bug-bugzilla.xml. +Documentation for bugzilla-submit is provided in Docbook format; see +bugzilla-submit.xml. diff --git a/contrib/bugzilla-submit/bugzilla-submit b/contrib/bugzilla-submit/bugzilla-submit index e16a968e7..0efa501fa 100755 --- a/contrib/bugzilla-submit/bugzilla-submit +++ b/contrib/bugzilla-submit/bugzilla-submit @@ -1,13 +1,13 @@ #!/usr/bin/env python # -# bug-bugzilla: a command-line script to post bugs to a Bugzilla instance +# bugzilla-submit: a command-line script to post bugs to a Bugzilla instance # # Authors: Christian Reis # Eric S. Raymond # # This is version 0.5. # -# For a usage hint run bug-bugzilla --help +# For a usage hint run bugzilla-submit --help # # TODO: use RDF output to pick up valid options, as in # http://www.async.com.br/~kiko/mybugzilla/config.cgi?ctype=rdf @@ -15,7 +15,7 @@ import sys def error(m): - sys.stderr.write("bug-bugzilla: %s\n" % m) + sys.stderr.write("bugzilla-submit: %s\n" % m) sys.stderr.flush() sys.exit(1) diff --git a/contrib/bugzilla-submit/bugzilla-submit.xml b/contrib/bugzilla-submit/bugzilla-submit.xml index da8a34c77..01ad49e63 100644 --- a/contrib/bugzilla-submit/bugzilla-submit.xml +++ b/contrib/bugzilla-submit/bugzilla-submit.xml @@ -2,20 +2,20 @@ - + -bug-bugzilla +bugzilla-submit 1 Oct 30, 2003 -bug-bugzilla +bugzilla-submit post bugs to a Bugzilla instance - bug-bugzilla + bugzilla-submit --status bug_status --url bug_file_loc --product product @@ -40,12 +40,12 @@ DESCRIPTION -bug-bugzilla is a command-line tool +bugzilla-submit is a command-line tool for posting bug reports to any instance of Bugzilla. It accepts on standard input text resembling an RFC-822 message. The headers of that message, and its body, are used to set error-report field values. More field values are merged in from command-line options. If required -fields have not been set, bug-bugzilla +fields have not been set, bugzilla-submit tries to compute them. Finally, the resulting error report is validated. If all required fields are present, and there are no illegal fields or values, the report is shipped off to the Mozilla -- cgit v1.2.3-24-g4f1b