[indiana-discuss] Distro query

Martin Man Martin.Man at Sun.COM
Mon Dec 17 05:50:07 PST 2007


Stephen Hahn wrote:
> * Anil Gulecha <anil.verve at gmail.com> [2007-12-13 13:40]:
>> *There is no way currently to mirror the data from pkg.opensolaris.org
>> currently. I am told work is underway to allow this and I'm waiting
>> for this too.
> 
>   The image packaging "protocol" is a series of GET and POST operations
>   over HTTP.  Writing a mirroring program should be a relatively simple
>   exercise in either shell or Python, depending on which API you wish to
>   use.  Using the Python APIs will help the image packaging effort have
>   interfaces of higher utility.  
> 
>   That is, the data is already available to mirror.

I belive that in the long run this should be as simple as rsync(1)-ing a 
dir... When I see this GET/POST + python magic to move bits from A to B 
it makes me think of over-engineering and reinventing the wheel :-))

>   - Stephen

just my .2 cents,
Martin

-- 
There are no bad questions, only bad answers...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.opensolaris.org/pipermail/indiana-discuss/attachments/20071217/a1f05d7c/attachment.bin>


More information about the indiana-discuss mailing list