Re: Importing Mozilla CVS into git
- From
- Pavel Roskin <proski@gnu.org>
- Date
- Jun 7, 2006, 15:21 UTC
- Message-ID
- <1149693688.3415.6.camel@dv>
- In-Reply-To
- <df0b33100606070202w581ff581i435056f0fbc197f8@mail.gmail.com>
On Wed, 2006-06-07 at 11:02 +0200, Igor Bukanov wrote:
Show 11 quoted lines
> On 6/2/06, Jon Smirl <jonsmirl@gmail.com> wrote: > > On 6/2/06, Pavel Roskin <proski@gnu.org> 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