Mailinglist Archive: zypp-devel (11 mails)
| < Previous | Next > |
Re: [zypp-devel] Bug 736100 - libzypp's patches application rules are flawed
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Mon, 19 Dec 2011 11:27:47 +0100
- Message-id: <20111219102747.GA30262@heron.suse.de>
* Michael Andres <ma@xxxxxxx> [Dec 13. 2011 09:25]:
So we need to make the patch dependency information richer to cover
such situations.
Patches could get a 'vendor' string and only apply to packages with a
matching vendor.
Then one has three possibilities
1. All packages referenced by the patch have the same vendor as the
patch (normal situation)
-> patch is valid and should be considered
2. No package referenced by the patch has the same vendor as the
patch (all packages from different vendor)
-> patch is invalid and must not be considered
3. Some packages referenced by the patch have the same vendor as the
patch and some packages don't (vendor mix)
-> user must decide
Klaus
---
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: zypp-devel+owner@xxxxxxxxxxxx
See https://bugzilla.novell.com/show_bug.cgi?id=736100
The point is that suse patches indeed conflict with packages shipped by
another vendor.
So we need to make the patch dependency information richer to cover
such situations.
Patches could get a 'vendor' string and only apply to packages with a
matching vendor.
Then one has three possibilities
1. All packages referenced by the patch have the same vendor as the
patch (normal situation)
-> patch is valid and should be considered
2. No package referenced by the patch has the same vendor as the
patch (all packages from different vendor)
-> patch is invalid and must not be considered
3. Some packages referenced by the patch have the same vendor as the
patch and some packages don't (vendor mix)
-> user must decide
Klaus
---
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: zypp-devel+owner@xxxxxxxxxxxx
| < Previous | Next > |