gecko-dev/python
Rob Lemley 4a65b455c4 Bug 1844662 - [mach vendor] Warn if replace-in-file finds a match but no changes were made. r=tjr
If replace-in-file[-regex] doesn't make any changes it throws an Exception
thinking that no match was found. In some cases the replacement could be the
same as the matched text. In this case, warn but don't raise an exception.

Non-regex patterns are escaped with re.escape() to simplify the function a bit.

Differential Revision: https://phabricator.services.mozilla.com/D184165
2023-08-03 19:55:56 +00:00
..
docs Bug 1830069 - Fix reference to old site file name in docs, r=ahochheiden 2023-04-26 18:25:15 +00:00
gdbpp/gdbpp Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden 2023-03-20 13:06:28 +00:00
l10n Bug 1831341 - Add the learn more link to the translations gear menu; r=nordzilla,fluent-reviewers,Gijs 2023-07-25 15:23:31 +00:00
lldbutils Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau 2023-03-20 13:06:27 +00:00
mach Bug 1845833 - Add the ability to specify command dependencies for commands r=firefox-build-system-reviewers,glandium 2023-08-01 19:59:25 +00:00
mozboot Bug 1844661 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,owlish 2023-07-25 18:38:05 +00:00
mozbuild Bug 1844662 - [mach vendor] Warn if replace-in-file finds a match but no changes were made. r=tjr 2023-08-03 19:55:56 +00:00
mozlint Bug 1757373 - Enable linting to run in parallel when '.' is specified as the path. r=linter-reviewers,ahal 2023-05-09 13:11:21 +00:00
mozperftest Bug 1845272 - Activate the common site virtualenv when calling the mozperftest/runner.py script directly (outside of a mach command context) r=ahal 2023-07-27 16:39:35 +00:00
mozrelease Bug 1774273 - Transition mac notarization to signingscript r=taskgraph-reviewers,bhearsum 2023-05-23 17:31:37 +00:00
mozterm Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau 2023-03-20 13:06:27 +00:00
mozversioncontrol Bug 1835943 - Properly construct CallerProcessError in _push_to_try_with_log_capture r=ahal 2023-06-12 22:22:21 +00:00
sites Bug 1779473 - Add TOML support to manifestparser r=jmaher,ahal 2023-07-27 20:16:19 +00:00
mach_commands.py
moz.build
README

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:

* Vendored python modules (use third_party/python instead)
* 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
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025