Hi all, Just a crazy thought I had: $ cd cvsrepos/rel_3_0/koha $ perl -p -i -e 's/C4/Koha/g' `grep -ril C4 *.pm` $ perl -p -i -e 's/C4/Koha/g' `grep -ril C4 *.pl` $ perl -p -i -e 's/C4/Koha/g' `grep -ril C4 *.tmpl` $ cvs commit -m "renaming namespace from C4 to Koha" The above commands should replace our entire module namespace from C4 to Koha, which is arguably more intuitive. Thoughts? Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Joshua M. Ferraro wrote:
Hi all,
Just a crazy thought I had:
$ cd cvsrepos/rel_3_0/koha $ perl -p -i -e 's/C4/Koha/g' `grep -ril C4 *.pm` $ perl -p -i -e 's/C4/Koha/g' `grep -ril C4 *.pl` $ perl -p -i -e 's/C4/Koha/g' `grep -ril C4 *.tmpl` $ cvs commit -m "renaming namespace from C4 to Koha"
The above commands should replace our entire module namespace from C4 to Koha, which is arguably more intuitive. Thoughts?
The only thing I can think of is that we have to then move all the modules from C4/ to Koha/ which might be best left till we arent using cvs anymore, as its hard to do that without losing a bunch of history about the files. So I think a good idea, but maybe not just yet. Chris
Chris Cormack a écrit :
The only thing I can think of is that we have to then move all the modules from C4/ to Koha/ which might be best left till we arent using cvs anymore, as its hard to do that without losing a bunch of history about the files. at http://linuxfr.org/~zaurus/23245.html you'll find a script that does CVS rename, without loosing history (but loosing timestamp of commit, as it retrieve all versions and redo all the commits
However, I agree with your arg. Any news of subversion on savannah ? -- Paul POULAIN et Henri Damien LAURENT Consultants indépendants en logiciels libres et bibliothéconomie (http://www.koha-fr.org) Tel : 04 91 31 45 19
"Joshua M. Ferraro" <jmf@liblime.com> wrote:
The above commands should replace our entire module namespace from C4 to Koha, which is arguably more intuitive. Thoughts?
Only arguably more intuitive. What does it gain, practically? Regards, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Somerset, England. Work/Laborejo: http://www.ttllp.co.uk/ IRC/Jabber/SIP: on request/peteble.
participants (4)
-
Chris Cormack -
Joshua M. Ferraro -
MJ Ray -
Paul POULAIN