Alistair Cunningham
2006-Mar-06 20:20 UTC
[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? -- Alistair Cunningham, Integrics Ltd, +44 20 799 39 799 sip:acunningham@integrics.com http://integrics.com/
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@integrics.com] Sent: Monday, March 06, 2006 8:20 PM To: Asterisk Users Mailing List - Non-Commercial Discussion; webmaster@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? -- Alistair Cunningham, Integrics Ltd, +44 20 799 39 799 sip:acunningham@integrics.com http://integrics.com/ _______________________________________________ --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
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@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@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@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@integrics.com] > >> Sent: Monday, March 06, 2006 8:20 PM > >> To: Asterisk Users Mailing List - Non-Commercial Discussion; > >> webmaster@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
we mirror all the files our selves so our scripts work flawlessly. --- Alistair Cunningham <acunningham@integrics.com> wrote:> 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? > > -- > Alistair Cunningham, > Integrics Ltd, > +44 20 799 39 799 > sip:acunningham@integrics.com > http://integrics.com/ > _______________________________________________ > --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>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Alistair Cunningham wrote:> 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?It's possible, but as other replies have already mentioned, it would be much safer for you to just mirror the files on your own server. We cannot make any promises that the directory structure would not change in the future :-)