Hi,

I did not yet look into the script how complex it would be to integrate this.

However, is the current:

        ./scripts/Download -cfg <config> -required

not enough to download all you need?

        René

On Jan 7, 2016, at 13:08, scsijon <[email protected]> wrote:

> I was wondering if someone with scripting skills could do a minor (or maybe 
> not) change to this script please. That is of course if Rene is willing to 
> allow this to happen?
> 
> Currently it just does:
> 
> ---------------------------------------------------
> ./scripts/Download [options] [ Package(s) ]
> ./scripts/Download [options] [ Desc file(s) ]
> ./scripts/Download [options] -repository Repositories
> ./scripts/Download [options] { -all | -required }
> 
> Where [options] is an alias for:
>    [ -cfg <config> ] [ -nock ]  [ -alt-dir <AlternativeDirectory> ]
>    [ -mirror <URL> | -check ]  [ -try-questionable ]  [ -notimeout ]
>    [ -longtimeout ]  [ -curl-opt <curl-option>[:<curl-option>[:..]] ]
>    [ -proxy <server>[:<port>] ] [ -proxy-auth <username>[:<password>] ]
>    [ -copy ] [ -move ]
> 
> On default, this script auto-detects the best T2 SDE mirror.
> 
> Mirrors can also be a local directories in the form of 'file:///<dir>'.
> 
> ./scripts/Download -mk-cksum Filename(s)
> ./scripts/Download [ -list | -list-unknown | -list-missing | -list-cksums ]
> ---------------------------------------------------
> 
> But it can't do:
> 
> ./scripts/Download -cfg <config> -list-missing
> 
> All I get is a complete list equating to a:
> 
> ./scripts/Download -list-missing
> which gives you a list containing ALL the missing .bz2's for ALL the 
> /packages individual packages and not just those you are building with!
> 
> 
> The reason I would like this is that a lot of the time because my connection 
> is via satellite with long ping times and therefore very slow transfers I 
> need to download the files I need to update or add separately using wget, 
> which seems to work beautifully when curl won't for some reason, (but I don't 
> expect you to change over something that works for most). I then just 
> manually insert them in the correct local mirror directory, and then use 
> ./scripts/Download to do the conversion to a T2 source package. That's my 
> simple workaround for the problem.
> 
> If I can do:
> 
> ./scripts/Download -cfg <config> -list-missing -required
> 
> I can pipe it into a file that makes it easy to create the wget source file 
> to pull them from the T2 repository in one hit.
> 
> It also lets me check if I have it elsewhere before downloading (which is 
> expensive in Australia no matter which way you get it). And that will make it 
> even easier than messing with the missing-files file to create what I need.
> 
> with many thanks
> 
> scsijon

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
 DE Legal: Amtsgericht Berlin (Charlottenburg) HRB 105123B, Tax-ID#: DE251602478
 Managing Director: René Rebe
 http://exactcode.com | http://exactscan.com | http://ocrkit.com | 
http://t2-project.org | http://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to