Skip to content

Commit

Permalink
fix download system, use close.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarboni committed Oct 12, 2023
1 parent d5ae9a6 commit a75621e
Show file tree
Hide file tree
Showing 22 changed files with 38 additions and 100 deletions.
50 changes: 5 additions & 45 deletions modules/ROOT/pages/download/maven/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,55 +33,15 @@ for important requirements for download pages for Apache projects.
:toc-title:
:linkattrs:
== Mirror selection
////
use raw html to replace bracket items with apache mirror with the cgi script
////
++++
<p>
[if-any logo]
<a href="[link]"><img align="right" src="[logo]" border="0" alt="logo"/></a>
[end]
The currently selected mirror is <b>[preferred]</b>.
If you encounter a problem with this mirror,please select another mirror.
If all mirrors are failing, there are <i>backup</i> mirrors (at the end of the mirrors list) that should be available.
</p>
<form action="[location]" method="get" id="SelectMirror">
Other mirrors:
<select name="Preferred">
[if-any http]
[for http]
<option value="[http]">[http]</option>
[end]
[end]
[if-any ftp]
[for ftp]
<option value="[ftp]">[ftp]</option>
[end]
[end]
[if-any backup]
[for backup]
<option value="[backup]">[backup] (backup)</option>
[end]
[end]
</select>
<input type="submit" value="Change"/>
</form>
<p>
You may also consult the <a href="https://www.apache.org/mirrors/">complete list of mirrors.</a>
</p>
++++
== Apache NetBeans parent pom 2
== Apache NetBeans parent pom 4
|===
| | Links | Checksum | Signature
|Apache NetBeans parent pom 2 | link:++[preferred]netbeans/netbeans-parent/netbeans-parent-2/netbeans-parent-2-source-release.zip++[netbeans-parent-2-source-release.zip] | link:++https://downloads.apache.org/netbeans/netbeans-parent/netbeans-parent-2/netbeans-parent-2-source-release.zip.sha512++[netbeans-parent-2-source-release.zip.sha512] | link:++https://downloads.apache.org/netbeans/netbeans-parent/netbeans-parent-2/netbeans-parent-2-source-release.zip.asc++[netbeans-parent-2-source-release.zip.asc]
|Apache NetBeans parent pom 4
|link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans-parent/netbeans-parent-4/netbeans-parent-4-source-release.zip?action=download[netbeans-parent-4-source-release.zip]
|link:https://downloads.apache.org/netbeans/netbeans-parent/netbeans-parent-4/netbeans-parent-4-source-release.zip.sha512[netbeans-parent-4-source-release.zip.sha512]
|link:https://downloads.apache.org/netbeans/netbeans-parent/netbeans-parent-4/netbeans-parent-2-source-release.zip.asc[netbeans-parent-4-source-release.zip.asc]
|===
Expand Down
22 changes: 0 additions & 22 deletions modules/ROOT/pages/download/maven/index.cgi

This file was deleted.

2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb100/nb100.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ link:https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans/incu
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity] of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files). The PGP keys used to sign this release are available link:https://dist.apache.org/repos/dist/release/incubator/netbeans/KEYS[here].
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity] of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files). The PGP keys used to sign this release are available link:https://dist.apache.org/repos/dist/release/incubator/netbeans/KEYS[here].
Also see the following YouTube clip:
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb110/nb110.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ link:https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans/incu
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity] of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files). The PGP keys used to sign this release are available link:https://downloads.apache.org/incubator/netbeans/KEYS[here].
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity] of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files). The PGP keys used to sign this release are available link:https://downloads.apache.org/incubator/netbeans/KEYS[here].
TIP: Installers have been introduced for the first time in the next release, in Apache NetBeans 11.1. Go xref:download/nb111/nb111.adoc[here] for details.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb111/nb111.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/11.1/netbeans-11.1-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://archive.apache.org/dist/netbeans/KEYS[here].
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/download/nb112/nb112.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/11.2/Apache-NetBeans-11.2
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP signatures should be matched against the link:https://downloads.apache.org/netbeans/KEYS[KEYS] file which contains the PGP keys used to sign this release.
Expand All @@ -88,7 +88,7 @@ To build Apache NetBeans 11.2 from source you need:
Once you have everything installed then:
1. Unzip link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/netbeans-11.2-source.zip[netbeans-11.2-source.zip]
1. Unzip link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans/11.2/netbeans-11.2-source.zip[netbeans-11.2-source.zip]
in a directory of your liking.
[start=2]
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb113/nb113.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ TIP: The installers will NOT run under JDK 14 because usage is made of the Pack2
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP signatures should be matched against the link:https://downloads.apache.org/netbeans/KEYS[KEYS] file which contains the PGP keys used to sign this release.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb120/nb120.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.0/Apache-NetBeans-12.0
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP signatures should be matched against the link:https://downloads.apache.org/netbeans/KEYS[KEYS] file which contains the PGP keys used to sign this release.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb121/nb121.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb122/nb122.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.2/netbeans-12.2-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb123/nb123.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.3/netbeans-12.3-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb124/nb124.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.4/netbeans-12.4-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb125/nb125.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.5/netbeans-12.5-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/download/nb126/nb126.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ link:https://archive.apache.org/dist/netbeans/netbeans/12.6/netbeans-12.6-source
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
12 changes: 6 additions & 6 deletions modules/ROOT/pages/download/nb13/nb13.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,25 @@ NOTE: It's NOT recommended to link to github.
Apache NetBeans 13 is available for download from your closest Apache mirror.
- Binaries:
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/13/netbeans-13-bin.zip[netbeans-13-bin.zip] (link:https://downloads.apache.org/netbeans/netbeans/13/netbeans-13-bin.zip.sha512[SHA-512],
link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans/13/netbeans-13-bin.zip[netbeans-13-bin.zip] (link:https://downloads.apache.org/netbeans/netbeans/13/netbeans-13-bin.zip.sha512[SHA-512],
link:https://downloads.apache.org/netbeans/netbeans/13/netbeans-13-bin.zip.asc[PGP ASC])
- Installers:
* link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-windows-x64.exe[Apache-NetBeans-13-bin-windows-x64.exe] (link:https://downloads.apache.org/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-windows-x64.exe.sha512[SHA-512],
* link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-windows-x64.exe[Apache-NetBeans-13-bin-windows-x64.exe] (link:https://downloads.apache.org/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-windows-x64.exe.sha512[SHA-512],
link:https://downloads.apache.org/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-windows-x64.exe.asc[PGP ASC])
* link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-linux-x64.sh[Apache-NetBeans-13-bin-linux-x64.sh] (link:https://downloads.apache.org/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-linux-x64.sh.sha512[SHA-512],
* link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-linux-x64.sh[Apache-NetBeans-13-bin-linux-x64.sh] (link:https://downloads.apache.org/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-linux-x64.sh.sha512[SHA-512],
link:https://downloads.apache.org/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-linux-x64.sh.asc[PGP ASC])
* link:https://archive.apache.org/dist/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg[Apache-NetBeans-13-bin-macosx.dmg] (link:https://archive.apache.org/dist/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.sha512[SHA-512],
link:https://archive.apache.org/dist/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.asc[PGP ASC])
- Source: link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/13/netbeans-13-source.zip[netbeans-13-source.zip] (link:https://downloads.apache.org/netbeans/netbeans/13/netbeans-13-source.zip.sha512[SHA-512],
- Source: link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans/13/netbeans-13-source.zip[netbeans-13-source.zip] (link:https://downloads.apache.org/netbeans/netbeans/13/netbeans-13-source.zip.sha512[SHA-512],
link:https://downloads.apache.org/netbeans/netbeans/13/netbeans-13-source.zip.asc[PGP ASC])
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down Expand Up @@ -94,7 +94,7 @@ To build Apache NetBeans 13 from source you need:
Once you have everything installed then:
1. Unzip link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/13/netbeans-13-source.zip[netbeans-13-source.zip]
1. Unzip link:https://www.apache.org/dyn/closer.lua/netbeans/netbeans/13/netbeans-13-source.zip[netbeans-13-source.zip]
in a directory of your liking.
[start=2]
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/download/nb14/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for important requirements for download pages for Apache projects.
////
url-status depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
https://www.apache.org/dyn/closer.cgi/netbeans/ (//current)
https://www.apache.org/dyn/closer.lua/netbeans/ (//current)

url-download-keychecksum depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
Expand Down Expand Up @@ -76,7 +76,7 @@ link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-ve
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/download/nb15/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for important requirements for download pages for Apache projects.
////
url-download depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
https://www.apache.org/dyn/closer.cgi/netbeans/ (//current)
https://www.apache.org/dyn/closer.lua/netbeans/ (//current)

url-download-keychecksum depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
Expand Down Expand Up @@ -74,7 +74,7 @@ link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-ve
////
NOTE: Using https below is highly recommended.
////
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/download/nb16/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for important requirements for download pages for Apache projects.
////
url-download depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
https://www.apache.org/dyn/closer.cgi/netbeans/ (//current)
https://www.apache.org/dyn/closer.lua/netbeans/ (//current)

url-download-keychecksum depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
Expand Down Expand Up @@ -80,7 +80,7 @@ link:{url-download-keychecksum}netbeans-installers/{netbeans-version}/apache-net
* link:{url-download}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip[netbeans-{netbeans-version}-source.zip] (link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip.sha512[SHA-512],
link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip.asc[PGP ASC])
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/download/nb17/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for important requirements for download pages for Apache projects.
////
url-download depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
https://www.apache.org/dyn/closer.cgi/netbeans/ (//current)
https://www.apache.org/dyn/closer.lua/netbeans/ (//current)

url-download-keychecksum depends of release status archived or not
https://archive.apache.org/dist/netbeans/ (//archived)
Expand Down Expand Up @@ -80,7 +80,7 @@ link:{url-download-keychecksum}netbeans-installers/{netbeans-version}/apache-net
* link:{url-download}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip[netbeans-{netbeans-version}-source.zip] (link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip.sha512[SHA-512],
link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip.asc[PGP ASC])
Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
Officially, it is important that you link:https://www.apache.org/dyn/closer.lua#verify[verify the integrity]
of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
Expand Down
Loading

0 comments on commit a75621e

Please sign in to comment.