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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Attila Horvath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

When using 'gnatsweb', I can submit a new PR and include an attachment at the
same time. Later, I can add additional attachments (one per 'submit edit') also.

Is there a way of attaching files to PRs when submitting via command line or
mail interfaces?

Clearly, gnatsd is capable of handling this because gntstweb can do it!

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.

Only the ones submitted via gnatsweb have selectable attachments.

Thx in advance

Attila


_______________________________________________
Help-gnats mailing list
Help-gnats@...
http://lists.gnu.org/mailman/listinfo/help-gnats

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

by Chad Walstrom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
LightInTheBox - Buy quality products at wholesale price!