[indiana-discuss] Distro query

Anil Gulecha anil.verve at gmail.com
Thu Dec 13 18:59:29 PST 2007


On 12/13/07, Stephen Hahn <sch at sun.com> 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.

Can you point me to the source that actually parses the catalog and
creates the link used by GET. If I can generate the link, I'll go
ahead and write the script up.



Regards
Anil



More information about the indiana-discuss mailing list