76 tools with language python
mach
Generic command line command dispatching framework.
https://github.com/indygreg/machmozillabuilddata
Fetch, store, and analyze information about Mozilla builds.
https://github.com/indygreg/mozilla-build-analyzerpyshell
The shell module provides classes that implement shell-like pipelines.
http://hg.mozilla.org/users/tmielczarek_mozilla.com/pyshellb2gbackup
a simple Python package that backs up and restores content from a Marionette enabled device
http://pypi.python.org/pypi/b2gbackupb2gperf
script to verify b2g
http://hg.mozilla.org/users/tmielczarek_mozilla.com/b2gperfFennec Profile Tool
GUI application to download and swabp Fennec profiles on mobile devices. Requires SUT Agent.
http://people.mozilla.com/~mcote/fennecpt/talos-summarize
A tool for summarizing talos summary emails sent to dev.tree-management . See e.g. http://method-combination.net/talos/ff18-inbound/
https://github.com/froydnj/talos-summarizePyresto Bugzilla API
Pyresto Bugzilla API
https://github.com/BYK/pyresto/tree/master/pyresto/apis/bugzillapython-bugzilla
A python library.. for bugzilla!
https://fedorahosted.org/python-bugzilla/getReviewer.py
find potential reviewers
https://github.com/bwinton/Mozilla-Tools/blob/master/getReviewer.pybzcache
An ES-backed Bugzilla cache
http://hg.mozilla.org/users/jgriffin_mozilla.com/bzcache/treestatus
Host tree status outside of tinderbox https://bugzilla.mozilla.org/show_bug.cgi?id=630534 . Repository at https://github.com/catlee/treestatus
https://treestatus.mozilla.org/getb2g
Find and download the latest B2G nightly builds for your device
https://github.com/ahal/getb2gtoolbox
an index of Mozilla software tools. File bugs at https://bugzilla.mozilla.org/enter_bug.cgi?product=Webtools&component=Toolbox . Source at: https://github.com/mozilla/toolbox
http://brasstacks.mozilla.com/toolbox/qbackout
Queue up a backout of a series of changesets, ported from https://wiki.mozilla.org/User:Mak77
https://bitbucket.org/sfink/qbackout/memtest.py
memtest.py
http://mxr.mozilla.org/mozilla-central/source/testing/tests/memtest.pyhgtool.py
Mercurial wrapper script designed for use in continuous integration and other scripts. Given a source and destination, it tries as hard as it can to update the destination starting with a simple pull and update, all the way to completely deleting and recloning the destination. Optionally HG_SHARE_BASE_DIR can be set, and all destinations will be "hg share"d from it.
http://hg.mozilla.org/build/tools/file/tip/buildfarm/utils/hgtool.pylogparser
parses test logs into JSON and scrapes logs from stage.mozilla.org
http://hg.mozilla.org/automation/logparser/mozhttpd
Python webserver for Mozilla tools and harnesses
https://github.com/mozilla/mozbase/tree/master/mozhttpdhg-bugzilla
Similar to bzexport, different approach. Aside from commenting on the bug of the applied patch and uploading the patch, this extension also allows auto-commenting to the bug when pushing a patch (also setting status)
http://hg.mozilla.org/users/mozilla_kewis.ch/hg-bugzilla/python-profilemanager
A python version of profile manager; see also http://hg.mozilla.org/automation/profilemanager/
http://k0s.org/mozilla/hg/ProfileManager/mozrunner
mozrunner is a python package which handles running of Mozilla applications. mozrunner utilizes mozprofile for managing application profiles and mozprocess for robust process control.
https://github.com/mozilla/mozbase/tree/master/mozrunnerpyxpt
A module for working with XPCOM Type Libraries.
http://hg.mozilla.org/users/tmielczarek_mozilla.com/pyxptQuickRelease
A lightweight harness for defining repeatable, auditable processes
https://github.com/preed/quickreleaseautomation.py.in
- handles processes - deals with profiles - deals with proxies - running firefox - runtests.py uses automation.py: http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py.in#55
http://mxr.mozilla.org/mozilla-central/source/build/automation.py.inmar.py
Python script capable of reading and writing MAR files.
http://hg.mozilla.org/build/tools/file/tip/buildfarm/utils/mar.pysendchanges
send changes to a Mozilla buildmaster for testing
http://k0s.org/mozilla/hg/sendchangesgofaster
Here you can find a display of various build/test time metrics for mozilla-central. Part of the buildfaster/gofaster project: https://wiki.mozilla.org/ReleaseEngineering/BuildFaster
http://brasstacks.mozilla.com/gofaster/Eco
Eco helps you maintain a local Python ecosystem (required modules, scripts, etc).
https://bitbucket.org/kumar303/ecobzconsole
console API to bugzilla using the REST API
http://k0s.org/mozilla/hg/bzconsolegit-bz
a fork of git-bz (git plugin for pushing git branches to bugs as patches) with mozilla-specific improvements
https://github.com/bholley/git-bz-mozbzexport
bzexport: a Mercurial extension for attaching patches from a Mercurial repository to bugzilla from the command line using the REST API
http://hg.mozilla.org/users/tmielczarek_mozilla.com/bzexport/retry.py
retry.py will run a command until it succeeds, or fails N times.
http://hg.mozilla.org/build/tools/file/tip/buildfarm/utils/retry.pymozmill
A UI automation tool for driving and testing Gecko applications
http://github.com/mozautomation/mozmillmozregression
Find the first Firefox nightly that contained a regression. Interactive.
http://harthur.github.com/mozregression/hg trychooser
An interactive command-line version of the trychooser webpage.
https://github.com/pbiggar/trychoosermozconfigwrapper
Mozconfigwrapper is just like virtualenvwrapper except for mozconfigs. Mozconfigwrapper basically hides all your mozconfigs away in a configurable directory (defaults to ~/.mozconfigs) and allows you to easily create, switch, delete and edit them. Mozconfigs remain active across terminal sessions. Mozconfigwrapper is currently Unix only.
https://github.com/ahal/mozconfigwrapperPushlog Feed
pushlog feed for mercurial web interface, e.g. http://hg.mozilla.org/mozilla-central/pushlog?startdate=2011-06-06&enddate=2011-06-07 http://hg.mozilla.org/mozilla-central/json-pushes?startdate=2011-06-06&enddate=2011-06-07
http://hg.mozilla.org/hgcustom/pushlog/file/tip/pushlog-feed.pyfind-roots.py
analyze cycle collector edge log
https://bug669545.bugzilla.mozilla.org/attachment.cgi?id=547304python build utils
a few general utility functions
http://hg.mozilla.org/build/tools/file/tip/lib/python/utilMeeting Poster
Converts wiki meeting notes into blog posts https://blog.mozilla.com/meeting-notes/
http://hg.mozilla.org/users/bsmedberg_mozilla.com/meeting-poster/scrapenightly.py
download nightlies
http://hg.mozilla.org/users/tmielczarek_mozilla.com/nightly-db/file/tip/scrapenightly.pyMozilla Archer
This tree holds Python code to customize Archer, the GDB branch extensible via Python, for debugging Spidermonkey.
http://hg.mozilla.org/users/jblandy_mozilla.com/archer-mozilla/AMO Validator
Scans add-ons for potential suspicious content
http://github.com/mozilla/amo-validator/mmm
Mmm: Mozilla mega-merger. Mmm *loves* to do all the boring things that repeated branch merging requires. Mmm is designed to automate the following workflow example: - There is a "central", de-facto repository, called Mozilla-Central; - There is a "branch" repository, called TraceMonkey; - Merges must occur between Mozilla-Central and TraceMonkey on a regular basis; - Merges between Mozilla-Central and TraceMonkey typically do not require conflict resolution; - Once a merge from TraceMonkey to Mozilla-Central occurs, the Bugzilla bug tracker must be updated to reflect those bugs which have been resolved on the Mozilla-Central repository. Changes are often isolated within the JavaScript engine, but the TraceMonkey branch is a helpful way to parallelize the forward progress of the code base and isolate more risky changes.
https://hg.mozilla.org/users/cleary_mozilla.com/mmmmozprofile
mozprofile manages profiles for automation and test harnesses
https://github.com/mozilla/mozbase/tree/master/mozprofiledocument-it
document-it renders markdown syntax from files read from a manifest to HTML and uploads it to the Mozilla Developer Network: https://developer.mozilla.org/ ; requires curl. Source available at http://k0s.org/mozilla/hg/DocumentIt
http://pypi.python.org/pypi/document_itrunnightly.py
script to download build from mozilla server
http://code.google.com/p/mozregression/source/browse/trunk/runnightly.pyOrange Factor
Here we will tell you the chance of getting an orange for any given checkin! Our goal is to provide a useful tool for measuring the orange in our trees while finding a quantitative method for measuring if we are improving or degrading over time.
http://brasstacks.mozilla.com/orangefactor/mozprocess
killable process and process management utilities
https://github.com/mozautomation/mozmill/tree/master/mozprocesshg-broker
This is a Mercurial hook to send messages about pushes and commits to a message broker via AMQP or STOMP.
https://github.com/LegNeato/hg-brokerstack-blame
Shows hg blame for each line of a stack trace, along with nearby lines. Highlights lines that have recently changed, so you can easily see which stack frames correspond to recently changed code.
https://github.com/jruderman/stack-blamemozharness
Mozharness is a configuration-driven script harness with full logging that allows production infrastructure and individual developers to use the same scripts. http://hg.mozilla.org/build/mozharness
http://escapewindow.com/mozharness/mozlog
Logging for Mozilla test harnesses
https://github.com/mozilla/mozbase/tree/master/mozlogbztools
Models and scripts to access the Bugzilla REST API
https://github.com/LegNeato/bztoolsmozInstall
installs Firefox and other Mozilla applications
https://github.com/mozilla/mozbase/tree/master/mozinstallFetch Symbols
Python script for downloading symbols from Mozilla's symbol server.
http://hg.mozilla.org/users/jwatt_jwatt.org/fetch-symbols/file/tip/fetch-symbols.pyconsumer.py
Email on every push, using the Pulse system.
https://bitbucket.org/tarek/services-pulse/src/tip/consumer.pypulsebuildmonitor
Uses Mozilla Pulse to monitor buildbot, and notifies script when builds and/or unittest runs are completed.
http://hg.mozilla.org/automation/pulsebuildmonitorpybugzilla
Python library and command-line tools for interacting with Bugzilla via Gervase Markham's REST API
https://github.com/toolness/pybugzillaforce_build.py
A Forcer knows how to force a build through the Buildbot web interface given the base URL to the master (masterUrl) and the builder name. You can pass name, comments, branch, revision, or properties to forceBuild() and they will be included in the POST
http://hg.mozilla.org/users/lsblakk_mozilla.com/tools/file/tip/buildbot-helpers/force_build.pyvelcro
Velcro is a script that sets up a Python project for local installation. Essentially, it "fastens" together virtualenv and optionally pip too.
https://bitbucket.org/kumar303/velcro/Get Latest Tinderbox
gets the latest builds and logs from staging.mozilla.org
http://hg.mozilla.org/automation/getlatest-tinderbox/profileserver.py
simple web server for testing
http://mxr.mozilla.org/mozilla-central/source/build/pgo/profileserver.pyalternafox
Alternafox is a command-line Python script for OS X that makes it possible to use Aurora and Nightly as entirely separate browsers from Firefox itself. This means, for example, that you can use Firefox for work, Aurora for personal, and Nightly for development. Each browser uses its own separate profile, so you can install different add-ons and personas in each, and run them all at the same time.
https://github.com/toolness/alternafoxReviewer Chooser
A tool to help you pick a reviewer for your patch. See also http://weblog.latte.ca/blake/tech/thunderbird/reviewerChooser
https://raw.github.com/bwinton/Mozilla-Tools/master/getReviewer.pycarton
make a self-extracting virtualenv from directories or URLs of packages; repository: http://k0s.org/mozilla/hg/carton
http://pypi.python.org/pypi/cartonmozcommitbuilder
Find the commit that introduced a regression. Specify a condition script for automatic bisection or interactively test O(lg n) builds. Clones mozilla-central. Merge-aware.
http://github.com/mozilla/mozcommitbuilderqimportbz
hg qimportbz gives you a list of the patches with a description and some flags and you select which number you want. handy for pushing other people's patches.
http://hg.mozilla.org/users/robarnold_cmu.edu/qimportbzhttp://hg.mozilla.org/webtools/nightly
scrape nightly builds
http://hg.mozilla.org/webtools/nightlyvending-machine
a script for managing vendor libraries
https://github.com/jbalogh/vending-machineself-serve-tools
Python API to access the self-serve REST API. http://www.joshmatthews.net/blog/2011/03/self-serve-now-in-bulk/ http://www.joshmatthews.net/blog/2011/04/build-cancellation-from-the-console-gets-some-loving/
http://hg.mozilla.org/users/josh_joshmatthews.net/self-serve-tools/