Shawn Walker wrote:
On 08/27/10 05:08 PM, Darren Reed wrote:
Shawn Walker wrote:
...
It says *network* access; the pkgsend man page quite clearly states
that you can access a repository directly using file:// URIs.

But the path to the repository is the same as path to the depot given
with "-d" to pkg.depotd, right?

Given that it then seems to me that the depot and repository are one and
the same?

But, they are not. Yes, the path is the same because it is a path to a repository. pkg.depotd provides *network* access to a repository.

...
Why can't I configure both at the same time, through the same
configuration file?

Because they can be used independently.

How do I use a depot independently from a repository?

I can understand that I don't need a depot server in order to access a
repository using file://, but I don't understand what I can do with
pkg.depotd that isn't related to a repository - at least the man page
doesn't tell me that I can.

Yes, pkg.depotd itself is useless without a repository, but a repository can be used without pkg.depotd.

They're also independent in the sense that they're often managed by different groups of people. The group of people that produce and create package repositories (at least for us) is likely to be very different than the group that manages depot servers.

As a result, configuration and administration is separate.

I see. Makes sense when it's explained like that.

Can there be multiple repositories in a single depot?

A depot can't have things "in it"; a depot just serves repositories.
If your question is whether a depot can serve multiple repositories,
that's something still under consideration.

That's counter intuitive to the normal use of the word "depot", when you
think of what a "bus depot" is. I suppose you might say that a "bus
depot" serves buses but there are most definitely buses in it at various
times of the day. A bus depot could be a home to different types of
buses, or even non-bus vehicles, but ... I don't know if you'd say there
were multiple repositories there.

Sorry, but I don't see it that way.

Are there any design documents or blog posts that cover this?

I'd really like to get a better understanding of the design and reading
man pages isn't really the best for that. I've had a read through of the
documentation for IPS in 2009.06 and neither does that really
get into the depot/repository design.

Thanks,
Darren

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

Reply via email to