mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 15:43:10 -10:00
Previously, vcs related stuff was resolved in the cli.py module. But it's possible for consumers to bypass the cli and instantiate a LintRoller directly. In fact this is what the mozlint tests do. Now that we always try to find the vcs root, calling into vcs is no longer optional. This patch moves the VCSFiles class to a new vcs.py module and makes LintRoller responsible for instantiating it instead of cli.py. MozReview-Commit-ID: 5yA3gDZ1UGM
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/