[Libreoffice-bugs] [Bug 130911] New: Policy on converting Perl scripts to Python

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 24 21:10:26 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130911

            Bug ID: 130911
           Summary: Policy on converting Perl scripts to Python
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jpakkane at gmail.com

As per the discussion in https://gerrit.libreoffice.org/c/core/+/89262

I would like to propose that converting Perl scripts used in Libreoffice can be
ported to Python without needing any special rationale. The reasons for this
are:

- more people know Python than Perl
- new developers (i.e. anyone under 35) do not know Perl at all
- Python is a lot more readable in any case
- Python has builtin functionality for a lot things where Perl needs to call
external executables (like zip, tar), reducing dependencies
- Converting all Perl code to Python is (in practice) a requirement for
removing Cygwin as a build dependency on Windows 

In practice this would mean that merge requests that convert Perl to Python
could just have this in their commit messages:

See tdf#XXXXX for motivation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200224/ecfb71f0/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list