Re: [ANNOUNCE] Cogito-0.8 (former git-pasky, big changes!)
- From
- Mike Taht <mike.taht@timesys.com>
- Date
- Apr 26, 2005, 04:12 UTC
- Message-ID
- <426DBF94.3010502@timesys.com>
- In-Reply-To
- <20050426032422.GQ13467@pasky.ji.cz>
> Yes, this is a huge change. No, I don't expect any further changes of > similar scale. I think the new interface is significantly simpler _and_ > cleaner than the old one.
Heh. Another huge change would be moving the top level directories around a bit.
bindings COPYING git.spec Makefile programs README.reference tests contrib doc include po README src VERSION
Leaving fixing the makefiles aside as an exercise for the interested reader... that's:
#!/bin/sh
# completely rearrange the file structure of cogito/git # just to make pasky and other scm users insane once again # FIXME - fix the makefiles, git.spec
CFILES=`ls *.c` DFILES=`ls ppc/* mozilla-sha1/*` HFILES=`ls *.h` SRCDIR=src # or libgit? INCDIR=include/git-guts # or keep in SRCDIR or include/git or whatever COGDIR=programs/cogito # or just cogito. is git-web likely to be inc?
mkdir -p $SRCDIR $INCDIR $COGDIR \ bindings/perl bindings/python bindings/ruby po tests doc # just ideas, # no files (yet)
mv $CFILES ppc mozilla-sha1 $SRCDIR mv $HFILES $INCDIR COGFILES=`file * | grep "script text executable" | cut -f1 -d:` mv $COGFILES $COGDIR
cg-rm $CFILES $HFILES $COGFILES
for i in $CFILES $DFILES
do
cg-add $SRCDIR/$i
done
for i in $HFILES
do
cg-add $INCDIR/$i
donecg-commit
-- Mike Taht "A straw vote only shows which way the hot air blows. -- O'Henry"