Emanuele Pucciarelli wrote:
On Wed, Sep 16, 2009 at 20:37, Shawn Walker <[email protected]> wrote:
This will break in the near future, and we politely ask folks to not use
scripts such as these.

Apologies. I think I did explain my intentions when I dropped by on
#pkg5 to ask for clarifications about the catalog format (which I got
promptly and very politely!), but I hadn't got any hint that this was
frowned upon.

What you've just written in reply to Robert looks very promising.
Whatever I do in the meantime, I'll make sure not to take any "brute
force" approach and use pkgrecv, as you said, sparingly.

Mirroring a single build (plus unbundleds such as Sun Studio) that a user is interested in isn't likely of much concern.

The main concern is with scripts like these that attempt to mirror the entire repository contents regardless of build version.

In particular, there is 111GB+ of data in the /dev repository, and as you might imagine, that puts a wee bit of strain on the pkg servers and bandwidth usage if you attempt to retrieve it all at once.

pkgrecv makes it almost trivial to retrieve every package part of a build you'd be interested in with something like:

pkgrecv -s http://pkg.opensolaris.org/dev -d ... -r [email protected],5.11-0.122 [email protected],5.11-0.122

We'd also ask that if you do choose to mirror, that you do so at 02:00 AM local time.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to