From: Pavel Roskin Date: Wed, 07 Jun 2006 15:21:28 GMT Subject: Re: Importing Mozilla CVS into git Message-ID: <1149693688.3415.6.camel@dv> In-Reply-To: On Wed, 2006-06-07 at 11:02 +0200, Igor Bukanov wrote: > On 6/2/06, Jon Smirl wrote: > > On 6/2/06, Pavel Roskin wrote: > > > Dependency on Cygwin, Perl and Python is too much. Windows is becoming > > > a legacy system in some circles, and it may run on legacy hardware. Yet > > > it's irreplaceable as a testing platform for many projects. > > > > 80% of Mozilla commiters are running Windows. Some are OS bilingual > > but many are not. > > Mozilla build system on Windows requires Cygwin and there are 198 Perl > files in Firefox tree. So it is only Python that can be problematic. Then maybe the existing 3 python files in git (I'm not counting compat/subprocess.py) could be converted to Perl? Perl would be great as the "common denominator" for interpreted languages. Search for "python to perl" translator lead me to Perthon: http://perthon.sourceforge.net/ But Perthon needs work. My attempt to run it on git-p4import.py failed: $ perl -I `pwd`/lib perthon.pl git-p4import.py Can't coerce array into hash at lib/Perthon/PerthonImpl.pm line 15420. It may be a fun project for somebody who wants to learn Perl and Python. -- Regards, Pavel Roskin