Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Nick Alexander 7128d7e528 Bug 1543247 - Part 2: Install `visualmetrics.py` prerequisites. r=ahal
Under the hood, browsertime invokes a certain `visualmetrics.py`
script.  That script depends on `ffmpeg` and ImageMagick's `convert`,
`compare`, and `mogrify` commands.  It also depends on certain Python
packages.

So this installs those dependencies, and then wires up the evaluation
environment such that `./mach browsertime` can find the dependencies.
It also adds a `./mach visualmetrics` command for processing a
captured MP4 file in the same way that browsertime processes such a
file.

In order to avoid downloading dependencies multiple time, the existing
artifact cache is extracted.  This is a small first step towards [Bug
1526021](https://bugzilla.mozilla.org/show_bug.cgi?id=1526021), which
might want to use this artifact cache as well.

At this time, hashes and filesizes are not verified.  During
development, the upstream files changed multiple times, and it's not
worth being completely locked down while experimenting with this
functionality.  If we start running this code in automation or in more
sensitive environments, we can build fetch tasks and TC indexes to
streamline the artifact gathering process.

It is expected that a future mach command will want to invoke
browsertime without suffering the overhead of invoking Python (and
mach, which is itself bulky) so a nod is given to exposing the
relevant environment pieces.

During testing, it was discovered that [MozillaBuild doesn't ship
git](https://bugzilla.mozilla.org/show_bug.cgi?id=1503028), so that
git repositories can't be used out-of-the-box on Windows.  So instead
we use a [tarball link from github.com/$USER/$REPO/tarball/$COMMIT-LIKE](https://github.blog/2008-03-03-tarball-downloads/).

Differential Revision: https://phabricator.services.mozilla.com/D29442

--HG--
extra : moz-landing-system : lando
2019-05-03 22:45:22 +00:00
.cargo Backed out 3 changesets (bug 1547682) for build bustages: "cannot find function `init_frame` in this scope". CLOSED TREE 2019-05-02 13:54:51 +03:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Bug 1548860 - Set a11y focus in the UrlbarView when arrowing down and remove it on backspace. r=adw 2019-05-03 18:32:15 +00:00
browser Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley 2019-05-03 21:31:57 +00:00
build Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal 2019-05-03 22:44:23 +00:00
caps Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan 2019-05-03 17:13:47 +00:00
chrome Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
config Bug 1457669 - Support Android system headers for standalone SpiderMonkey builds. r=froydnj 2019-05-02 17:07:52 +00:00
db Bug 1544443 - Upgrade to SQLite 3.28.0. r=mak 2019-04-30 16:51:39 +00:00
devtools Bug 1548842 - always try to center selected row when toggling audit filter. r=mtigley 2019-05-03 17:46:58 +00:00
docshell Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod 2019-05-03 17:13:17 +00:00
dom Bug 1407415 - Add a CamerasParent shutdown blocker. r=dminor,asuth 2019-05-03 21:08:45 +00:00
editor Bug 1546888 - Make editor public methods which may be canceled by clipboard event listener return NS_SUCCESS_DOM_NO_OPERATION when it's canceled r=m_kato 2019-05-02 08:39:53 +00:00
extensions Bug 1320404 - Remove appId from origin attributes - part 3 - Permissionmanager, r=Ehsan 2019-05-03 17:14:21 +00:00
gfx Bug 1538540 - Respect texture_cache rebuild reqs even if doc has no pixels r=kvark 2019-05-03 20:30:46 +00:00
gradle/wrapper Bug 1509572 - Part 1: Bump Gradle wrapper to 4.10.2; decouple script from Gradle version. r=snorp 2018-11-26 21:42:27 +00:00
hal Bug 1533889 - Investigate OpenProcess failures r=mconley 2019-05-02 20:58:58 +00:00
image Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert 2019-05-02 23:28:21 +00:00
intl Merge mozilla-inbound to mozilla-central. a=merge 2019-05-01 18:56:07 +03:00
ipc Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod 2019-05-03 17:13:17 +00:00
js Bug 1548538: Refactor IsCacheableGetPropCall r=tcampbell 2019-05-03 19:15:03 +00:00
layout Bug 1548673 Part 4 - Fix the display macro usage in nsFileControlFrame::GetPrefISize(). r=jfkthame 2019-05-03 17:35:00 +00:00
media Bug 1540760 - Build system changes for aarch64-win64 support in ffvpx; r=jya 2019-05-01 15:04:50 +00:00
memory Bug 1537781 - Test for trailing guard pages for normal allocations. r=glandium 2019-05-02 14:19:19 +00:00
mfbt Bug 1548409 - Use MOZ_DIAGNOSTIC_ASSERT. r=froydnj 2019-05-02 13:24:31 +00:00
mobile Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley 2019-05-03 21:31:57 +00:00
modules Backed out 7 changesets (bug 1540573) for causing bug 1548441 2019-05-03 20:35:27 +03:00
mozglue Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
netwerk Bug 1542170 - Expose http channel Id to WebSocketEvent listeners, r=valentin 2019-05-03 17:25:44 +00:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell 2019-04-30 15:25:48 +00:00
parser Bug 1539759 - improve DTD entity handling, r=peterv 2019-05-03 09:13:58 +00:00
python Bug 1543247 - Part 2: Install `visualmetrics.py` prerequisites. r=ahal 2019-05-03 22:45:22 +00:00
remote Bug 1537768 - Override add_task to translate cdp exception from head.js. r=remote-protocol-reviewers,ato 2019-05-02 12:00:39 +00:00
security bug 1534600 - make nsIContentSignatureVerifier asynchronous r=KevinJacobs,mythmon,glasserc 2019-05-03 21:21:58 +00:00
services bug 1534600 - make nsIContentSignatureVerifier asynchronous r=KevinJacobs,mythmon,glasserc 2019-05-03 21:21:58 +00:00
servo Backed out changeset 8c89fd37b79d (bug 1544242) for failures in browser_rules_shadowdom_slot_rules.js CLOSED TREE 2019-05-01 22:03:06 +03:00
startupcache Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
storage Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
taskcluster Bug 1546553 - Run Android xpcshell tests on 7.0 x86_64; r=jmaher 2019-05-03 22:11:24 +00:00
testing Bug 1548873 - When running android mach test commands, always offer to install app; r=snorp 2019-05-03 22:11:24 +00:00
third_party Bug 1353680, update compare-locales to 7.2.1, r=flod 2019-05-02 10:48:32 +00:00
toolkit Bug 1546077 - Fix some background colors and a few other colors in about:addons for dark mode r=dao 2019-05-01 11:59:08 +00:00
tools Bug 1543247 - Part 2: Install `visualmetrics.py` prerequisites. r=ahal 2019-05-03 22:45:22 +00:00
uriloader Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
view Bug 1547418 - Make CapturingContentInfo a private struct of PresShell and move APIs for it from nsIPresShell to PresShell r=smaug a=reland 2019-04-30 00:26:57 +00:00
widget Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
xpcom Bug 1547923 part 4. Add nsIGlobalObject::HasJSGlobal(). r=mccr8 2019-05-02 21:32:17 +00:00
xpfe/appshell Bug 1547877 - enable configuration of new XULStore implementation r=mossop 2019-05-02 23:01:57 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1533481 - Part 9: Update Gecko to Unicode 12. r=jfkthame! 2019-04-04 12:46:18 +03:00
.cron.yml Bug 1538560 - disable cron job to run mochitest valgrind tasks because they permafail r=gbrown 2019-04-01 15:08:44 +00:00
.eslintignore Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku 2019-04-30 14:06:53 +00:00
.eslintrc.js Bug 1544286 - xpcom/ manual ESLint no-throw-literal fixes. r=erahm 2019-04-16 15:02:10 +00:00
.flake8 Bug 1541086: Remove the embedding code and update the bug components for widget::headless. r=myk r=bdahl 2019-04-02 09:07:54 -07:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs No Bug - Ignore Bug 1519636 in blame/annotate. r=sylvestre 2019-04-30 11:41:02 +00:00
.gitignore Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 13:16:00 -04:00
.hg-annotate-ignore-revs No bug - Ignore bug 1016240 in blame/annotate. r=MattN 2019-04-04 14:56:20 -04:00
.hg-format-source Bug 1511181 - Quick fix for .hg-format-source that has an empty line. r=ehsan, a=aryx 2018-11-30 13:25:44 +02:00
.hgignore Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal 2019-05-03 22:44:23 +00:00
.hgtags No bug - Tagging mozilla-central 9421b477d67cfc4c9e03350cd554a9e6acc7f435 with FIREFOX_NIGHTLY_67_END a=release DONTBUILD CLOSED TREE 2019-03-18 10:56:58 +00:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1488313: [taskgraph] Don't notify sherrifs on cron decision task failures on try; r=dustin 2019-03-27 19:38:05 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
AUTHORS
CLOBBER Bug 1533481 - Part 10: Updating ICU requires a clobber. r=jwalden! 2019-04-04 12:46:32 +03:00
Cargo.lock Bug 1546035 - Remove local and remote livemarks when syncing. r=mak,tcsc 2019-05-02 08:03:36 +00:00
Cargo.toml Backed out 3 changesets (bug 1547682) for build bustages: "cannot find function `init_frame` in this scope". CLOSED TREE 2019-05-02 13:54:51 +03:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester 2019-04-10 22:14:27 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
build.gradle Bug 1544076 - [1.1] Add lifecycle library dependency. r=nalexander,snorp 2019-04-24 17:51:32 +00:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py
configure.in
configure.py Bug 1528241 - Add a trace mode to python configure that logs internal values. r=chmanchester 2019-02-20 07:46:22 +09:00
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
mach
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Bug 1543323 - On Android, only build gtest tests archive on x86_64 builds; r=glandium 2019-04-12 00:17:45 +00:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Bug 1548617 - Keep Telemetry enabled for Fennec Nightly builds after they migrate from mozilla-central. r=chutten 2019-05-02 19:37:32 +00:00
package-lock.json Bug 1536589 - Update ESLint and associated modules. r=mossop 2019-04-08 20:06:38 +00:00
package.json Bug 1536589 - Update ESLint and associated modules. r=mossop 2019-04-08 20:06:38 +00:00
settings.gradle Bug 1527796 - Part 5. Add python.exe path of mozilla-build to call mach command from gradle. r=nalexander 2019-03-29 18:11:09 +09:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.