Commit Graph

59 Commits

Author SHA1 Message Date
Gregory Szorc
41b24b278a Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.

--HG--
extra : rebase_source : d33f8abcabb6ad6511c2f9e202283d43613fafc4
extra : amend_source : 3a56bc4d49ee6200cbdd0e87b4f28489518fee79
2014-07-02 14:05:42 -07:00
Abdul Qadeer
17146d7b2e Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Jan Beich
85509113d4 Bug 1022686: Don't pull libIDL for |mach bootstrap|, it's unused since bug 687766. r=gps 2014-06-11 09:42:19 +02:00
Jan Beich
1d0ee3b48b Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich
c2a5e1a00c Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nickolay Ponomarev
400e6def48 Bug 957186 - Only 'port select clang' after installing it with port; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : 176cb696075cf33cb99f07a9d8e0e08fd6cc73ea
2014-05-10 17:11:00 -07:00
Andrew Halberstadt
dbaef4b995 No Bug - Fix python typo in mozboot, r=trivial, DONTBUILD, a=NPOTB 2014-03-04 13:04:12 -05:00
Maciek
e385dbf8fe Bug 950107 - Support ALL_PROXY in bootstraper; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : cd0913f142f9dfcba18aa5e6925d7a4e6280d975
2014-02-05 13:10:00 -08:00
Andrew Halberstadt
832c436936 Bug 964744 - Refactor mozboot packages into the constructor, r=gps 2014-01-28 18:27:43 -05:00
John Ford
efffc475ae Bug 939234 - mach bootstrap does not include gcc-g++ on fedora; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : c235931bc179daa6547219f4af12a06064469087
2013-11-20 14:23:00 -08:00
Max Li
270714c34d Bug 935196 - Bootstrap doesn't have MacPorts url for 10.9. r=gps 2014-01-07 20:48:31 -08:00
Gregory Szorc
cf9527a6c4 Bug 952395 - Update Homebrew bootstrap URL to reflect upstream changes
DONTBUILD (NPOTB)
2013-12-20 10:02:06 -08:00
Gregory Szorc
b0cd0d8878 Bug 943874 - Update Git URL printed during mach bootstrap; r=ehsan
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : e9d0f626803c2d9326f646b31f3f7bbc58a29bde
extra : amend_source : 39a4efa6ad8fd0c1d30a7d1970037edb281a471c
2013-11-28 13:03:04 +07:00
Gregory Szorc
7256c8a0e0 NO BUG - Make bad path message in bootstrap more clear
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 9160c66118e23ef2aec8c74a7830cd45c9ca265c
2013-11-20 16:43:38 -08:00
Nick Thomas
481a86bf54 Bug 937458, bump the required clang version in mach bootstrap, r=gps DONTBUILD
--HG--
extra : rebase_source : 423de887a8ee17846ad3f4b3a716d86b64ce6654
2013-11-19 10:35:19 -05:00
Maurizio De Santis
4acb81c562 Bug 935741 - Use HGPLAIN to fix version detection of non-English Mercurial releases. r=gps 2013-11-11 16:13:53 -05:00
Gordon P. Hemsley
37c909e1d4 Bug 934165 - Increase clang version to 3.3 for MacPorts. r=gps 2013-11-06 16:19:53 -05:00
Matthew Gregan
d2b5133494 Bug 934290 - Add PulseAudio build dep to bootstrap. r=gps
--HG--
extra : rebase_source : 6b2face4ede2e695f18b3859c01267717a5db917
2013-11-04 13:38:32 +13:00
Gregory Szorc
b33811a375 Bug 933499 - Fix bootstrap on fresh OS X 10.9 installations; r=ted
DONTBUILD (NPOTB) on a CLOSED TREE
2013-11-05 12:51:52 -08:00
Gregory Szorc
4fe08f2ff2 Bug 896379 - Fix build bootstrapper on fresh OS X installs; r=bsmedberg
DONTBUILD (NPOTB)
2013-07-23 10:23:47 -07:00
Garrett Robinson
161f96daee Bug 918050 - mach bootstrap should do the same thing for Linux Mint that it does for Ubuntu. r=gps 2013-09-20 13:05:30 -07:00
Gregory Szorc
f0af9a1b4d Bug 901278 - More intelligently detect installed Xcode; r=mshal 2013-09-18 11:16:22 -07:00
Gregory Szorc
949d7bca5f Bug 914372 - Provide more info to help with installing Python; r=mshal 2013-09-18 11:16:21 -07:00
Gregory Szorc
7773c22f8f Bug 914373 - Verify $PATH is sane during bootstrap; r=mshal 2013-09-18 11:16:21 -07:00
Gregory Szorc
16b6008afb Bug 913965 - Don't use build-dep for installing dependencies; install modern Mercurial on Ubuntu; r=glandium
DONTBUILD (NPOTB)
2013-09-11 16:27:41 -07:00
Gregory Szorc
4cb6369468 Bug 913276 - Only install terminal-notifier on OS X 10.8+; r=ted 2013-09-10 17:09:34 -07:00
Sahil Chelaramani
55f4b8bd1f Bug 906177 - Make bootstrap compatible with Elementary OS. r=gps 2013-08-28 08:03:26 -04:00
Jan Beich
2c99f0f441 Bug 908637 - Add bootstrap support for FreeBSD. r=gps 2013-08-26 11:07:34 -04:00
Landry Breuil
ad750b91d5 Bug 908074 - Update OpenBSD mozboot backend to install dbus-glib/gstreamer/pulseaudio r=gps 2013-08-23 09:22:53 +02:00
Gregory Szorc
46ac395b25 Bug 854611 - Notification Center notification when a long build completes; r=ted
DONTBUILD (NPOTB)
2013-08-22 12:48:18 -07:00
Drew Willcoxon
86bbb37dad Bug 902617 - Make mach bootstrap warn about possibly outdated Xcode when Xcode command line tools are outdated. r=gps 2013-08-09 16:57:40 -07:00
Gregory Szorc
a64f418ef8 Bug 878607 - Backout aeb89583349d (bug 887814) for breaking bootstrap on MacPorts; r=jwatt
DONTBUILD (NPOTB)
2013-07-16 17:04:36 -07:00
Andrew Wilcox
07be66f684 Bug 893723 - Ignore trailing '+' in Mercurial version string; r=gps
DONTBUILD (NPOTB)
2013-07-15 04:15:00 -07:00
Gregory Szorc
5531115935 Bug 887814 - Don't use mp-clang in MacPorts bootstrapper; r=BenWa
--HG--
extra : rebase_source : 1513b7f62d62e5250a9382d0ac8ba1f3df8890ab
2013-06-28 14:46:56 -07:00
Gregory Szorc
fad7743b3f Bug 885572 - Fix upgrade_mercurial() in bootstrapper; r=khuey
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 3aa99eb3b3d2d273e4882779bb527ac96f757ef6
2013-06-24 10:23:14 -07:00
Edwin Flores
3a7f821333 Bug 794282 - Add gstreamer packages to bootstrap scripts r=gps 2013-06-22 11:17:32 +12:00
Gregory Szorc
5d4853a8e1 Bug 872231 - Bootstrapper ensures Python 2.7.3 and Mercurial 2.5 are installed; r=ted
DONTBUILD (NPOTB)
2013-06-17 09:51:40 -07:00
Kevin Everets
5f1ca85bc6 Bug 880371 - Add debian bootstrapping for mach. r=gps
Nearly the same as Ubuntu bootstrap, but uses the build dependencies from Debian's "iceweasel" package instead.
2013-06-06 14:14:31 -04:00
Gregory Szorc
408aacec08 Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Dave Vasilevsky
1766ad0b6d Bug 862562 - Fix mozboot on 10.6. r=gps 2013-05-02 12:51:10 -04:00
Timur Timirkhanov
cd2d4b4929 Bug 843492 - Bootstrapping fails using Python 3x due to urllib2; r=gps
DONTBUID (NPOTB)
2013-04-03 05:38:00 -07:00
Gary Kwong
58181a4d38 Bug 846519 - Running bootstrap.py throws a "NameError: global name HOMEBREW_PACKAGES is not defined" error. r=gps DONTBUILD (NPOTB) 2013-02-28 14:52:18 -08:00
Zuhao(Joe) Chen
27508912b9 Bug 805811 - Support bootstrapping with MacPorts; r=gps
DONTBUILD (NPOTB)
2013-02-25 19:52:36 -08:00
Gary Kwong
425f124580 Bug 838384 - mozboot bootstrap.py does not recognize newer Xcode's clang. r=gps 2013-02-05 16:59:01 -08:00
Gregory Szorc
6d5f9d8e21 Bug 822103 - Support 'LinuxMint' distro in mozboot; r=edmorley
DONTBUILD (NPOTB)
2012-12-31 10:12:15 -08:00
Jorge Luis Mendez
1b4efeceac Bug 820285 - Use distutils.version.StrictVersion in OSX version tests; r=gps
DONTBUILD (NPOTB)
2012-12-12 19:56:48 -05:00
Jorge Luis Mendez
3476dafc79 Bug 820117 - Remove XQuartz from OS X prerequisites; r=gps
DONTBUILD (NPOTB)
2012-12-11 14:02:27 -08:00
Gregory Szorc
cb927ab20b Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Freddie F. Haddad
0a6b114f46 Bug 803990 - Add Gentoo to mozboot; r=gps
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : f5c73f1942b71bd0f47a43241c13ef7d7a4fd8d4
2012-11-01 17:06:00 -07:00
Gregory Szorc
926d445c63 Bug 795769 - Add "bootstrap" command to mach; r=ted
The command is currently just a proxy into mozboot.

DONTBUILD (NPOTB)
2012-10-10 17:17:00 -07:00