[Bug 395480] New: zypper: add option -t package to default command lu
https://bugzilla.novell.com/show_bug.cgi?id=395480 Summary: zypper: add option -t package to default command lu Product: openSUSE 11.0 Version: Factory Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: qa@suse.de Found By: Beta-Customer Since most uninitiated people like me expect zypper to plainly list all updates available and get more or less confused by the fact that default setting is -t patch, I suggest that -t package gets added to default. zypper lu would then equal zypper lu -t patch -t package which runs nicely: # zypper lu -t package -t patch Downloading repository 'openSUSE-Updates-11.0' metadata [done] Building repository 'openSUSE-Updates-11.0' cache [done] Downloading repository 'openSUSE-Factory' metadata [done] Building repository 'openSUSE-Factory' cache [done] Downloading repository 'openSUSE-Factory-nonOSS' metadata [done] Building repository 'openSUSE-Factory-nonOSS' cache [done] Downloading repository 'Packman-openSUSE-11.0' metadata [done] Building repository 'Packman-openSUSE-11.0' cache [done] Downloading repository 'openSUSE-Factory-Debug' metadata [done] Building repository 'openSUSE-Factory-Debug' cache [done] Reading installed packages... Patches No updates found. Package updates No updates found. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c1
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User casualprogrammer@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c2
--- Comment #2 from Casual J. Programmer
https://bugzilla.novell.com/show_bug.cgi?id=395480
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c3
--- Comment #3 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=395480
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c4
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c5
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c6
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c7
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User froh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c8
Susanne Oberhauser
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c9
--- Comment #9 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User froh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c10
--- Comment #10 from Susanne Oberhauser
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c11
--- Comment #11 from Ján Kupec
To me running different commands for different repos is very confusing.
It's not about running different commands for different repos, it's about doing either a package-wise update or a patch-wise update on _all_ repos. Does this make better sense to you? However, your idea is also good (some pros and cons come to my mind), so i'd suggest to send it to the discussion on the ML (the patch vs. package updates thread), so that we don't discuss this in two places. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c12
--- Comment #12 from Ján Kupec
either a package-wise update or a patch-wise update on _all_ repos. eh.. i mean 'on _any_ repos'. All by default.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395480
User froh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c13
--- Comment #13 from Susanne Oberhauser
However, your idea is also good (some pros and cons come to my mind), so i'd suggest to send it to the discussion on the ML (the patch vs. package updates thread), so that we don't discuss this in two places. for reference, this is the thread: http://lists.opensuse.org/opensuse-softwaremgmt/2008-07/msg00005.html
it doesn't come to a conclusion either, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c14
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User froh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c15
--- Comment #15 from Susanne Oberhauser
So i'll do the following: * -t option default will be 'package' for 'up' and 'lu'
does this mean,t hat when in the past, packages were ignore with 'lu' and 'up', then in the future patches will be ignored? to me the least surprise had been to offer any types of updates, regardless wether they are patches or packages, so the default would be "--type any", and then you can force-focus on just packages or just patches using the --type argument explicitely. For that, the type argument could be allowed to be given several times, accumulating them all, or take a comma-separated list.
* two new commands will be added (patch, list-patches) * the 'lu' and 'up' commands will be synced to show the same * --raw (or something like that) option will be added to 'lu' to show all packages with newer available version regardless whether they are installable or not.
plus I still believe it's a very usefull thing to be able to set the defaults on a per repository basis, in the per-repo config file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c16
--- Comment #16 from Ján Kupec
(In reply to comment #14 from Ján Kupec)
So i'll do the following: * -t option default will be 'package' for 'up' and 'lu'
does this mean,t hat when in the past, packages were ignore with 'lu' and 'up', then in the future patches will be ignored?
exactly
to me the least surprise had been to offer any types of updates, regardless wether they are patches or packages, so the default would be "--type any", and then you can force-focus on just packages or just patches using the --type argument explicitely.
Might be. The reason why i did not consider this is that users always expected 'package updates' from 'update' (there are tens of bug reports). Plus YaST also does not mix the two update types. I'm not sure how it would look like if we mixed this. But we might still can change this, if more people will prefer your suggestion.
For that, the type argument could be allowed to be given several times, accumulating them all, or take a comma-separated list.
It is, see the initial comment.
* two new commands will be added (patch, list-patches) * the 'lu' and 'up' commands will be synced to show the same * --raw (or something like that) option will be added to 'lu' to show all packages with newer available version regardless whether they are installable or not.
plus I still believe it's a very usefull thing to be able to set the defaults on a per repository basis, in the per-repo config file.
I would like to discuss this, but why not do it on opensuse-softwaremgmt ML? Bugzilla is not a good discussion forum :O) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c17
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c18
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395480
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395480#c19
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com