Robert Milkowski wrote:
Martin Bochnig wrote:
On Fri, Aug 28, 2009 at 12:53 AM, Philip Brown<[email protected]> wrote:

....
SUNWxim does not depend on SUNWdtdte. Therefore, a patch for SUNWxim, has no
business pulling in an implied dependancy on SUNWdtdte either.
But it does, and the patch fails without it.

That fairly tightly fits my own personal definition of
 "broken patch creation policies/procedures".

So, how is switching to the "better technology" of IPS, going to solve this
problem of broken patch creation process inside of Sun?



Hey Phil: Very easy! As no "--no-deps" is "supported", your scenario
would not even be possible anymore, not at all. That's the solution
(really).
>>
> As Shawn and Bart posted today --nodeps will be supported via 'pkgrecv
> --nodeps ...; pkg install' which is fair enough and does make sense.


But that is still inadequate.
Sometimes, there are VALID patch dependancies. Sometimes, you really do NEED dependancies updated, when you update/patch one package, otherwise, the patch breaks things.

If "[pkg update]" is taking the place of "patchadd", then there should be a mode to pkg for, "install/update everything that is installed, but dont add anything NEW".


Otherwise, the --no-deps is inadequate.

Philip - the answer is relatively easy - as there are no patches in IPS.

Not exactly true. there will still be patches, effectively speaking. you're just not allowed to CALL them "patches" any more. they're just called "updates" or whatever.. but there still needs to be the same QA done as when you release a "patch", in terms of, "what does this change affect, what are the side effects, what else needs to be updated?"



And if sun doesnt improve the way they are handling patches right now, there will eventually be the exact type of problem I described in my original email:

Sun engineers will release a new "[patch/version/update]" of something, for bugfix purposes. But if they dont properly scope the update, it will either FAIL on deployment (because some truely required dependancy was not updated as needed), or it will pull in junk that isnt really needed on the system.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to