[Asterisk-Users] Asterisk download file locations

Colin Anderson ColinA at landmarkmasterbuilder.com
Tue Mar 7 08:22:18 MST 2006


Or hardcode the Digium URL in your script and on failure grab from your
mirrors, and to make absolutely sure your mirror should resolve to a DNS
name and then if *that* fails, a hardcoded IP. That way, you get 3 layers. 

-----Original Message-----
From: Joseph Tanner [mailto:joseph at thetechguide.com]
Sent: Monday, March 06, 2006 9:46 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Asterisk download file locations


If it's a commercial product, you should definitely mirror the files. 
Not only because you're benefiting financially, but because you need
full control.  Perhaps you'd like to incorporate a patch or two in the
source?  Or maybe you'd like to use a stable label, so the script
downloads stable.tar.gz.  Once you've tested a new version and it
works with your customizations/patches/whatever, you just upload it
and rename it as stable.tar.gz, and any customer who runs your script
automatically gets the latest and greatest.

You could simulate some of this without mirroring asterisk though. 
Have the script check your server for a value, say the location to
download asterisk.  This will let you update the URL if it changes, or
have it point to a newer version of asterisk, etc.  Of course, I would
hardcode in some values that the script could use, in case it can't
reach your server but can reach digium's.

Just some thoughts.

Joseph Tanner

On 3/6/06, Peter Fern <pete at keypoint.com.au> wrote:
> Still, if you mirror them yourself, this problem all but goes away.
>
> Alistair Cunningham wrote:
>
> > Colin,
> >
> > Because having the logic is not the correct thing to do from an
> > engineering point of view. Consider:
> >
> > - What if Digium change the directory structure again? Having a
> > published directory structure is the elegant thing to do.
> >
> > - Not only does it break build scripts but it breaks search engines too.
> >
> > - Our scripts already have more conditional logic than I'm happy with,
> > dealing with all the inconsistencies that Linux distributions throw at
> > us. Anything which makes the installation process less brittle is a
> > good thing.
> >
> > Alistair Cunningham,
> > Integrics Ltd,
> > +44 20 799 39 799
> > sip:acunningham at integrics.com
> > http://integrics.com/
> >
> >
> > Colin Anderson wrote:
> >
> >> Why wouldn't you build in trivial conditional logic into your script or
> >> mirror the Asterisk builds yourself?
> >>
> >> -----Original Message-----
> >> From: Alistair Cunningham [mailto:acunningham at integrics.com]
> >> Sent: Monday, March 06, 2006 8:20 PM
> >> To: Asterisk Users Mailing List - Non-Commercial Discussion;
> >> webmaster at digium.com
> >> Subject: [Asterisk-Users] Asterisk download file locations
> >>
> >>
> >> This is a request to the website manager for asterisk.org.
> >>
> >> The build scripts for our ITSP product include the URLs to download
> >> the Asterisk files, such as:
> >>
> >> wget "http://ftp.digium.com/pub/asterisk/asterisk-1.2.5.tar.gz"
> >>
> >> However, if a new version is released, asterisk-1.2.5.tar.gz is moved
> >> to the "old" directory. This breaks our scripts until we can update
> >> them and send them to our resellers.
> >>
> >> Would it be possible to have a fixed address for a particular
> >> asterisk release that will never (or at least not for a long time)
> >> change? Perhaps put all (except very old) versions in the same
> >> directory, with a   'latest' link to the latest one?
> >>
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list