You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2021/02/15 20:07:02 UTC

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

dsahlberg@apache.org wrote on Sat, Feb 13, 2021 at 21:41:10 -0000:
> +++ subversion/site/staging/docs/community-guide/releasing.part.html Sat Feb 13 21:41:10 2021
> @@ -1255,80 +1255,24 @@ href="https://reporter.apache.org/addrel
>  
>  </div> <!-- releasing-upload -->
>  
> -<div class="h4" id="releasing-press">

Here, you moved some 70 lines and also made a change between the pre-move and
post-move form.  First, here's the delta for ease of review:

[[[
-<p>NOTE: We announce the release before updating the website since the website
-update links to the release announcement sent to the announce@ mailing list.</p>
+<p>NOTE: We update the website before announce the release to make sure any
+links in the release announcement are valid. After announcing the release,
+links to the release announcement e-mail are added to the website.</p>
]]]

On the first added line, "before announce the release" is ungrammatical.

(Also, with some archives it's possible to generate the links in advance; for
example, this message's permalink is
<https://mail-archives.apache.org/mod_mbox/subversion-dev/202102.mbox/%3C9761a2ec-aab5-409d-ba23-4f519c76a03c@tarpaulin.shahaf.local2%3E>.)

>  <div class="h4" id="releasing-update-website">
>  <h4>Update the website
>    <a class="sectionlink" href="<!--#echo var="GUIDE_RELEASING_PAGE" -->#releasing-update-website"
>      title="Link to this section">&para;</a>
>  </h4>
>  
> +<p>Even though the steps below indicate to update the published website 
> +directly, you may prepare the changes on <tt>^/subversion/site/staging</tt>.
> +In that case:</p>
> +<ul>
> +  <li><p>Do a catch-up merge from <tt>^/subversion/site/publish</tt>.</p></li>
> +  <li><p>Commit any changes to <tt>^/subversion/site/staging</tt> and
> +    check the results on <a href="https://subversion-staging.apache.org"
> +    >https://subversion-staging.apache.org</a>.</p></li>
> +  <li><p>When ready to publish, merge the changes back to 
> +    <tt>^/subversion/site/publish</tt>.</p></li>

Suggest to remind here to review the merge results in case there are other
changes on staging at the time «svn merge» is run.

> +</ul>

> @@ -1344,9 +1288,9 @@ the oldest supported LTS branch's <tt>ST
>      <tt>^/subversion/site/publish/index.html</tt>, also removing the
>      oldest News item from that page.  Use <tt>release.py write-news</tt> to
>      generate a template news item, which should then be customized.
> -    At least fill in the URL to the archived announcement email, and check
> -    that the date is correct if you generated the template in advance of the
> -    release date.
> +    For now, comment out the link to the release announcement e-mail.
> +    Check that the date is correct if you generated the template in advance of 
> +    the release date.

Sounds like we should make write-news generate the HTML comment marker in
advance, and only ask the RM to remove them.  (The RM has a fair amount of work
as it is; every little bit helps.)

Cheers,

Daniel

P.S.  While reviewing this I noticed that
https://subversion-staging.apache.org/favicon.ico is different to
https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico: an Apache
feather v. a Subversion logo.

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den tis 16 feb. 2021 kl 16:20 skrev Daniel Sahlberg <
daniel.l.sahlberg@gmail.com>:

> Den tis 16 feb. 2021 kl 12:44 skrev Daniel Sahlberg
> <da...@gmail.com>:
> >> P.S.  While reviewing this I noticed that
> >> https://subversion-staging.apache.org/favicon.ico is different to
> >> https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico:
> an Apache
> >> feather v. a Subversion logo.
> >
> >
> > Hmm. That is very strange. I've pinged infra on Slack.
>
> Infra says:
> > looks like it's an overall override for "generic sites" that they all
> have the ASF favicon due to the dash in subversion-staging it gets
> overridden
>
> Ie, it is not a fault in our repository but an httpd.conf thing for the
> site.
>
> I asked to have this removed and was requested to add it to Jira:
> https://issues.apache.org/jira/browse/INFRA-21429


It took just short of two months but Infra has changed the override and the
staging site is showing the correct favicon, ie the one in the repository.

Kind regards
Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den tis 16 feb. 2021 kl 16:20 skrev Daniel Sahlberg <
daniel.l.sahlberg@gmail.com>:

> Den tis 16 feb. 2021 kl 12:44 skrev Daniel Sahlberg
> <da...@gmail.com>:
> >> P.S.  While reviewing this I noticed that
> >> https://subversion-staging.apache.org/favicon.ico is different to
> >> https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico:
> an Apache
> >> feather v. a Subversion logo.
> >
> >
> > Hmm. That is very strange. I've pinged infra on Slack.
>
> Infra says:
> > looks like it's an overall override for "generic sites" that they all
> have the ASF favicon due to the dash in subversion-staging it gets
> overridden
>
> Ie, it is not a fault in our repository but an httpd.conf thing for the
> site.
>
> I asked to have this removed and was requested to add it to Jira:
> https://issues.apache.org/jira/browse/INFRA-21429


It took just short of two months but Infra has changed the override and the
staging site is showing the correct favicon, ie the one in the repository.

Kind regards
Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den tis 16 feb. 2021 kl 12:44 skrev Daniel Sahlberg
<da...@gmail.com>:
>> P.S.  While reviewing this I noticed that
>> https://subversion-staging.apache.org/favicon.ico is different to
>> https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico: an Apache
>> feather v. a Subversion logo.
>
>
> Hmm. That is very strange. I've pinged infra on Slack.

Infra says:
> looks like it's an overall override for "generic sites" that they all have the ASF favicon due to the dash in subversion-staging it gets overridden

Ie, it is not a fault in our repository but an httpd.conf thing for the site.

I asked to have this removed and was requested to add it to Jira:
https://issues.apache.org/jira/browse/INFRA-21429

Kind regards,
Daniel Sahlberg

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den ons 17 feb. 2021 kl 21:29 skrev Øyvind A. Holm <su...@sunbase.org>:
> If you're ok with a text-based interface, there's Mutt for MS Windows:
>
>     https://cygwin.com/packages/summary/mutt.html
>
> Mutt doesn't do any funky stuff with your emails, WYWIWYS (What You
> Write Is What You Send). You'll need to install Cygwin, though.

Thanks, I'll give it a try. Since it is text based, I'll go with WSL.

/Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by "Øyvind A. Holm" <su...@sunbase.org>.
On 2021-02-17 21:10:29, Daniel Sahlberg wrote:
> Den ons 17 feb. 2021 19:47 Daniel Shahaf <d....@daniel.shahaf.name> 
> skrev:
> > Your email client added a hard link break, breaking the patch.
>
> Stupid Gmail. Anyone have a suggestion for a reasonable email client 
> on Windows? 

If you're ok with a text-based interface, there's Mutt for MS Windows:

    https://cygwin.com/packages/summary/mutt.html

Mutt doesn't do any funky stuff with your emails, WYWIWYS (What You 
Write Is What You Send). You'll need to install Cygwin, though.

- Øyvind

geo:60.38,5.33;u=500
OpenPGP fingerprint: A006 05D6 E676 B319 55E2  E77E FB0C BEE8 94A5 06E5
5224e9f2-715d-11eb-8625-5582e081d110

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den ons 17 feb. 2021 kl 21:22 skrev Daniel Shahaf <d....@daniel.shahaf.name>:
> Yes, +1 to commit.

Thanks! Committed r1886641.

/The other Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Daniel Sahlberg wrote on Wed, 17 Feb 2021 20:10 +00:00:
> Den ons 17 feb. 2021 19:47Daniel Shahaf <d....@daniel.shahaf.name> skrev:
> > Daniel Sahlberg wrote on Wed, Feb 17, 2021 at 09:30:36 +0100:
> > > Den tis 16 feb. 2021 kl 21:31 skrev Daniel Shahaf <d....@daniel.shahaf.name>:
> > > >
> > > > The newline between the «]» and the «[» would get copied to the output
> > > > if the condition is true.  Is that intentional?
> > > 
> > > No, didn't pay attention to how ezt added newlines. Better like this?
> > > No extra newlines except that the comments are on separate lines to
> > > make them easy to remove.
> > 
> > +1.  More below.
> 
> Just to be sure I get this right: Should I count this as ok to do an 
> "approved by" commit (Hacking, Partial commit access)?

Yes, +1 to commit.

> > Preëexisting issue: The whitespace (newline and spaces) between the «>»
> > and the words "change log" should be removed, otherwise some browsers
> > render an underlined space.
> 
> I'll fix this as well, this would qualify as an obvious fix, right?

Sure.

Cheers,

Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den ons 17 feb. 2021 19:47Daniel Shahaf <d....@daniel.shahaf.name> skrev:

> Daniel Sahlberg wrote on Wed, Feb 17, 2021 at 09:30:36 +0100:
> > Den tis 16 feb. 2021 kl 21:31 skrev Daniel Shahaf <
> d.s@daniel.shahaf.name>:
> > >
> > > The newline between the «]» and the «[» would get copied to the output
> > > if the condition is true.  Is that intentional?
> >
> > No, didn't pay attention to how ezt added newlines. Better like this?
> > No extra newlines except that the comments are on separate lines to
> > make them easy to remove.
>
> +1.  More below.
>

Just to be sure I get this right: Should I count this as ok to do an
"approved by" commit (Hacking, Partial commit access)?

> +++ templates/rc-news.ezt       (working copy)
> > @@ -7,9 +7,13 @@
> > -   announcement</a> for more information about this release, and the
> > +   announcement</a> for more information about this release, and
> > the[if-any announcement_url][else]
>
> Your email client added a hard link break, breaking the patch.
>

Stupid Gmail. Anyone have a suggestion for a reasonable email client on
Windows?

> +|... and this end comment--->[end]
> >     <a href="/docs/release-notes/[major-minor].html">release notes</a>
> and
> >     <a href="
> https://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES">
> >     change log</a> for information about what will eventually be
>
> Preëexisting issue: The whitespace (newline and spaces) between the «>»
> and the words "change log" should be removed, otherwise some browsers
> render an underlined space.
>

I'll fix this as well, this would qualify as an obvious fix, right?

Kind regards
Daniel Sahlberg

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Daniel Sahlberg wrote on Wed, Feb 17, 2021 at 09:30:36 +0100:
> Den tis 16 feb. 2021 kl 21:31 skrev Daniel Shahaf <d....@daniel.shahaf.name>:
> >
> > The newline between the «]» and the «[» would get copied to the output
> > if the condition is true.  Is that intentional?
> 
> No, didn't pay attention to how ezt added newlines. Better like this?
> No extra newlines except that the comments are on separate lines to
> make them easy to remove.

+1.  More below.

> +++ templates/rc-news.ezt       (working copy)
> @@ -7,9 +7,13 @@
> -   announcement</a> for more information about this release, and the
> +   announcement</a> for more information about this release, and
> the[if-any announcement_url][else]

Your email client added a hard link break, breaking the patch.

> +|... and this end comment--->[end]
>     <a href="/docs/release-notes/[major-minor].html">release notes</a> and
>     <a href="https://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES">
>     change log</a> for information about what will eventually be

Preëexisting issue: The whitespace (newline and spaces) between the «>»
and the words "change log" should be removed, otherwise some browsers
render an underlined space.

Cheers,

Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den tis 16 feb. 2021 kl 21:31 skrev Daniel Shahaf <d....@daniel.shahaf.name>:
>
> The newline between the «]» and the «[» would get copied to the output
> if the condition is true.  Is that intentional?

No, didn't pay attention to how ezt added newlines. Better like this?
No extra newlines except that the comments are on separate lines to
make them easy to remove.

[[[
Index: templates/rc-news.ezt
===================================================================
--- templates/rc-news.ezt       (revision 1886582)
+++ templates/rc-news.ezt       (working copy)
@@ -7,9 +7,13 @@
 <p>We are pleased to announce the release of Apache Subversion [version].  This
    release is not intended for production use, but is provided as a milestone
    to encourage wider testing and feedback from intrepid users and maintainers.
-   Please see the
+   Please see the[if-any announcement_url][else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|[end]
    <a href="[announcement_url]">release
-   announcement</a> for more information about this release, and the
+   announcement</a> for more information about this release, and
the[if-any announcement_url][else]
+|... and this end comment--->[end]
    <a href="/docs/release-notes/[major-minor].html">release notes</a> and
    <a href="https://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES">
    change log</a> for information about what will eventually be
Index: templates/stable-news.ezt
===================================================================
--- templates/stable-news.ezt   (revision 1886582)
+++ templates/stable-news.ezt   (working copy)
@@ -9,9 +9,13 @@
    users of Subversion to upgrade as soon as reasonable.
 [else]   This is the most complete release of the [major-minor].x line to date,
    and we encourage all users to upgrade as soon as reasonable.
-[end]   Please see the
+[end]   Please see the[if-any announcement_url][else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|[end]
    <a href="[announcement_url]"
-   >release announcement</a> and the
+   >release announcement</a> and the[if-any announcement_url][else]
+|... and this end comment -->[end]
    <a href="/docs/release-notes/[major-minor]"
    >release notes</a> for more information about this release.</p>
]]]

Kind regards,
Daniel Sahlberg

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Daniel Sahlberg wrote on Tue, Feb 16, 2021 at 12:44:45 +0100:
> Den mån 15 feb. 2021 kl 21:07 skrev Daniel Shahaf <d....@daniel.shahaf.name>:
> 
> > dsahlberg@apache.org wrote on Sat, Feb 13, 2021 at 21:41:10 -0000:
> > > +++ subversion/site/staging/docs/community-guide/releasing.part.html Sat
> > Feb 13 21:41:10 2021
> > > @@ -1255,80 +1255,24 @@ href="https://reporter.apache.org/addrel
> > >
> > >  </div> <!-- releasing-upload -->
> > >
> > > -<div class="h4" id="releasing-press">
> >
> > Here, you moved some 70 lines and also made a change between the pre-move
> > and
> > post-move form.  First, here's the delta for ease of review:
> >
> 
> Sorry, should have done it in two commits.

Sure, if doing so was possible in this case.  I looked before sending
and wasn't sure.

> > [[[
> > -<p>NOTE: We announce the release before updating the website since the
> > website
> > -update links to the release announcement sent to the announce@ mailing
> > list.</p>
> > +<p>NOTE: We update the website before announce the release to make sure
> > any
> > +links in the release announcement are valid. After announcing the release,
> > +links to the release announcement e-mail are added to the website.</p>
> > ]]]
> >
> > On the first added line, "before announce the release" is ungrammatical.
> >
> 
> Fixed (I hope..), r1886586.

Yeah, that's fine.

> > Sounds like we should make write-news generate the HTML comment marker in
> > advance, and only ask the RM to remove them.  (The RM has a fair amount of
> > work as it is; every little bit helps.)
> >
> 
> Very reasonable, patch below. I'm adding the comment unless there is an
> announcement url in command line arguments. I'm not happy about the
> [if-any][else] construct but I couldn't find a way to check "if not any",
> from a quick glance at the documentation in gsteins gihub repo.

No, that construct is fine; you'll find examples of it in
build/generator/templates/.

> +++ tools/dist/templates/rc-news.ezt    (working copy)
> @@ -8,8 +8,18 @@
>     release is not intended for production use, but is provided as a milestone
>     to encourage wider testing and feedback from intrepid users and maintainers.
>     Please see the
> +[if-any announcement_url]
> +[else]

The newline between the «]» and the «[» would get copied to the output
if the condition is true.  Is that intentional?

> > P.S.  While reviewing this I noticed that
> > https://subversion-staging.apache.org/favicon.ico is different to
> > https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico: an
> > Apache
> > feather v. a Subversion logo.
> >
> 
> Hmm. That is very strange. I've pinged infra on Slack.

IIRC, subversion-staging.apache.org has its own <VirtualHost/> definition,
separate from the one used by all ${pmc}.apache.org sites, so it's not
that surprising that some edge cases are different.  Thanks for chasing
this up!

Re downthread, PMC Unix names can't contain dashes.  (empire-db is
a grandfathered exception.)

Cheers,

Daniel

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Den tis 16 feb. 2021 kl 12:44 skrev Daniel Sahlberg
<da...@gmail.com>:
>> P.S.  While reviewing this I noticed that
>> https://subversion-staging.apache.org/favicon.ico is different to
>> https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico: an Apache
>> feather v. a Subversion logo.
>
>
> Hmm. That is very strange. I've pinged infra on Slack.

Infra says:
> looks like it's an overall override for "generic sites" that they all have the ASF favicon due to the dash in subversion-staging it gets overridden

Ie, it is not a fault in our repository but an httpd.conf thing for the site.

I asked to have this removed and was requested to add it to Jira:
https://issues.apache.org/jira/browse/INFRA-21429

Kind regards,
Daniel Sahlberg

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Thanks for your review!

Den mån 15 feb. 2021 kl 21:07 skrev Daniel Shahaf <d....@daniel.shahaf.name>:

> dsahlberg@apache.org wrote on Sat, Feb 13, 2021 at 21:41:10 -0000:
> > +++ subversion/site/staging/docs/community-guide/releasing.part.html Sat
> Feb 13 21:41:10 2021
> > @@ -1255,80 +1255,24 @@ href="https://reporter.apache.org/addrel
> >
> >  </div> <!-- releasing-upload -->
> >
> > -<div class="h4" id="releasing-press">
>
> Here, you moved some 70 lines and also made a change between the pre-move
> and
> post-move form.  First, here's the delta for ease of review:
>

Sorry, should have done it in two commits.


> [[[
> -<p>NOTE: We announce the release before updating the website since the
> website
> -update links to the release announcement sent to the announce@ mailing
> list.</p>
> +<p>NOTE: We update the website before announce the release to make sure
> any
> +links in the release announcement are valid. After announcing the release,
> +links to the release announcement e-mail are added to the website.</p>
> ]]]
>
> On the first added line, "before announce the release" is ungrammatical.
>

Fixed (I hope..), r1886586.

(Also, with some archives it's possible to generate the links in advance;
> for
> example, this message's permalink is
> <
> https://mail-archives.apache.org/mod_mbox/subversion-dev/202102.mbox/%3C9761a2ec-aab5-409d-ba23-4f519c76a03c@tarpaulin.shahaf.local2%3E
> >.)
>
> >  <div class="h4" id="releasing-update-website">
> >  <h4>Update the website
> >    <a class="sectionlink" href="<!--#echo var="GUIDE_RELEASING_PAGE"
> -->#releasing-update-website"
> >      title="Link to this section">&para;</a>
> >  </h4>
> >
> > +<p>Even though the steps below indicate to update the published website
> > +directly, you may prepare the changes on
> <tt>^/subversion/site/staging</tt>.
> > +In that case:</p>
> > +<ul>
> > +  <li><p>Do a catch-up merge from
> <tt>^/subversion/site/publish</tt>.</p></li>
> > +  <li><p>Commit any changes to <tt>^/subversion/site/staging</tt> and
> > +    check the results on <a href="https://subversion-staging.apache.org
> "
> > +    >https://subversion-staging.apache.org</a>.</p></li>
> > +  <li><p>When ready to publish, merge the changes back to
> > +    <tt>^/subversion/site/publish</tt>.</p></li>
>
> Suggest to remind here to review the merge results in case there are other
> changes on staging at the time «svn merge» is run.
>

Added, r1886586.


>
> > +</ul>
>
> > @@ -1344,9 +1288,9 @@ the oldest supported LTS branch's <tt>ST
> >      <tt>^/subversion/site/publish/index.html</tt>, also removing the
> >      oldest News item from that page.  Use <tt>release.py
> write-news</tt> to
> >      generate a template news item, which should then be customized.
> > -    At least fill in the URL to the archived announcement email, and
> check
> > -    that the date is correct if you generated the template in advance
> of the
> > -    release date.
> > +    For now, comment out the link to the release announcement e-mail.
> > +    Check that the date is correct if you generated the template in
> advance of
> > +    the release date.
>
> Sounds like we should make write-news generate the HTML comment marker in
> advance, and only ask the RM to remove them.  (The RM has a fair amount of
> work
> as it is; every little bit helps.)
>

Very reasonable, patch below. I'm adding the comment unless there is an
announcement url in command line arguments. I'm not happy about the
[if-any][else] construct but I couldn't find a way to check "if not any",
from a quick glance at the documentation in gsteins gihub repo. I took the
liberty of updating releasing.part.html as if the change below (or similar)
will go through.

[[[
Index: tools/dist/templates/rc-news.ezt
===================================================================
--- tools/dist/templates/rc-news.ezt    (revision 1886582)
+++ tools/dist/templates/rc-news.ezt    (working copy)
@@ -8,8 +8,18 @@
    release is not intended for production use, but is provided as a
milestone
    to encourage wider testing and feedback from intrepid users and
maintainers.
    Please see the
+[if-any announcement_url]
+[else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|
+[end]
    <a href="[announcement_url]">release
    announcement</a> for more information about this release, and the
+[if-any announcement_url]
+[else]
+|... and this end comment -->
+[end]
    <a href="/docs/release-notes/[major-minor].html">release notes</a> and
    <a href="
https://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES">
    change log</a> for information about what will eventually be
Index: tools/dist/templates/stable-news.ezt
===================================================================
--- tools/dist/templates/stable-news.ezt        (revision 1886582)
+++ tools/dist/templates/stable-news.ezt        (working copy)
@@ -10,8 +10,18 @@
 [else]   This is the most complete release of the [major-minor].x line to
date,
    and we encourage all users to upgrade as soon as reasonable.
 [end]   Please see the
+[if-any announcement_url]
+[else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|
+[end]
    <a href="[announcement_url]"
    >release announcement</a> and the
+[if-any announcement_url]
+[else]
+|... and this end comment -->
+[end]
    <a href="/docs/release-notes/[major-minor]"
    >release notes</a> for more information about this release.</p>
]]]


> Cheers,
>
> Daniel
>
> P.S.  While reviewing this I noticed that
> https://subversion-staging.apache.org/favicon.ico is different to
> https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico: an
> Apache
> feather v. a Subversion logo.
>

Hmm. That is very strange. I've pinged infra on Slack.

Kind regards,
Daniel Sahlberg

Re: svn commit: r1886494 - /subversion/site/staging/docs/community-guide/releasing.part.html

Posted by Daniel Sahlberg <da...@gmail.com>.
Thanks for your review!

Den mån 15 feb. 2021 kl 21:07 skrev Daniel Shahaf <d....@daniel.shahaf.name>:

> dsahlberg@apache.org wrote on Sat, Feb 13, 2021 at 21:41:10 -0000:
> > +++ subversion/site/staging/docs/community-guide/releasing.part.html Sat
> Feb 13 21:41:10 2021
> > @@ -1255,80 +1255,24 @@ href="https://reporter.apache.org/addrel
> >
> >  </div> <!-- releasing-upload -->
> >
> > -<div class="h4" id="releasing-press">
>
> Here, you moved some 70 lines and also made a change between the pre-move
> and
> post-move form.  First, here's the delta for ease of review:
>

Sorry, should have done it in two commits.


> [[[
> -<p>NOTE: We announce the release before updating the website since the
> website
> -update links to the release announcement sent to the announce@ mailing
> list.</p>
> +<p>NOTE: We update the website before announce the release to make sure
> any
> +links in the release announcement are valid. After announcing the release,
> +links to the release announcement e-mail are added to the website.</p>
> ]]]
>
> On the first added line, "before announce the release" is ungrammatical.
>

Fixed (I hope..), r1886586.

(Also, with some archives it's possible to generate the links in advance;
> for
> example, this message's permalink is
> <
> https://mail-archives.apache.org/mod_mbox/subversion-dev/202102.mbox/%3C9761a2ec-aab5-409d-ba23-4f519c76a03c@tarpaulin.shahaf.local2%3E
> >.)
>
> >  <div class="h4" id="releasing-update-website">
> >  <h4>Update the website
> >    <a class="sectionlink" href="<!--#echo var="GUIDE_RELEASING_PAGE"
> -->#releasing-update-website"
> >      title="Link to this section">&para;</a>
> >  </h4>
> >
> > +<p>Even though the steps below indicate to update the published website
> > +directly, you may prepare the changes on
> <tt>^/subversion/site/staging</tt>.
> > +In that case:</p>
> > +<ul>
> > +  <li><p>Do a catch-up merge from
> <tt>^/subversion/site/publish</tt>.</p></li>
> > +  <li><p>Commit any changes to <tt>^/subversion/site/staging</tt> and
> > +    check the results on <a href="https://subversion-staging.apache.org
> "
> > +    >https://subversion-staging.apache.org</a>.</p></li>
> > +  <li><p>When ready to publish, merge the changes back to
> > +    <tt>^/subversion/site/publish</tt>.</p></li>
>
> Suggest to remind here to review the merge results in case there are other
> changes on staging at the time «svn merge» is run.
>

Added, r1886586.


>
> > +</ul>
>
> > @@ -1344,9 +1288,9 @@ the oldest supported LTS branch's <tt>ST
> >      <tt>^/subversion/site/publish/index.html</tt>, also removing the
> >      oldest News item from that page.  Use <tt>release.py
> write-news</tt> to
> >      generate a template news item, which should then be customized.
> > -    At least fill in the URL to the archived announcement email, and
> check
> > -    that the date is correct if you generated the template in advance
> of the
> > -    release date.
> > +    For now, comment out the link to the release announcement e-mail.
> > +    Check that the date is correct if you generated the template in
> advance of
> > +    the release date.
>
> Sounds like we should make write-news generate the HTML comment marker in
> advance, and only ask the RM to remove them.  (The RM has a fair amount of
> work
> as it is; every little bit helps.)
>

Very reasonable, patch below. I'm adding the comment unless there is an
announcement url in command line arguments. I'm not happy about the
[if-any][else] construct but I couldn't find a way to check "if not any",
from a quick glance at the documentation in gsteins gihub repo. I took the
liberty of updating releasing.part.html as if the change below (or similar)
will go through.

[[[
Index: tools/dist/templates/rc-news.ezt
===================================================================
--- tools/dist/templates/rc-news.ezt    (revision 1886582)
+++ tools/dist/templates/rc-news.ezt    (working copy)
@@ -8,8 +8,18 @@
    release is not intended for production use, but is provided as a
milestone
    to encourage wider testing and feedback from intrepid users and
maintainers.
    Please see the
+[if-any announcement_url]
+[else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|
+[end]
    <a href="[announcement_url]">release
    announcement</a> for more information about this release, and the
+[if-any announcement_url]
+[else]
+|... and this end comment -->
+[end]
    <a href="/docs/release-notes/[major-minor].html">release notes</a> and
    <a href="
https://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES">
    change log</a> for information about what will eventually be
Index: tools/dist/templates/stable-news.ezt
===================================================================
--- tools/dist/templates/stable-news.ezt        (revision 1886582)
+++ tools/dist/templates/stable-news.ezt        (working copy)
@@ -10,8 +10,18 @@
 [else]   This is the most complete release of the [major-minor].x line to
date,
    and we encourage all users to upgrade as soon as reasonable.
 [end]   Please see the
+[if-any announcement_url]
+[else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|
+[end]
    <a href="[announcement_url]"
    >release announcement</a> and the
+[if-any announcement_url]
+[else]
+|... and this end comment -->
+[end]
    <a href="/docs/release-notes/[major-minor]"
    >release notes</a> for more information about this release.</p>
]]]


> Cheers,
>
> Daniel
>
> P.S.  While reviewing this I noticed that
> https://subversion-staging.apache.org/favicon.ico is different to
> https://svn.apache.org/repos/asf/subversion/site/staging/favicon.ico: an
> Apache
> feather v. a Subversion logo.
>

Hmm. That is very strange. I've pinged infra on Slack.

Kind regards,
Daniel Sahlberg