flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik de Bruin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33149) Create webservice that returns the preferred mirror url given a path to an Apache project release
Date Thu, 02 Aug 2012 11:51:02 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427250#comment-13427250

Erik de Bruin commented on FLEX-33149:

Excellent idea. I've updated my contribution to include this fallback, which is triggered
when the CGI is not found.

Note: this solution is now part of my 'mega-patch', attached to FLEX-33106. I have removed
all my other patches. I was getting my patches crossed, and as the Ghostbusters noted: "Don't
cross the patches… It would be bad… Try to imagine all life as you know it stopping instantaneously
and every molecule in your body exploding at the speed of light." ;-)
> Create webservice that returns the preferred mirror url given a path to an Apache project
> -------------------------------------------------------------------------------------------------
>                 Key: FLEX-33149
>                 URL: https://issues.apache.org/jira/browse/FLEX-33149
>             Project: Apache Flex
>          Issue Type: Sub-task
>            Reporter: OmPrakash Muppirala
>            Assignee: Bertrand Delacretaz
>            Priority: Critical
> Erik de Bruin's proposal:
> 1. Create 'single-mirror-url.cgi' in the root of the site (i.e. http://incubator.apache.org/flex/single-mirror-url.cgi)
with these three lines:
> #!/bin/sh
> # Wrapper around the standard mirrors.cgi script
> exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
> 2. Create 'single-mirror-url.html' (.mdtext?) next to the .cgi from step 1., with only
this line:
> [preferred]
> 3. Set CGI script permissions to executable:
> % chmod a+x single-mirror-url.cgi
> 4. In 'ApacheFlexConfig.xml', change the 'path' attribute of the 'ApacheFlexSDK' node
to "/incubator/flex/4.8.0-incubating/binaries/" and the 'file' attribute to "apache-flex-sdk-4.8.0-incubating-bin.zip".
Note: the application (when patched) will take care of the addition of the mirror domain to
complete the URL.
> 5. Apply patches to InstallApacheFlex source:
> InstallApacheFlex.txt for InstallApacheFlex.mxml
> ViewResourceConstants.txt for ViewResourceConstants.as
> RuntimeLocale.txt for RuntimeLocale.as
> HTH and that I understood the rules and regulations for patching, commenting etc. correctly
(if not, please tell me and I'll behave better next time). 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message