help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: howto submit PR's w/ attachment(s) via email and/or client tools


From: Chad Walstrom
Subject: Re: howto submit PR's w/ attachment(s) via email and/or client tools
Date: Tue, 16 Jan 2007 12:29:14 -0600

Attila Horvath <address@hidden>  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 <address@hidden>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]