[Bulk] Re: Default hook state and the test suite

John Arbash Meinel john at arbash-meinel.com
Mon Oct 25 17:41:50 BST 2010


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

On 10/25/2010 11:10 AM, Gordon Tyler wrote:
> On Mon, October 25, 2010 12:02 pm, John Arbash Meinel wrote:
>> On 10/25/2010 7:14 AM, Gordon Tyler wrote:
>>> On 10/25/2010 4:27 AM, Vincent Ladeuil wrote:
>>>> i.e. only the core plugins are covered. It's just a matter of adding
>>>> more parameters to the jobs and being to control which *version* of
>>>> which plugin is tested (nudge Gordon: that's why I'd prefer to reuse
>>>> our
>>>> already available bzrlib.config ;-).
>>>
>>> I used bzrlib.utils.configobj -- that's still in bzrlib. ;)
>>>
>>> But if you *really* object to raw use of configobj, then I suppose I
>>> could rewrite it to use dotted syntax for subsections. But I won't like
>>> it. ;)
>>
>> Except it is explicitly removed from debian-based (so debian and ubuntu
>> at least) packaging. The specific request was to use the system packages
>> whenever possible. So both configobj and elementtree are stripped out of
>> those packages.
>>
>> So at a minimum you should probably do:
>>
>> try:
>>   import configobj
>> except ImportError:
>>   from bzrlib.util import configobj
>>
>> Or something along those lines.
> 
> Ah, I see where the confusion is. When I say "raw configobj" I actually
> mean bzrlib.util.configobj. That's all I'm using.
> 
> Ciao,
> Gordon

Sorry I wasn't clear. "bzrlib.util.configobj" doesn't exist in installed
bzr on debian and ubuntu. They removed it, in favor of *only* having the
system "configobj" available.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzFs04ACgkQJdeBCYSNAAOgWACfd8ICousZclsF3K/1UzYjg3NT
oOIAoMq0GGV+TIltJesmWaYayHDdLz+4
=PC+n
-----END PGP SIGNATURE-----



More information about the bazaar mailing list