Home Home > 2011 > 08 > 01 > [gsoc] osc code cleanup – summary of week 10
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

[gsoc] osc code cleanup – summary of week 10

August 1st, 2011 by

Hi,

here’s a small summary of the 10th (coding) week. This week I spent
most of my time with working on the package working copy class’
commit method. This also involved some code refactoring.
Basically commit and update are handled as “transactions” and all
relevant transaction data is stored in a single xml file
(pkg/.osc/_transaction/state). This way an update/commit is more or
less an atomic operation.
For more information have a look at [1] (class XMLTransactionState
+ subclasses and commit/update method).

TODO:

  • add update and commit methods for the project class

Marcus

[1] https://gitorious.org/osc2/osc2/blobs/master/osc/wc/package.py

Both comments and pings are currently closed.

Comments are closed.