Firefox/Python 3 Migration: Difference between revisions

m
 
(One intermediate revision by the same user not shown)
Line 42: Line 42:
==== Remove more of the "excluded" paths from the py2 and py3 linters ====
==== Remove more of the "excluded" paths from the py2 and py3 linters ====


See [https://pad.mozilla.org/p/py3 this Etherpad] for instructions.
See [https://pad.mozilla.org/p/py3 this Etherpad] for instructions. (Etherpad is blank, needs to be fixed)


Roughly:
Roughly:
Line 76: Line 76:
==== Port a Mach Command ====
==== Port a Mach Command ====


The mach driver (toplevel `mach` file) contains a whitelist of commands that still run with Python 2. Pick the command that you'd like to convert and then:
The mach driver (toplevel `mach` file) contains a whitelist of commands that still run with Python 2.  


The whitelist contained in the mach command is py2commands
py2commands="
    addtest
    analyze
    android
    android-emulator
    artifact
    awsy-test
    bootstrap..."
Pick the command that you'd like to convert and then:
# Remove it from the whitelist
# Remove it from the whitelist
# Run: ./mach <command>
# Run: ./mach <command>
Confirmed users
1,989

edits