[ANN] Bzr config uitilty 0.3.1

Alexander Belchenko bialix at ukr.net
Wed Mar 14 14:34:18 GMT 2007


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

OK, I found some other problems with creating bazaar.conf
from the scratch, and debugging leads me to bzrlib.config.
I mistakenly rely on this module, but in fact I need my own
more safe and robust implementation for bzr config
read/modify/write.

Especially this comment from Robert:

    def set_user_option(self, option, value):
        """Save option and its value in the configuration."""
        # FIXME: RBC 20051029 This should refresh the parser and also take a
        # file lock on bazaar.conf.

I think it's time to significantly refactoring of existing
config code in bzrlib. But, after 0.15 release, when we learn
how to deal with file locks in right way.

I'd like to file a bug, but I cannot verbalize what exactly wrong,
and how we should deal with old version of bzr, that don't obtain
any lock on bazaar.conf during changing it.

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+AfqzYr338mxwCURAs8mAJ4xbrzvT/iImj0+dppYsyhjo/DmNQCghbO6
c/iiJpwmh8q/2G0tRrvsW5s=
=FdNz
-----END PGP SIGNATURE-----



More information about the bazaar mailing list