gecko-dev/python
Mike Shal f1348beac8 Bug 1394576 - Fix install manifests tracking with broken symlinks; r=gps
The install manifest with the .track files uses os.path.exists() to
determine if a previously tracked file is no longer installed and needs
to be removed from the system. However, exists() returns False for
broken symlinks, so as far as the manifest is concerned, there is no
file in the filesystem that needs to be removed. We should use lexists()
so we know that the broken symlink still exists in the system so
that it can be removed when the install manifest is processed.

MozReview-Commit-ID: 6v7CYOKzjGs

--HG--
extra : rebase_source : 8aeeef59e644613f34c8458bd30a83d8299585ea
2017-08-28 22:12:04 -04:00
..
devtools/migrate-l10n Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
mach Bug 1390968: python-3 compatibility for python/**/*.py; r=Alex_Gaynor,gps 2017-08-28 21:31:30 +00:00
mozboot merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
mozbuild Bug 1394576 - Fix install manifests tracking with broken symlinks; r=gps 2017-08-28 22:12:04 -04:00
mozlint bug 1371992 - make mozlint's LintRoller use concurrent.futures. r=ahal 2017-08-29 10:30:12 -04:00
mozversioncontrol/mozversioncontrol Bug 1393503 - Proper error handling for failure to find VCS tool; r=glandium,nalexander 2017-08-24 17:09:09 -07:00
README Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
mach_commands.py Bug 1393826 - [python-test] Make sure pytest errors get flagged by treeherder, r=davehunt 2017-08-25 12:03:23 -04:00
moz.build Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00

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