git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/1] SubmittingPatches: not git-security@googlegroups.com

From
Thomas Gummerer <t.gummerer@gmail.com>
Date
May 29, 2018, 18:02 UTC
Message-ID
<20180529180203.GC8868@hank.intra.tgummerer.com>
In-Reply-To
<xmqqbmd0lc11.fsf@gitster-ct.c.googlers.com>
On 05/28, Junio C Hamano wrote:
Show 14 quoted lines
> Thomas Gummerer <t.gummerer@gmail.com> writes:
> 
> > Yeah sorry, that's what I meant.
> > https://public-inbox.org/git/20180308150820.22588-1-avarab@gmail.com/
> > is the reference I meant to put there.
> >
> > How about something like the below?  This is tested with asciidoc
> > 8.6.10 and asciidoctor 1.5.6.2.  I'm also happy to squash the two
> > patches into one if that's preferred.
> >
> 
> If the discussion in the proposed log message needs to be updated
> anyway, it is a good opportunity to make them into a single patch,
> as they share exactly the same objective.

This was mostly a clarification of the note I added after the '---', but I'm happy to just make this one patch either way.

> This is a tangent, but the use of footnote below looks a but
> curious.  How would {1} reference pick which :1: to use?  The
> closest preceding one?

Tbh I didn't look at the docs for doing this, but just used the same syntax as we're already using and tried it with both asciidoc and asciidoctor. And yes it seems like it always picks the preceeding one.

> As this appears on a page that already has other footnotes attached
> to an adjacent paragraph, I am wondering if they should be made into
> a part of the same numbering sequence.

I have now actually looked at the docs, and this numbering has nothing to do with the footnote format, but rather is used to substitute the attribute that's specified in the curly braces with the text that's after :<attribute>: [1]. This initially confused me a bit. Maybe it would be nicer to give the attributes names instead of just numbers? As we keep adding footnotes, that would be less likely to produce conflicts between the different attributes I think.

I'm also adding brian to the cc list, as he first converted this to AsciiDoc for opinions.

[1]: https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#attributes-and-substitutions
Show 28 quoted lines
> > @@ -264,6 +264,11 @@ people who are involved in the area you are touching (the `git
> >  contacts` command in `contrib/contacts/` can help to
> >  identify them), to solicit comments and reviews.
> >  
> > +:1: footnote:[The Git Security mailing list: git-security@googlegroups.com]
> > +
> > +Patches which are security relevant should be submitted privately to
> > +the Git Security mailing list{1}.
> > +
> >  :1: footnote:[The current maintainer: gitster@pobox.com]
> >  :2: footnote:[The mailing list: git@vger.kernel.org]
> 
> Also, the placement of this new paragraph is rather odd.  
> 
> I am guessing that the reason why you put it _before_ the normal
> list address is to make sure those with secrets that must be guarded
> won't send it to the list first without thinking, but then this
> place is too late for that, as the previous paragraph already told
> the reader that the patch should be sent to the list and others but
> not necessarily to the maintainer.  This should go one paragraph
> before that, at least.  I briefly considered suggesting to move it
> even earlier, e.g. the beginning of "Sending your patches" section,
> but then by the time readers with potential security patches may
> have forgotten it, or worse, get confused by us, when we say "Send
> your patches with To: set to the list".  So I dunno.  The most
> conservative would be to write it at the beginning of the section
> and then repeat it just before "Send to the list, Cc releavant
> people" paragraph as a reminder.

Yeah I wasn't quite sure where to best fit this in. I'd be happy with it appearing twice. Will update this in v2.

Previous: Junio C HamanoNext: Thomas Gummerer
Message 5 of 11 in “README: note git-security@googlegroups.com”
  1. README: note git-security@googlegroups.comThomas Gummerer, May 27, 2018
  2. Jonathan NiederMay 27, 2018
  3. 2/1 SubmittingPatches: not git-security@googlegroups.comThomas Gummerer, May 27, 2018
  4. Junio C HamanoMay 28, 2018
  5. Thomas GummererMay 29, 2018
  6. Thomas GummererMay 29, 2018
  7. brian m. carlsonMay 29, 2018
  8. 1/2 SubmittingPatches: replace numbered attributes with namesThomas Gummerer, May 30, 2018
  9. 2/2 note git-security@googlegroups.com in more placesThomas Gummerer, May 30, 2018
  10. brian m. carlsonMay 30, 2018
  11. Thomas GummererMay 31, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.