Can't create a Build that is a substring of an existing one

Joe Marcus Clarke marcus at marcuscom.com
Wed Sep 13 16:00:45 EDT 2006


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

Boris Samorodov wrote:
> On Tue, 12 Sep 2006 01:51:59 -0400 Joe Marcus Clarke wrote:
>> On Tue, 2006-09-12 at 09:42 +0400, Boris Samorodov wrote:
> 
>>> I'm using misc/tinderbox 2.3.2. If I try to create a Build "bsam"
>>> while having the Build "bsam-exp" with the same Jail, the script ./tc
>>> says that "The Build already exists". When I rename the Build (by psql
>>> command line) to, say "bbb", a new Build "bsam" is created. Then I'm
>>> able to rename the Build "bbb" back to "bsam-exp" and all is going on
>>> well.
>>>
>>> Is it a known bug or am I missing something?
> 
>> What is the exact command you are using to create the build?
> 
> The failed command:
> # ./create Build -b 7-bsam -j 7 -p bsam -d "7-CURRENT bsam Ports Tree"
> 
> The previous Build (7-bsam-exp) was successfully created by a command:
> # ./create Build -b 7-bsam-exp -j 7 -p bsam-exp -d "7-CURRENT bsam-exp Ports Tree"
> 
> The reserse order of creating the builds works (I did it at another
> tinderbox). Seems that a new Build name matches against the beginning
> of existing ones but not the exact equality.

 I have posted a patch at http://www.marcuscom.com/downloads/tb2.diff
which should fix this.  Please test and let me know.

Joe

- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCGNsb2iPiv4Uz4cRArOcAKCeljUNN7JXzIqVF9/gAtV7sjHEowCdG3yz
g9KlvVh0Rb43g/Q108kvKbA=
=YyL4
-----END PGP SIGNATURE-----


More information about the tinderbox-list mailing list