gecko/python
Gregory Szorc 131c503dfb Bug 902619 - Write mozinfo.json as part of config.status; r=ted
There are both mechanical and logical changes in this patch.

The mechanical changes involve moving some files into the mozbuild
package.

The logical changes include move writing of mozinfo.json into
config.status (from configure.in). There were some variable assignments
being performed in configure.in. These variables were read from
writemozinfo.py. However, these variables don't appear to be necessary!
Now that mozinfo has full access to the underlying config.status data
structure, it can now access these variables directly. I verified that
every variable being assigned in configure.in had a corresponding
AC_SUBST earlier in the file.

The only variable that's a bit weird is the TOPSRCDIR and MOZCONFIG
environment variables. mozinfo continues to look in the environment for
MOZCONFIG. However TOPSRCDIR is now coming from config.status.

As part of moving the code, I also modernized the test file, cleaned up
some style, and removed some unused imports.

--HG--
rename : config/writemozinfo.py => python/mozbuild/mozbuild/mozinfo.py
rename : config/tests/unit-writemozinfo.py => python/mozbuild/mozbuild/test/test_mozinfo.py
2013-08-07 23:48:41 -07:00
..
blessings
codegen Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
configobj Bug 894227 - Add configobj Python package; rs=glandium 2013-07-18 12:55:41 -07:00
mach Bug 902002 - Don't display mach categories in help if no commands exist under them, r=gps, DONTBUILD, a=NPOTB 2013-08-07 15:17:08 -04:00
mock-1.0.0
mozboot Bug 878607 - Backout aeb89583349d (bug 887814) for breaking bootstrap on MacPorts; r=jwatt 2013-07-16 17:04:36 -07:00
mozbuild Bug 902619 - Write mozinfo.json as part of config.status; r=ted 2013-08-07 23:48:41 -07:00
mozversioncontrol/mozversioncontrol Bug 794580 - mach mercurial-setup; r=nalexander 2013-07-29 16:58:40 -07:00
psutil Bug 870575 - Upgrade psutil to 0.7.1; rs=me 2013-05-09 15:39:30 -07:00
simplejson-2.1.1
virtualenv Bug 837631 - Refresh virtualenv.py to pick up the changes from 661f7866da20. r=gps 2013-02-06 16:58:09 -05:00
which
mach_commands.py Bug 818744 - mach commands to run Python and Python unit tests. r=gps 2013-07-02 17:33:48 -07:00
Makefile.in Bug 677452 - Add smartmake-like functionality to |mach build DIR|. r=gps 2013-05-01 15:36:05 -07:00
moz.build Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243