[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [BUG] tla 1.2.2rc1 doesn't accept {arch}/=partner-v

From: Aaron Bentley
Subject: Re: [Gnu-arch-users] [BUG] tla 1.2.2rc1 doesn't accept {arch}/=partner-versions file.
Date: Wed, 08 Sep 2004 14:35:12 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040309)

Matthieu Moy wrote:
I have a \{arch}/=partner-versions file with its corresponding id. tla
1.2 accepted that without complaining, but 1.2.2rc1 does complain:

$ ls \{arch}/=partner-versions
{arch}/=partner-versions $ ls \{arch}/.arch-ids/ {arch}/.arch-ids/ $ tla tree-lint These explicit ids have no corresponding file:


$ tla --version
tla address@hidden/dists--jblack--1.1--patch-33(configs/release/tla-1.2.2rc1) 

Copyright 2003 Tom Lord

This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

Report bugs to address@hidden

# automatically generated release id (by tla build-config)


./src   address@hidden/package-framework--devo--1.0--patch-5
./src/docs-hackerlab    address@hidden/docs-hackerlab--devo--1.0--base-0
./src/docs-tla  address@hidden/docs-tla--devo--1.0--patch-5
./src/hackerlab address@hidden/hackerlab--devo--1.0--patch-96
./src/tla       address@hidden/tla--devo--1.3--patch-39
$ tla-1.2 tree-lint
Is this intentional?

Yes. Files in {arch} have ids based on their names. You can't explicitly tag them. Older versions of tla used a less-exact test:
Is there a corresponding file for this explicit-id?

This test failed to take into account that the corresponding file might not be source. As a result, if you had a precious foo, you could commit a .arch-ids/ But if you checked out a tree like that, it would fail a tree-lint.

So I changed the test to:
What id does this .id file produce? Does that id appear in the source inventory?

You've got a case I didn't anticipate, but it's a legitimate lint failure.

 If so, the error message should be more explicit.

Err, how?  All I know is that the .id file is useless.   I don't know why.

Aaron Bentley
Director of Technology
Panometrics, Inc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]