Re: howto submit PR's w/ attachment(s) via email and/or client tools
Chad Walstrom <[email protected]> Tue, 16 Jan 2007 12:29:14 -0600
| Newsgroups | gmane.comp.bug-tracking.gnats.general |
|---|---|
| Message-ID | <[email protected]> |
Attila Horvath <[email protected]> wrote: > Is there a way of attaching files to PRs when submitting via command > line or mail interfaces? Not really. If you look at the format for the gnatsweb attachments, it's using a MIME compatible delimiter string and headers. You can duplicate that if you wish for the "Undefined" field. There is no proper, built-in attachment handling for GNATS itself. > Clearly, gnatsd is capable of handling this because gntstweb can do > it! gnatsd doesn't handle attachments, it simply outputs text found in the PR file. gnatsweb uses a hackish way to save attachments, but as of yet, there is no binary data type for saving information in the database. > I've tried submitting PR's from linux/pine, gmail and > windows/outlook - however none of the attachments appear as > 'attachments' when viewing the PR via gnatsweb. The attachments sent > with the original emails become embedded into the descriptions as > BCD. You can edit-pr PRNUMBER and edit the MIME delimiters so that gnatsweb would recognize it. > Only the ones submitted via gnatsweb have selectable attachments. Yep. -- Chad Walstrom <[email protected]> http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */