[indiana-discuss] Distro query
Stephen Hahn
sch at sun.com
Mon Dec 17 09:11:22 PST 2007
* Martin Man <Martin.Man at Sun.COM> [2007-12-17 13:50]:
> 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 :-))
In the long run, I agree with you; in the short term, I would much
rather:
- know that the APIs are convenient for new uses,
- stress the pkg.depotd server as much as possible, and
- not have to run another service until the development phase is
ended.
That is, we don't learn anything from running rsync--we know that it
will work.
- Stephen
--
sch at sun.com http://blogs.sun.com/sch/
More information about the indiana-discuss
mailing list