Closed
Bug 411996
Opened 17 years ago
Closed 13 years ago
A command-line tool to attach files to bugzilla without a browser.
Categories
(Bugzilla :: Attachments & Requests, enhancement)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: igor, Unassigned)
References
Details
This is based on a discussion at #developers It would be nice if there would be a command-line tool to attach files to bugzilla. Ideally it should allow to use a SSH/PGP keys or SSL certificates for authentication for use from scripts and to avoid exposing unencrypted passwords. This would allow for better integration with mercurial.
Reporter | ||
Comment 1•17 years ago
|
||
Right now I can use curl to do the attchments since the tool allows to send post data. But that requires either to add a bugzilla username/password to a script or to extract the current authentication cookies from a browser session.
Reporter | ||
Comment 2•17 years ago
|
||
I will try to create a perl script using curl that can attach a file of a particular mimetype to a bugzilla bug using the login cookies. It should be straightforward to emulate the form submitting.
Assignee: attach-and-request → igor
Updated•17 years ago
|
Version: unspecified → 3.0.2
Comment 4•13 years ago
|
||
You can use the Bug.add_attachment method from our WebServices since Bugzilla 4.0. No need for a special tool here.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•