--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: tla-load-dirs: handling of unrecognized files
- From: Brian May <bam@debian.org>
- Date: Tue, 23 Dec 2003 13:45:52 +1100
- Message-id: <20031223024553.556ABFDA0@snoopy.apana.org.au>
Package: tla-load-dirs
Version: 1.0.11
Severity: normal
I don't think it is clear what should happen if the source tree
contains files that tla by default considers "unrecognized".
For a good example, .cvsignore. On my first attempt to import bsdgames, with
the help of tla_load_dirs, I got:
--- cut ---
>tla import
These files violate naming conventions:
.cvsignore
adventure/.cvsignore
arithmetic/.cvsignore
atc/.cvsignore
backgammon/backgammon/.cvsignore
backgammon/common_source/.cvsignore
backgammon/teachgammon/.cvsignore
banner/.cvsignore
battlestar/.cvsignore
bcd/.cvsignore
boggle/boggle/.cvsignore
boggle/mkdict/.cvsignore
boggle/mkindex/.cvsignore
caesar/.cvsignore
canfield/canfield/.cvsignore
canfield/cfscores/.cvsignore
cribbage/.cvsignore
dm/.cvsignore
factor/.cvsignore
fish/.cvsignore
fortune/datfiles/.cvsignore
fortune/fortune/.cvsignore
fortune/strfile/.cvsignore
fortune/unstr/.cvsignore
gomoku/.cvsignore
hack/.cvsignore
hangman/.cvsignore
hunt/hunt/.cvsignore
hunt/huntd/.cvsignore
include/.cvsignore
lib/.cvsignore
mille/.cvsignore
monop/.cvsignore
morse/.cvsignore
number/.cvsignore
phantasia/.cvsignore
pig/.cvsignore
pom/.cvsignore
ppt/.cvsignore
primes/.cvsignore
quiz/.cvsignore
quiz/datfiles/.cvsignore
rain/.cvsignore
random/.cvsignore
robots/.cvsignore
sail/.cvsignore
snake/snake/.cvsignore
snake/snscore/.cvsignore
tetris/.cvsignore
trek/.cvsignore
worm/.cvsignore
worms/.cvsignore
wtf/.cvsignore
wump/.cvsignore
import: import aborted
--- cut ---
There are three options I can think of:
1. somehow force tla to accept this file as a source file.
2. delete the file, .cvsignore files aren't used by tla.
3. complain with an error.
Correct me if I am mistaken, but it would appear tla-load-dirs currently does
3. Even if I am wrong here, it is not clear for the initial import if
I should do 1 or 2.
1. would be preferred by me, as it is least likely to discard important files
by mistaken. I can't think of any easy way to change the unrecognized RE to
treat .cvsignore as a special case. (maybe remove the unrecognized
all-together?)
2. would also be acceptable in this particular case.
3. for an example of an upstream source file have a look at
bsdgames_2.14.orig.tar.gz (I would expect 2.13 in stable or 2.15 in unstable to
be the same).
Any comments/suggestions?
Thanks
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux snoopy 2.4.21 #1 Tue Aug 26 17:39:08 EST 2003 i686
Locale: LANG=C, LC_CTYPE=
Versions of packages tla-load-dirs depends on:
ii python 2.3.2.91-1 An interactive high-level object-o
ii python2.3 2.3.2.91-1 An interactive high-level object-o
ii tla 1.0.6+1.1-candidate0-1 arch revision control system
-- no debconf information
--- End Message ---