Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
Re: [zypp-devel] services in zypper
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 3 Sep 2008 19:02:22 +0200
  • Message-id: <20080903170222.GA794@xxxxxxx>
On Wed, Sep 03, 2008 at 01:08:40PM +0200, Jan Kupec wrote:
Michael Schroeder wrote:
Why's there a different interface? Can't zypper just use the repo
command set and use type "service" for a service?

Because it's quite different thing - it's a repository index, which
serves for auto-managing repositories on your machine - it's one level
higher in the repo management.

Maybe it's different internally, but the interface looks very
similar.

You can't e.g. specify a service as the --repo (well, that could be
transformed into individual repos),

But that would be a feature for the future, wouldn't it? I.e.
"install a package from a service".

you still need two different command
for listing services and listing repos (standalone and the ones from
services),

"zypper lr -t service"?

and you still need to manipulate both the services, and the
repos they contain, which you can't do using one command set (how would
you e.g. disable a repository within a service?).

My suggestion was to make "zypper lr" show both the services and
the repositories. You would disable a repo within a service like
with your implementation.

I must admin that I don't know the exact specification of services
(is there some documentation), so maybe I'm missing something.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >