Mailinglist Archive: zypp-devel (53 mails)

< Previous Next >
Re: [zypp-devel] Re: [zypp-commit] r11552 - in /trunk/zypper/src: Zypper.cc install.cc repos.cc repos.h
  • From: jkupec@xxxxxxx
  • Date: Fri, 31 Oct 2008 12:13:57 +0100 (CET)
  • Message-id: <41528.10.20.10.81.1225451637.squirrel@xxxxxxxxxxxxxxx>
Michael Schroeder wrote:
On Thu, Oct 30, 2008 at 05:27:03PM -0000, jkupec@xxxxxxxxxxxxxxxx wrote:
- --from added to install command to mark packages
for installation (by glob/name) from specified
repos

So '--from' is like '--repo' with the difference that it does what
the user expects?

Both options make sense, don't you think? But i agree --from is something
that users will want much more often. (But expect bugs (i noticed one
problem in PoolQuery when testing --from) and bad performance with --from,
i will try to optimize it a bit next week).

(Btw, zypper's options are so messed up. I just saw that 'zypper sa'
also has a completly different '--repo' option.)

'sa' is not a zypper command, it's rug's. You can get a list of all
commands by just typing 'zypper'. But yes, zypper ar (addrepo) has
--repo, and it serves for specifying .repo file for adding. Since the
purpose of addrepo command is so much different from install or other
which have --repo option, i believe there is not much room for confusion.

Note that zypper makes difference between global and command-specific
options.

How would you like it to be, anyway? It's quite counterproductive to rant
and not suggest a thing.

--
cheers,
jano

Ján Kupec
YaST team
--------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
----------------------------------------------------------------

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References