tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

contributing.rst (2069B)


      1 ############
      2 Contributing
      3 ############
      4 
      5 Raptor on Mobile projects (Fenix, Reference-Browser)
      6 ****************************************************
      7 
      8 Add new tests
      9 -------------
     10 
     11 For mobile projects, Raptor tests are on the following repositories:
     12 
     13 **Fenix**:
     14 
     15 - Repository: `Mozilla Central <https://searchfox.org/mozilla-central/source/mobile/android/fenix>`__
     16 - Tests results: `Treeherder view <https://treeherder.mozilla.org/#/jobs?repo=fenix>`__
     17 - Schedule: Every 24 hours `Taskcluster force hook <https://tools.taskcluster.net/hooks/project-releng/cron-task-mozilla-mobile-fenix%2Fraptor>`_
     18 
     19 **Reference-Browser**:
     20 
     21 - Repository: `Github <https://github.com/mozilla-mobile/reference-browser/>`__
     22 - Tests results: `Treeherder view <https://treeherder.mozilla.org/#/jobs?repo=reference-browser>`__
     23 - Schedule: On each push
     24 
     25 Tests are now defined in a similar fashion compared to what exists in mozilla-central. Task definitions are expressed in YAML:
     26 
     27 * https://github.com/mozilla-mobile/fenix/blob/1c9c5317eb33d92dde3293dfe6a857c279a7ab12/taskcluster/ci/raptor/kind.yml
     28 * https://github.com/mozilla-mobile/reference-browser/blob/4560a83cb559d3d4d06383205a8bb76a44336704/taskcluster/ci/raptor/kind.yml
     29 
     30 If you want to test your changes on a PR, before they land, you need to apply a patch like this one: https://github.com/mozilla-mobile/fenix/pull/5565/files. Be sure to revert it before merging the patch. Note that the checks will run but the results aren't currently available on Treeherder (`bug 1593252 <https://bugzilla.mozilla.org/show_bug.cgi?id=1593252>`_ is expected to address this).
     31 
     32 On Fenix and Reference-Browser, the Raptor revision is tied to the latest nightly of mozilla-central
     33 
     34 For more information, please reach out to :mhentges in #cia
     35 
     36 Code formatting on Raptor
     37 *************************
     38 As Raptor is a Mozilla project we follow the general Python coding style:
     39 
     40 * https://firefox-source-docs.mozilla.org/code-quality/coding-style/coding_style_python.html
     41 
     42 `black <https://github.com/psf/black/>`_ is the tool used to reformat the Python code.