Unfortunately not, the problem we have as I see it, mainly seem to relate to curl and it's handling of satellite down here in australia, as I mentioned below @>2>. The funny thing is that wget (puppy's standard) doesn't have the problem. Even using the options -notimeout or even -curl-option <and setting it impossibly longer again after 'talking' to one of the curl people>, often just doesn't work, giving errors such as this one:

-------------------
Finished downloading 475 bytes in 42.797 seconds (11.000 bytes/sec).
curl: (28) Operation too slow. Less than 10 bytes/sec transferred the last 20 seconds
ERROR: CURL Returned Error 28. Please read the curl manpage.
-------------------

I suspect it's something to do with the satellite transmission data burst method used and load on our one ipstar* satellite.

We did 'talk' about it once before when I started using T2, but nothing conclusively worked. In the end i've been and still are using the workaround I mentioned below, but the (minor?) change to /Download would ease that considerably.

I don't know how hard it would be to change ./scripts/Download to use wget either, but I admit that in my mind at least, would be the preferable option as it can then do a continue for large files and seems to be able to handle any type of line, even the noisy dialup 56k modem ones down here.

sorry, but..
scsijon

On 01/07/2016 11:21 PM, René Rebe wrote:
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!



>2>

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




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

Reply via email to