Attila Horvath <
attila@...> 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 <
chewie@...>
http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */
_______________________________________________
Help-gnats mailing list
Help-gnats@...
http://lists.gnu.org/mailman/listinfo/help-gnats