[Koha-devel] Namespace Change: C4 -> Koha

Chris Cormack chris at katipo.co.nz
Tue Feb 20 08:05:37 CET 2007


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






More information about the Koha-devel mailing list