delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/07/19:09:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <027201c286bb$109b8870$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021107101725 DOT 0299c540 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021107104402 DOT 02c06c10 AT pop3 DOT cris DOT com>
Subject: Alternate Cygwin download methods (was Re: NO huge packages, please!)
Date: Fri, 8 Nov 2002 00:09:11 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> At 10:38 2002-11-07, Peter A. Castro wrote:
>> Except that they end up either having to craft the commands to pull
>> only those package directories they really want, or pull the whole
>> she-bang. Again, not ideal.  If I get time, I'll look at Setup and
>> see what it might take to add this "feature" (no guarantees, though).

Randall R Schulz <rrschulz AT cris DOT com> wrote:
> Well, that's what shell scripts are for, right? Personally, I have a
> very low threshold of reuse or repetition before I dash off a script
> to relieve me of "manual" effort. I just hate repeating myself!
>
> Be sure to review Max Bowsher's recent mail about the Setup code.
> Apparently it (Setup's source) is in slight disarray with some ongoing
> enhancements in progress.

I thought I might as well mention my download method:
I wrote a little script to get a setup.ini file from a mirror, and then use
Michael Chase's clean_setup.pl to make a list of URLs to get, and pass that
to wget. I then invoke clean_setup.pl again, which tidys the files away into
their correct location in the directory tree.
The great advantage is:- You can mirror only [curr] files, and clean_setup
can delete/move files as the become [prev]. Plus, you can exclude packages
by globbing on the package name.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019