Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #32071

Closed (moved)
Open
Opened Oct 14, 2019 by Nick Mathewson@nickm🤠

Remove perl scripts from development process?

There are a few perl5 scripts in our development process:

[1099]$ git grep /usr/bin/perl
 [...]
contrib/or-tools/checksocks.pl:#!/usr/bin/perl -w
scripts/coccinelle/test-operator-cleanup:#!/usr/bin/perl -w -p -i
scripts/codegen/gen_linux_syscalls.pl:#!/usr/bin/perl -w
scripts/maint/checkLogs.pl:#!/usr/bin/perl -w
scripts/maint/checkOptionDocs.pl.in:#!/usr/bin/perl -w
scripts/maint/checkSpace.pl:#!/usr/bin/perl
scripts/maint/check_config_macros.pl:#!/usr/bin/perl -w
scripts/maint/findMergedChanges.pl:#!/usr/bin/perl
scripts/maint/updateCopyright.pl:#!/usr/bin/perl -i -w -p
scripts/test/cov-exclude:#!/usr/bin/perl -p -i

We could do any of the following:

  • Declare that perl5 is lovely and we don't care.
  • Declare that perl5 is ugly but not really a problem.
  • Declare that we will no longer require perl, and migrate all of these scripts to python and/or bash+sed+awk+etc
  • Declare that we will only allow perl as a "better sed/awk", and migrate all of the more complex scripts to python and/or bash+sed+awk, but leaves the others asd perl.

I am excluding these possibilities, but the imp of the perverse demands that I mention them:

  • Migrate to perl6 ^W raku
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#32071