incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carol Frampton <cfram...@adobe.com>
Subject Re: updating ApacheFlexSDK URL in Om's installer
Date Fri, 27 Jul 2012 13:04:18 GMT
{from infra}

On 7/27/12 3 :08AM, "Greg Stein" <gstein@gmail.com<mailto:gstein@gmail.com>> wrote:


I read your entire email. Are you suggesting that the app should interpret a Location: header
in a 3xx redirect? If so, then please be less subtle.

Second, *is* there such a redirect feature? (just checked; no)

Absent clarity when I read your email, I knew that Carol's proposed solution would work and
seemed an entirely reasonable solution.

They could certainly write their own CGI to interpret the mirrors list. It might be "faster"
(in a ridiculously moot sort of fashion). But a teeny invocation script and small template
is likely more maintainable for the project, given arbitrary changes that may occur around
the system underlying closer.cgi/mirrors.cgi.

-g

On Jul 27, 2012 2:55 AM, "Daniel Shahaf" <d.s@daniel.shahaf.name<mailto:d.s@daniel.shahaf.name>>
wrote:
Greg Stein wrote on Thu, Jul 26, 2012 at 17:23:56 -0400:
> That link works for a web browser to generate a default download page.
>

Read the second paragraph I wrote too please.

> Carol: your solution looks proper for retrieving a simple URL for use
> within an application (desktop, I presume?)
>
> If you have any problems with the CGI script, please feel free to contact
> me. I've done a bit of work on it.
>
> Cheers,
> -g
> On Jul 26, 2012 12:06 PM, "Daniel Shahaf" <d.s@daniel.shahaf.name<mailto:d.s@daniel.shahaf.name>>
wrote:
>
> > Try this link: http://www.apache.org/dyn/closer.cgi/incubator/flex/
> >
> > I'm pretty sure there is a query string parameter you can add to make it
> > do a redirect, too, rather than just tell you what the preferred mirror is.
> >
> > Thanks for asking,
> >
> > Daniel
> >
> > Carol Frampton wrote on Thu, Jul 26, 2012 at 08:56:37 -0700:
> > > {sent on behalf of Erik de Bruin <erik@ixsoftware.nl<mailto:erik@ixsoftware.nl>>
who is a member
> > of flex-dev}
> > >
> > > Hi all,
> > >
> > > I'm writing on behalf of the Apache Flex (incubating) community. We're
> > > working on a tool that helps an end-user to download and install our
> > > binaries to the correct location on their system for use in an IDE.
> > >
> > > We would like to do this the proper way, which in our understanding is
> > > by using a dynamically assigned download mirror instead of a
> > > hard-coded link. I've read all of the documentation I could find and
> > > I've come up with the following solution:
> > >
> > > 1. create a wrapper around the generic 'mirrors.cgi', as described in
> > [1];
> > > 2. create a HTML file containing only the tag: [preferred]. We need
> > > only one mirror URL as this is an automated download process;
> > > 3. place these two in the root of our project site;
> > > 4. call the wrapper CGI as a web service from our application, and use
> > > the result for the domain section of the URL.
> > >
> > > My questions:
> > > - is this a valid solution?
> > > - is there an 'easier' way to get a single dynamic mirror URL?
> > > - what did I miss, what did I forget to ask?
> > >
> > > Thank you very much for your assistance and patience,
> > >
> > > EdB
> > >
> > > [1] http://www.apache.org/dev/release-download-pages.html
> > > </message>
> > >
> > > EdB
> > >
> >

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message