[Bug 382840] New: locking of recommends
https://bugzilla.novell.com/show_bug.cgi?id=382840 Summary: locking of recommends Product: openSUSE 11.0 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: dmueller@novell.com QAContact: dmacvicar@novell.com Found By: --- echo bash-completion >> /etc/zypp/locks rpm -e bash-completion zypper install foobar (where foobar is a valid package, not installed and not related in any way to bash-completion) will also install bash-completion. -- 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=382840
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c1
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=382840
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c2
--- Comment #2 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=382840
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c3
--- Comment #3 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=382840
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c4
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=382840
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c5
Josef Reidinger
Eek. Can't we go back to some format that is intuitive?
Old format have problem, that is very limited. If you want lock only updates it is not possible. New format allow it, I write some guide how to write in new format. Format is quite intuitive attribute: value. -- 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=382840
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c6
--- Comment #6 from Ján Kupec
Eek. Can't we go back to some format that is intuitive?
I don't know, we now support all that PoolQuery supports. The minimum is: solvable_name: kde this matches all packages containing the 'kde' substring IIRC This is what zypper saves when addlock kde* is used: kind: package string_type: glob case_sensitive: off solvable_name: kde* We can still revise the details of the format. Discuss it at zypp-devel, pls. We could use the old format, but we needed to extend it with 'kind' anyway, so this format (with which you can specify any PoolQuery) looked like the way to go. -- 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=382840
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c7
--- Comment #7 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=382840
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c8
--- Comment #8 from Josef Reidinger
we need to have documentation in the man page and a converter from old to new format that we can call in %post of libzypp
yes, I work on both -- 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=382840
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c9
--- Comment #9 from Ján Kupec
The soft locks (lock recommends only) automagically maintained by zypp will go to /var/lib/zypp/SoftLocks (plain solvable names, one per line).
What about pattern recommends? A product recommending a pattern, or a pattern recommending another pattern? -- 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=382840
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c10
--- Comment #10 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=382840
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c11
--- Comment #11 from Josef Reidinger
I don't see the need of "kind", the solver's dependencies don't need it as well. Just use:
screen - a package named screen patch:glibc - kind = patch, name = glibc screen/i - case insensitive screen* - always allow globs, as *?[ are not valid in names
Isn't confusing if we have two different format for locks? or this locks isn't for users and only for UIs? -- 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=382840
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c12
--- Comment #12 from Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=382840
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c13
--- Comment #13 from Michael Andres
I don't see the need of "kind", the solver's dependencies don't need it as well.
The solver's dependencies don't HAVE it. Maybe kind is not urgently needed to resolve dependencies, but it is a major key for queries... (you know) -- 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=382840
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c14
--- Comment #14 from Michael Andres
The soft locks (lock recommends only) automagically maintained by zypp willgo to /var/lib/zypp/SoftLocks (plain solvable names, one per line).
What about pattern recommends? A product recommending a pattern, or a pattern recommending another pattern?
If a soft lock is applied to a pattern the line reads: pattern:foo -- 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=382840
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c15
Michael Andres
(In reply to comment #7 from Stephan Kulow)
we need to have documentation in the man page and a converter from old to new format that we can call in %post of libzypp
yes, I work on both
@Josef: Maybe you'd like to keep it as a reminder for the above. Otherwise close it. -- 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=382840
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c16
--- Comment #16 from Josef Reidinger
(In reply to comment #8 from Josef Reidinger)
(In reply to comment #7 from Stephan Kulow)
we need to have documentation in the man page and a converter from old to new format that we can call in %post of libzypp
yes, I work on both
@Josef: Maybe you'd like to keep it as a reminder for the above. Otherwise close it.
OK, document is done in wiki and after some fill unknown attribute is changed to own man page (not in zypper, own man locks). converter now need wait for PoolQuery, because current locks doesn't support version restriction as in old format e.g. foo <= 1.1.0 So I keep it open until convertor is done. -- 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=382840
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c17
Josef Reidinger
https://bugzilla.novell.com/show_bug.cgi?id=382840
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382840#c18
Josef Reidinger
participants (1)
-
bugzilla_noreply@novell.com