gecko-dev/testing/mozharness
Gregory Szorc 802fda3e66 Bug 1270317 - Use robustcheckout extension for checking out Mercurial repos; r=jlund
Functionality for doing an optimal clone/pull+share+purge+update is now
implemented in the robustcheckout extension so it can be implemented in one
place and used by all the various tools needing to perform a "robust"
checkout using optimal practices.

This commit switches the MercurialVCS to use it.

Functionality for interfacing with shared repos and associated tests have
been removed because this is all implemented and tested in robustcheckout.

Various other tests have also been removed because they are redundant with
tests in the robustcheckout extension.

MozReview-Commit-ID: FGvmSHKM5e0

--HG--
extra : rebase_source : 8f31a1e79d448478fa63b17582313409ac06fe69
extra : histedit_source : 3031dd8f83b0c64abc110252fd270f1917168663
2016-05-16 16:56:14 -07:00
..
configs Bug 1270317 - Define a clone_upstream_url property; r=jlund 2016-05-06 10:51:06 -07:00
docs
examples
external_tools Bug 1270317 - Add robustcheckout.py Mercurial extension; r=jlund 2016-05-17 16:08:37 -07:00
mozfile
mozharness Bug 1270317 - Use robustcheckout extension for checking out Mercurial repos; r=jlund 2016-05-16 16:56:14 -07:00
mozinfo
mozprocess
scripts Bug 1250629 - desktop l10n script should accept a packageUrl property which points to en-US build, r=catlee 2016-05-17 16:51:45 +12:00
test Bug 1270317 - Use robustcheckout extension for checking out Mercurial repos; r=jlund 2016-05-16 16:56:14 -07:00
LICENSE
mach_commands.py Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
README.txt Bug 1240733 - Improve tox configuration for optional arguments. r=jlund DONTBUILD 2016-01-20 11:01:19 +01:00
requirements.txt Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r=jlund 2016-05-06 10:49:08 -07:00
setup.cfg
setup.py
tox.ini Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r=jlund 2016-05-06 10:49:08 -07:00
unit.sh

# 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! =)