Mailinglist Archive: zypp-devel (148 mails)

< Previous Next >
Re: [zypp-devel] New resolvable state : recommended/suggested
  • From: Jan Kupec <jkupec@xxxxxxx>
  • Date: Fri, 28 Mar 2008 16:16:33 +0100
  • Message-id: <47ED0BD1.1000609@xxxxxxx>
Michael Matz wrote:
Hi,

On Fri, 28 Mar 2008, Duncan Mac-Vicar P. wrote:

Pool by itself is a transaction.

Ehh? No, it isn't. I never understood the use of the word 'transaction'
in libzypp (or "an item transacts", which gives me even more creeps). A

Yeah, i guess this 'transaction' is just a short version of 'things to
be acted upon by the transaction'. So how else should we call it?

j.

transaction is a collection of units of work, not a collection of things.
A unit of work, when applied to a thing gives you a new think, hence a
transaction is comparable to a function, and the pool comparable to a
simple set on which a transaction can be applied (giving you a new pool).

(For nitpicks: yes, a function also is just a special set, but it's
cleaner to differentiate between both concepts).

transaction (I will start calling the pool transaction since today, to
use the new buzz)

I hope you reconsider. My toenails curl up when I hear that :)


Ciao,
Michael.

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

< Previous Next >
Follow Ups