Thread: Bug form and attachments...

Bug form and attachments...

From
"David G. Johnston"
Date:
<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">So, bug #14137 was just filed
anddue to the lack of ability to attach files via the bug form the body of said message is inordinately long.</div><div
class="gmail_default"style="font-family:arial,helvetica,sans-serif"><br /></div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Emailssent directly to the lists can have attachments so its not like we
areprohibiting them as a general rule - though maybe the behavior is different on -bugs...</div><div
class="gmail_default"style="font-family:arial,helvetica,sans-serif"><br /></div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Withouttesting I presume that the user filling in the bug report is
emailedthe message that they send - or at least it could be made to work that way.</div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br/></div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Inlieu of (or in addition) to adding a file upload capability it would
benice to limit the general initial message size and inform the user that should they need to amend their posting, to
includefiles or additional details, they can do so as a reply to their original message.</div><div
class="gmail_default"style="font-family:arial,helvetica,sans-serif"><br /></div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Ihaven't given it too much thought but a couple recent incidents of
super-verbosemessage bodies provoked me to at least voice my thoughts.</div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br/></div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">DavidJ.</div><div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br/></div></div> 

Re: Bug form and attachments...

From
Magnus Hagander
Date:
On Sat, May 14, 2016 at 4:00 AM, David G. Johnston <david.g.johnston@gmail.com> wrote:
So, bug #14137 was just filed and due to the lack of ability to attach files via the bug form the body of said message is inordinately long.

Emails sent directly to the lists can have attachments so its not like we are prohibiting them as a general rule - though maybe the behavior is different on -bugs...

Without testing I presume that the user filling in the bug report is emailed the message that they send - or at least it could be made to work that way.

The form gets sent to pgsql-bugs. If the user is subscribed to the list they get a copy, if they're not they don't (and have to review it in the archives).

 
In lieu of (or in addition) to adding a file upload capability it would be nice to limit the general initial message size and inform the user that should they need to amend their posting, to include files or additional details, they can do so as a reply to their original message.

I haven't given it too much thought but a couple recent incidents of super-verbose message bodies provoked me to at least voice my thoughts.


Limiting the length could certainly be done, and trivially so (we do actually limit the length of the subject, just not the body). Any suggestions for a reasonable actual limit? :)

Adding file upload capacity would be a lot more work. I think we need a "better overall solution" for dealing with them before investing in that. 

--

Re: Bug form and attachments...

From
Justin Clift
Date:
On 15 May 2016, at 17:27, Magnus Hagander <magnus@hagander.net> wrote:
<snip>
> Adding file upload capacity would be a lot more work. I think we need a "better overall solution" for dealing with
thembefore investing in that. 

Is there stable/acceptable external infrastructure we could use, instead
of the "roll it ourselves" approach?
 eg GitHub Issues or similar

+ Justin

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi




Re: Bug form and attachments...

From
Magnus Hagander
Date:


On Sun, May 15, 2016 at 6:46 PM, Justin Clift <justin@postgresql.org> wrote:
On 15 May 2016, at 17:27, Magnus Hagander <magnus@hagander.net> wrote:
<snip>
> Adding file upload capacity would be a lot more work. I think we need a "better overall solution" for dealing with them before investing in that.

Is there stable/acceptable external infrastructure we could use, instead
of the "roll it ourselves" approach?

Please review the approximately 500 previous threads on the subject before opening another one :S


--

Re: Bug form and attachments...

From
Justin Clift
Date:
On 15 May 2016, at 17:47, Magnus Hagander <magnus@hagander.net> wrote:
> On Sun, May 15, 2016 at 6:46 PM, Justin Clift <justin@postgresql.org> wrote:
> On 15 May 2016, at 17:27, Magnus Hagander <magnus@hagander.net> wrote:
> <snip>
> > Adding file upload capacity would be a lot more work. I think we need a "better overall solution" for dealing with
thembefore investing in that. 
>
> Is there stable/acceptable external infrastructure we could use, instead
> of the "roll it ourselves" approach?
>
> Please review the approximately 500 previous threads on the subject before opening another one :S

Heh, I should have known better.  Sorry for the noise. ;)

+ Justin

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi




Re: Bug form and attachments...

From
"David G. Johnston"
Date:
On Sun, May 15, 2016 at 12:27 PM, Magnus Hagander <magnus@hagander.net> wrote:
On Sat, May 14, 2016 at 4:00 AM, David G. Johnston <david.g.johnston@gmail.com> wrote:
So, bug #14137 was just filed and due to the lack of ability to attach files via the bug form the body of said message is inordinately long.

Emails sent directly to the lists can have attachments so its not like we are prohibiting them as a general rule - though maybe the behavior is different on -bugs...

Without testing I presume that the user filling in the bug report is emailed the message that they send - or at least it could be made to work that way.

The form gets sent to pgsql-bugs. If the user is subscribed to the list they get a copy, if they're not they don't (and have to review it in the archives).


​That seems unnecessarily limited behavior since -bugs subscribers see the email as coming from the person and a reply-all goes to them (or at least their purported email address) as well.

 
In lieu of (or in addition) to adding a file upload capability it would be nice to limit the general initial message size and inform the user that should they need to amend their posting, to include files or additional details, they can do so as a reply to their original message.

I haven't given it too much thought but a couple recent incidents of super-verbose message bodies provoked me to at least voice my thoughts.


Limiting the length could certainly be done, and trivially so (we do actually limit the length of the subject, just not the body). Any suggestions for a reasonable actual limit? :)


​I'd probably make it a soft limit initially - that once exceeded causes a message to appear on the form that describes alternate/preferred means of sending lots of data to the list.

As for a good value maybe someone will be kind and compute the 99th percentile of ​initial body message lengths and pick something in that ballpark - the general issue is somewhat rare...probably enough so to just live with the status quo.

Adding file upload capacity would be a lot more work. I think we need a "better overall solution" for dealing with them before investing in that. 


​Agreed.

David J.​