gecko-dev/testing/mozharness
Mike Hommey e1a9434752 Bug 1654457 - Use `pip list --format freeze` instead of `pip freeze`. r=ahal
Newer versions of pip output something like:
`certifi @ file:///builds/worker/workspace/build/tests/tools/wpt_third_party/certifi`
rather than
`certifi==2018.4.16`

and the package_versions method doesn't know how to handle that.

Both old and new versions of pip, however, output the same thing for
`pip list --format freeze`, which is equivalent to the old
`pip freeze --all` output (which means we'll now list more packages,
essentially pip, setuptools and wheels).

Differential Revision: https://phabricator.services.mozilla.com/D92174
2020-10-06 00:45:00 +00:00
..
configs Bug 1668908 - beta to release migration needs to unset EARLY_BETA_OR_EARLIER. r=releng-reviewers,jlorenzo DONTBUILD 2020-10-06 13:21:30 +00:00
docs Bug 1618033 - Remove now-unused mozharness mobile_l10n.py - which was used for single-locale l10n. r=aki 2020-05-18 14:34:52 +00:00
examples
external_tools Bug 1408051 - Remove mozharness' copy of virtualenv and use the one under /third_party/python instead r=ahal,rail 2020-08-05 19:52:24 +00:00
mozharness Bug 1654457 - Use `pip list --format freeze` instead of `pip freeze`. r=ahal 2020-10-06 00:45:00 +00:00
scripts Bug 1668458 - Load specialPowers web extension in gecko-only wpt tests, r=jmaher,twisniewski,whimboo 2020-10-06 14:01:24 +00:00
test
LICENSE
README.txt
mach_commands.py
moz.build
requirements.txt
setup.cfg
setup.py
tox.ini
unit.sh

README.txt

# Mozharness

## Docs
* https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
* https://wiki.mozilla.org/ReleaseEngineering/Mozharness
* http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
* http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness

## Submitting changes
Like any Gecko change, please create a patch or submit to Mozreview and
open a Bugzilla ticket under the Mozharness component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness

This bug will get triaged by Release Engineering

## Run unit tests
To run the unit tests of mozharness the `tox` package needs to be installed:

```
pip install tox
```

There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:

```
tox                            # run all unit tests
tox -- -x                      # run all unit tests but stop after first failure
tox -- test/test_base_log.py   # only run the base log unit test
```

Happy contributing! =)