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@suse.de 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org