Paul,
Thanks for the changes. It took me a while as I had to apply the
changes manually. Patches in the body of an email tend to get mangled.
For future patches (and it'll be easier for me to apply them and they'll
get uploaded faster) can you do this (as an example):
cp install install.orig
edit install
diff -urN install.orig install > install.choose_an_sfsite.patch
Then, send an email to the devel list with
"install.choose_an_sfsite.patch" as an attachment.
Now, with that in mind, I have a couple of additional improvements, that
I think would be really nifty if your up to it:
* rename the -sfsite option to --mirror
* add an option: --mirror-list, which would show you a list of
available mirrors in a format where you could cut and paste the one
you wanted as an argument to --mirror PASTED.
For example, the output might look like this:
% ./install --list
Mirror sites that you can use with the --mirror option:
easynews
puzzle
optusnet
[etc...]
Thanks again for the changes, and I've got the updated install file up
at: http://sisuite.org/install
Cheers,
-Brian
Thus spake Paul Greidanus ([EMAIL PROTECTED]):
-------- Original Message --------
Subject: Re: [Sisuite-devel] install changes to use sourceforge mirror
Date: Mon, 05 Dec 2005 15:04:27 -0700
From: Paul Greidanus <[EMAIL PROTECTED]>
To: SIS Devel <sisuite-devel@lists.sourceforge.net>
References: <[EMAIL PROTECTED]>
Ok, I just reread my diff, and realised how much cruft I left in there
from a few other ideas on how to implement..
This one should work better:
Index: install
===================================================================
RCS file: /cvsroot/sisuite/sisuite/install,v
retrieving revision 1.9
diff -r1.9 install
74a75
"sfsite=s" => \$opt{sfsite}
191c192,196
<
---
if ($opt{sfsite} && $url =~ m/install.sisuite.org/) {
$url =~ s^http://install.sisuite.org/sourceforge^^;
$url =
"http://$opt{sfsite}.dl.sourceforge.net/sourceforge" . $url;
}
412c417
< [--list] [--package-list FILE] [--tag ($tags)]
---
[--list] [--package-list FILE] [--tag ($tags)]
[--sfsite (sfsite)]
428a434,436
--sfsite (mirror)
Select to download via a sourceforge mirror, rather then
sisuite.org
mirror need to be a valid sourceforge mirror (i.e. us or eu)
Paul Greidanus wrote:
Hi All,
I hacked a few little changes into the install script, to allow for the
use of sourceforge mirrors, rather then the install.sisuite.org site for
downloads. Basically, if you put a --sfsite (site) on the command line,
it comes into action, rewrites the URLS from the stable.list or
devel.list into the corresponding (site).dl.sourceforge.net site. No
checking is done on what the user selects as their sfsite.. does it need
it?
--
Paul Greidanus
CAD Administrator / Systems Administrator
Center of Excellence in Integrated Nanotools University of Alberta
[EMAIL PROTECTED] 780-492-7368
http://www.cein.ualberta.ca
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel
--
Paul Greidanus
CAD Administrator / Systems Administrator
Center of Excellence in Integrated Nanotools University of Alberta
[EMAIL PROTECTED] 780-492-7368
http://www.cein.ualberta.ca
--
Brian Elliott Finley
Mobile: 630.631.6621
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel