FYI, I just asked the question straight (between dlcdn or closer.cgi
preferred use) on #asfinfra. I will update the projects website
accordingly.

Thanks,
Regards
JB

On Wed, Mar 30, 2022 at 11:19 AM Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
>
> Why other Apache projects are using dlcdn directly then ?
>
> Honestly, it's not clear, and we have two different inputs (I have
> been asked by Sebb on several projects to use directly dlcdn).
>
> Let me double check again as it would mean that a lot of Apache
> projects should use closer.lua instead of dlcdn.
>
> Regards
> JB
>
> On Wed, Mar 30, 2022 at 11:00 AM Robbie Gemmell
> <robbie.gemm...@gmail.com> wrote:
> >
> > Actually no, it seems they didnt change their stance. The script
> > should still be used.
> >
> > If you go and read the full Slack discussion with Infra last night you
> > will find that they actually later confirm that the closer.lua
> > redirect script is still the way to do it. It seems they misunderstood
> > what you were asking earlier, perhaps as you didnt mention the script
> > at all. Humbedooh's answer even references the output from the script
> > when it is used in the templating mode, i.e he clearly didnt realise
> > what was being asked.
> >
> > https://the-asf.slack.com/archives/CBX4TSBQ8/p1648592068105389
> >
> > Hans Van Akelyen  11:14 PM
> > wasn't the closer script still the mandatory way? I though there was a
> > discussion about that on the lists
> > https://lists.apache.org/list?us...@infra.apache.org:lte=6M:DLCDN
> > Humbedooh  11:14 PM
> > it is, yes
> > Hans Van Akelyen  11:14 PM
> > ack
> > Humbedooh  11:15 PM
> > I think JB's question was about the templating of it all
> >
> > On Wed, 30 Mar 2022 at 09:54, Jean-Baptiste Onofré <j...@nanthrax.net> 
> > wrote:
> > >
> > > Agree, infra guys are pretty clear (at least Daniel and Chris were
> > > very clear), but I guess other guys are not "up to date" ;)
> > >
> > > Quick extract from the chat I had with them on Slack:
> > >
> > > fluxo  20 h 38
> > > you might even say it is, in fact, [preferred]
> > > Humbedooh  20 h 39
> > > download.apache.org is backup OR for sigs/checksums
> > >
> > > So, it's what I said: dlcdn is the preferred download system for
> > > artifacts, and keep download for sign/hash.
> > >
> > > I will update the website accordingly.
> > >
> > > Regards
> > > JB
> > >
> > > On Wed, Mar 30, 2022 at 10:41 AM Robbie Gemmell
> > > <robbie.gemm...@gmail.com> wrote:
> > > >
> > > > They must have changed their stance from the announcement threads then
> > > > where they said the opposite more than once.
> > > >
> > > > On Wed, 30 Mar 2022 at 06:41, Jean-Baptiste Onofré <j...@nanthrax.net> 
> > > > wrote:
> > > > >
> > > > > Hi
> > > > >
> > > > > I talked with asfinfra last need to double check:
> > > > >
> > > > > 1. They confirm that dlcdn is the URL to use for artifact download
> > > > > 2. They confirm the webpage Robbie linked is not up to date. I talked 
> > > > > with
> > > > > Andrew Wetmore (author of this page). He didn’t know dlcdn : he will 
> > > > > update
> > > > > the page with my help.
> > > > >
> > > > > So, according to this update, I will do a new pass on ActiveMQ 
> > > > > website to
> > > > > use dlcdn where it makes sense and fix signature / hash links.
> > > > >
> > > > > Regards
> > > > > JB
> > > > >
> > > > > Le mar. 29 mars 2022 à 18:17, Robbie Gemmell 
> > > > > <robbie.gemm...@gmail.com> a
> > > > > écrit :
> > > > >
> > > > > > This seems wrong, I think this should be reverted.
> > > > > >
> > > > > > We are still asked to use the redirect scripts so that infra can
> > > > > > manage resources as needed, and are meant to link to
> > > > > > downloads.apache.org for checksums as the page did.
> > > > > > https://infra.apache.org/release-download-pages.html
> > > > > >
> > > > > > The old links also redirected to the archive whenever the release is
> > > > > > removed from the CDN, whereas your replacement ones will 404.
> > > > > > Meanwhile as you didnt update all the release template bits there 
> > > > > > are
> > > > > > now 2 different styles in use across the site (or even in the same
> > > > > > page in cases) as all the other generated bits are still as they 
> > > > > > were
> > > > > > before.
> > > > > >
> > > > > > Robbie
> > > > > >
> > > > > > On Mon, 21 Mar 2022 at 13:49, <jbono...@apache.org> wrote:
> > > > > > >
> > > > > > > This is an automated email from the ASF dual-hosted git 
> > > > > > > repository.
> > > > > > >
> > > > > > > jbonofre pushed a commit to branch main
> > > > > > > in repository 
> > > > > > > https://gitbox.apache.org/repos/asf/activemq-website.git
> > > > > > >
> > > > > > >
> > > > > > > The following commit(s) were added to refs/heads/main by this 
> > > > > > > push:
> > > > > > >      new fc6da54  Use "new" dlcdn download URLs
> > > > > > > fc6da54 is described below
> > > > > > >
> > > > > > > commit fc6da54d8ff0f5972364a249803aa521a5ff4105
> > > > > > > Author: Jean-Baptiste Onofré <jbono...@apache.org>
> > > > > > > AuthorDate: Mon Mar 21 14:49:28 2022 +0100
> > > > > > >
> > > > > > >     Use "new" dlcdn download URLs
> > > > > > > ---
> > > > > > >  src/components/artemis/download/index.md                | 2 +-
> > > > > > >  src/components/classic/download/index.md                | 6 
> > > > > > > +++---
> > > > > > >  src/components/cms/developers/creating-distributions.md | 8 
> > > > > > > +++-----
> > > > > > >  3 files changed, 7 insertions(+), 9 deletions(-)
> > > > > > >
> > > > > > > diff --git a/src/components/artemis/download/index.md
> > > > > > b/src/components/artemis/download/index.md
> > > > > > > index 07fe8bd..dcdfad0 100644
> > > > > > > --- a/src/components/artemis/download/index.md
> > > > > > > +++ b/src/components/artemis/download/index.md
> > > > > > > @@ -31,7 +31,7 @@ This is the current release of ActiveMQ Artemis
> > > > > > Native, which is a sub component
> > > > > > >
> > > > > > >  [Release Notes](release-notes-native-1.0.2)
> > > > > > >
> > > > > > > -Source 
> > > > > > > Distribution:|[apache-artemis-native-1.0.2-source-release.zip](
> > > > > > https://www.apache.org/dyn/closer.cgi?filename=activemq/activemq-artemis-native/1.0.2/activemq-artemis-native-1.0.2-source-release.zip&action=download)|[SHA512](https://downloads.apache.org/activemq/activemq-artemis-native/1.0.2/activemq-artemis-native-1.0.2-source-release.zip.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://downloads.apache.org/activemq/activemq-artemis-native/1.0.2/activemq-artemis-native-1.0.2-source-release.zip.asc)|
> > > > > > > +Source 
> > > > > > > Distribution:|[apache-artemis-native-1.0.2-source-release.zip](
> > > > > > https://dlcdn.apache.org/activemq/activemq-artemis-native/1.0.2/activemq-artemis-native-1.0.2-source-release.zip)|[SHA512](https://dlcdn.apache.org/activemq/activemq-artemis-native/1.0.2/activemq-artemis-native-1.0.2-source-release.zip.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://dlcdn.apache.org/activemq/activemq-artemis-native/1.0.2/activemq-artemis-native-1.0.2-source-release.zip.asc)|
> > > > > > >
> > > > > > >  This is the native layer used by ActiveMQ Artemis for storage. 
> > > > > > > The
> > > > > > broker binary archives above already include a pre-compiled version 
> > > > > > of this
> > > > > > component.
> > > > > > >  <br/>
> > > > > > > diff --git a/src/components/classic/download/index.md
> > > > > > b/src/components/classic/download/index.md
> > > > > > > index 58321ca..78e7953 100644
> > > > > > > --- a/src/components/classic/download/index.md
> > > > > > > +++ b/src/components/classic/download/index.md
> > > > > > > @@ -21,9 +21,9 @@ It is important to [verify the
> > > > > > integrity](#verify-the-integrity-of-downloads) of
> > > > > > >  **NOTE**: This is the last planned 5.15.x release. Users should 
> > > > > > > upgrade
> > > > > > to the current 5.16.x stream for ongoing releases.
> > > > > > >  {% endif %}
> > > > > > >
> > > > > > > -Windows|[apache-activemq-{{release.version}}-bin.zip](
> > > > > > https://www.apache.org/dyn/closer.cgi?filename=/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.zip&action=download)|[SHA512](https://downloads.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.zip.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://downloads.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.zip.asc
> > > > > > )
> > > > > > > -Unix/Linux/Cygwin|[apache-activemq-{{release.version}}-bin.tar.gz](
> > > > > > https://www.apache.org/dyn/closer.cgi?filename=/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.tar.gz&action=download)|[SHA512](https://downloads.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.tar.gz.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://downloads.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.tar.gz.asc
> > > > > > )
> > > > > > > -Source Code
> > > > > > Distribution:|[activemq-parent-{{release.version}}-source-release.zip](
> > > > > > https://www.apache.org/dyn/closer.cgi?filename=/activemq/{{release.version}}/activemq-parent-{{release.version}}-source-release.zip&action=download)|[SHA512](https://downloads.apache.org/activemq/{{release.version}}/activemq-parent-{{release.version}}-source-release.zip.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://downloads.apache.org/activemq/{{release.version}}/activemq-parent-{{release.version}}-source-release.zip.asc
> > > > > > )
> > > > > > > +Windows|[apache-activemq-{{release.version}}-bin.zip](
> > > > > > https://dlcdn.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.zip)|[SHA512](https://dlcdn.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.zip.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://dlcdn.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.zip.asc
> > > > > > )
> > > > > > > +Unix/Linux/Cygwin|[apache-activemq-{{release.version}}-bin.tar.gz](
> > > > > > https://dlcdn.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.tar.gz)|[SHA512](https://dlcdn.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.tar.gz.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://dlcdn.apache.org/activemq/{{release.version}}/apache-activemq-{{release.version}}-bin.tar.gz.asc
> > > > > > )
> > > > > > > +Source Code
> > > > > > Distribution:|[activemq-parent-{{release.version}}-source-release.zip](
> > > > > > https://dlcdn.apache.org/activemq/{{release.version}}/activemq-parent-{{release.version}}-source-release.zip)|[SHA512](https://dlcdn.apache.org/activemq/{{release.version}}/activemq-parent-{{release.version}}-source-release.zip.sha512)|[GPG
> > > > > > Signature](
> > > > > > https://dlcdn.apache.org/activemq/{{release.version}}/activemq-parent-{{release.version}}-source-release.zip.asc
> > > > > > )
> > > > > > >              {% break %}
> > > > > > >          {% endif %}
> > > > > > >      {% endfor %}
> > > > > > > diff --git 
> > > > > > > a/src/components/cms/developers/creating-distributions.md
> > > > > > b/src/components/cms/developers/creating-distributions.md
> > > > > > > index c50ba7e..d3ea662 100644
> > > > > > > --- a/src/components/cms/developers/creating-distributions.md
> > > > > > > +++ b/src/components/cms/developers/creating-distributions.md
> > > > > > > @@ -18,9 +18,7 @@ Under the source dir, we just drop the archive 
> > > > > > > files
> > > > > > (*.zip, *.tar.gz, *.zip.asc
> > > > > > >
> > > > > > >  The links on our download pages reference an apache CGI script to
> > > > > > handle the mirrors. This is a quick and dirty way of doing this, 
> > > > > > but it
> > > > > > works until we come up with a better way. An example usage of the 
> > > > > > link is
> > > > > > the url below:
> > > > > > >
> > > > > > > -[
> > > > > > http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-1.1-src.zip](http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-1.1-src.zip)
> > > > > > > -
> > > > > > > -The cgi script "closer.cgi" takes a file resource relative to 
> > > > > > > www/
> > > > > > www.apache.org/dist and generates a download page for it with the 
> > > > > > list of
> > > > > > mirrors.
> > > > > > > +[
> > > > > > https://dlcdn.apache.org/activemq/activemq-cpp/source/activemq-cpp-1.1-src.zip](https://dlcdn.apache.org/activemq/activemq-cpp/source/activemq-cpp-1.1-src.zip)
> > > > > > >
> > > > > > >  To see this in action, go to the amq-cpp 1.1 download page here:
> > > > > > [activemq-cpp-11-release.md](../../download/11-release)
> > > > > > >
> > > > > > > @@ -62,9 +60,9 @@ The page [ActiveMQ-CPP product version
> > > > > > number](Index/Overview/Download/ActiveMQ-
> > > > > > >      ````
> > > > > > >  *   Copy the distribution files to **/www/
> > > > > > www.apache.org/dist/activemq/activemq-cpp/source** on minotaur.
> > > > > > >  *   Wait 24 hours for the mirrors to be updated with the 
> > > > > > > distribution.
> > > > > > > -*   Update the links on the download page to reference your
> > > > > > distribution through the CGI script. This simply means that you 
> > > > > > precede the
> > > > > > file names with the path [
> > > > > > http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/](http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/)
> > > > > > .
> > > > > > > +*   Update the links on the download page to reference your
> > > > > > distribution through the CGI script. This simply means that you 
> > > > > > precede the
> > > > > > file names with the path [
> > > > > > https://dlcdn.apache.org/activemq/activemq-cpp/source/](https://dlcdn.apache.org/activemq/activemq-cpp/source/)
> > > > > > .
> > > > > > >      ```
> > > > > > > -    i.e.
> > > > > > http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-1.1-src.zip
> > > > > > > +    i.e.
> > > > > > https://dlcdn.apache.org/activemq/activemq-cpp/source/activemq-cpp-1.1-src.zip
> > > > > > >      ```
> > > > > > >  *   Generate the Doxygen API and place it under /www/
> > > > > > activemq.apache.org/cms/api_docs.
> > > > > > >  *   Add the link to the release API to the
> > > > > > [API](Index/Site/NavigationIndex/Site/Navigation/Index/Site/Navigation/api.md)
> > > > > > page.
> > > > > >

Reply via email to