[Yum-devel] Xtrigger and package structures

Menno Smits menno-yum at freshfoo.com
Sun Sep 5 04:55:11 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Seth,

How do we go from here with the XTrigger work? Should I wait for you to
provide the data structures to pass in to the XTrigger class or do you
want me to have a try at this? My yum internals knowledge is still
minimal but this might be a good way for me to start learning.

Menno


Menno Smits wrote:

| The structures you propose look good and should work nicely for the pre
| and post (per package) transaction functionality. What about the more
| global operations that would run, for example, before any package
| updates are run (eg. diplaying a prompt if more than N packages are to
| be removed)? Would you see yum just passing XTrigger a list of all
| package objects for all updates to be performed?
|
| Based on what you've showed me it seems I should possibly be renaming
| the "state" parameter of XTrigger.run() to "stage" instead to avoid
| confusion with the package states.
|
| regards,
| Menno
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBOpwvWH92Dls5JXwRAqVZAKCyOdVPrKq9ekPNMhsqkrHTiZvcpwCgma34
028sMWtrStCnq/KNVHgArqM=
=BxBk
-----END PGP SIGNATURE-----



More information about the Yum-devel mailing list