This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/remove-download-cgi
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 3755ac500c296e2e1d20889ea264c684a3b99177
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Sat Dec 7 20:26:28 2024 +0100

    [MNGSITE-546] Remove download.cgi and instead leverage the global one
    
    This is provided by
    
https://github.com/apache/infrastructure-p6/blob/1bd0e53353181cf46865b5ec8f5e4fa16541ce7e/modules/closer_cgi/files/closer-cgi.conf#L6
    which calls closer.lua
    
    Further information in
    https://infra.apache.org/release-download-pages.html#custom
---
 content/resources/download.cgi | 4 ----
 pom.xml                        | 2 --
 2 files changed, 6 deletions(-)

diff --git a/content/resources/download.cgi b/content/resources/download.cgi
deleted file mode 100755
index 495cde12..00000000
--- a/content/resources/download.cgi
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# Just call the standard mirrors.cgi script. It will use download.html
-# as the input template.
-exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7d6a9858..622e8263 100644
--- a/pom.xml
+++ b/pom.xml
@@ -260,8 +260,6 @@
             <phase>site</phase>
             <configuration>
               <target>
-                <!-- mirror cgi script: see 
http://www.apache.org/dev/release-download-pages.html#custom -->
-                <chmod 
file="${project.reporting.outputDirectory}/download.cgi" perm="ugo+rx" />
                 <!-- links to components directories containing releases 
documentation: http://maven.apache.org/developers/website/ -->
                 <symlink action="recreate" overwrite="true">
                   <fileset dir="${project.reporting.outputDirectory}" 
includes="**/components.links" />

Reply via email to