Commit Graph

92 Commits

Author SHA1 Message Date
Gregory Szorc
d993a444fa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
1420a63f28 Bug 1168466 - Bump minimum Mercurial version in bootstrapper; r=me
This should have been done in 4c757e339f81.

DONTBUILD (NPOTB)
2015-06-10 15:38:46 -07:00
Timur Timirkhanov
6f7c9bfab5 Bug 1169089 - Detect CentOS 7 in bootstrapper; r=gps
CentOS has apparently changed its disto name. Detect the new version.

DONTBUILD (NPOTB)
2015-06-10 11:27:15 -07:00
Benjamin Smedberg
49f7642400 Bug 1168861 - Make mach bootstrap install GConf2-devel on Fedora, r=glandium 2015-05-27 11:01:22 -04:00
Michael Comella
bfb2840dd5 Bug 1165422 - Bump mach bootstrap versions for SDK 22. r?nalexander 2015-06-04 10:53:24 -07:00
Morgan Phillips
6ea7ec43d2 Bug 1151834 - Allow users to skip all interactive prompts; r=gps
Interactive prompts make automation more difficult for developers looking to stand up machines using bootstrap en masse.
Two new options have been added to allow users with such needs to bypass all prompts: one for selecing an application
(desktop/mobile) and another for assuming yes to all questions posed by package managers (apt-get/yum).
2015-04-22 16:37:19 +00:00
Dirkjan Ochtman
6d6f0ae7a1 Bug 1143660 - Fix spacing around operators. r=gps 2015-03-18 19:13:27 +01:00
Dirkjan Ochtman
f2fb39ca4b Bug 1143660 - Remove empty lines before EOF. r=gps 2015-03-18 19:11:50 +01:00
Dirkjan Ochtman
9bd2846b03 Bug 1143660 - Make sure inline comments are preceded by two spaces. r=gps 2015-03-18 19:10:41 +01:00
Dirkjan Ochtman
268419db5a Bug 1143660 - Fix continuation line indentations for visual indent. r=gps 2015-03-18 19:08:55 +01:00
Dirkjan Ochtman
9f3e65c1c2 Bug 1143660 - Ascertain 2 blank lines between top-level elements. r=gps 2015-03-18 18:58:35 +01:00
Dirkjan Ochtman
ef851e9a3d Bug 1143660 - Remove unused imports from mozboot. r=gps 2015-03-18 18:53:24 +01:00
Sylvestre Ledru
14985a6e05 Bug 1143412 - Make sure that we run "apt-get update". Otherwise, the install of packages will fail r=nalexander 2015-03-16 14:29:53 +01:00
Nick Alexander
80310df495 Bug 1142897 - Include archlinux module in bin/bootstrap.py download list. r=gps 2015-03-13 13:24:47 -07:00
Geoffroy Planquart
43d3c692b6 Bug 942475 - Add ArchlinuxBootstrapper; r=gps 2015-03-12 10:27:44 +01:00
vidit23
c5e761a8de Bug 1121317 - Install Maven repositories during |mach bootstrap| for mobile/android. r=nalexander
DONTBUILD NPOTB
2015-03-04 11:22:00 -08:00
Nick Alexander
62dde1cf2c Bug 1123824 - Include platforms/android-VERSION in suggested mozconfig. r=me,f=psd
DONTBUILD NPOTB
2015-01-26 11:13:49 -08:00
Nick Alexander
c99845c696 No bug - Fix typo in mozconfig output message. r=me
DONTBUILD NPOTB on a CLOSED TREE

This was tested by ally and mfinkle in #mobile.
2015-01-12 14:51:31 -08:00
Nick Alexander
c09b1243eb Bug 1117357 - Fix |mach bootstrap| for mobile/android on Mac OS X. r=gps
This does two things.  First, it aligns the brew formula name
(AndroidNdk) with the brew file name (android-ndk.rb).  Second, it
makes sure that we actually find the android-ndk.rb file.  I think
|mach bootstrap| always worked, due to a felicity where the working
directory always contained android-ndk.rb; but |python bootstrap.py|
failed because android-ndk.rb was downloaded to a temporary location
that was not included in the |brew install| command.
2015-01-08 13:47:42 -08:00
Nick Alexander
dc4ab68d97 Bug 1108771 - Part 4: Implement |mach bootstrap| for mobile/android on OS X with homebrew. r=gps
Pushing on a CLOSED TREE because this is NPOTB.

The custom brew formula is a lightly edited version of an earlier
revision of brew's android-ndk.rb.  It's not clear that using a custom
brew formula for the Android SDK version r8e is better than using the
existing android Python module for installing the SDK and the NDK, but
it's done now and works locally.  If we really wanted to avoid shipping
it, we could probably arrange to land it in
https://github.com/Homebrew/homebrew-versions.

I see no easy way to install the Java 1.7 JDK with macports, so in the
spirit of the good now being better than the perfect later, I've
punted.  (I don't see an Android NDK package either, but that
functionality exists in Python.)  Patches wanted!
2014-12-21 15:29:19 -08:00
Nick Alexander
fbe70122ec Bug 1108771 - Part 3: Factor _ensure_*_packages out of OS X bootstrapper. r=gps
This prepares the way for implementing install_mobile_android_packages
on OS X.
2014-12-21 15:29:19 -08:00
Nick Alexander
278608061f Bug 1108771 - Part 2: Implement |mach bootstrap| for mobile/android on Debian-like systems. r=gps
This adds a generic android Python module that handles:

* downloading and unpacking Google's Android SDK and NDK bundles;
* using the |android| tool to install additional Android packages;
* printing a mozconfig snippet suitable for mobile/android builds.
2014-12-21 15:29:18 -08:00
Nick Alexander
75df86f032 Bug 1108771 - Part 1: Prompt for which application to bootstrap. r=gps
This lays the foundation for adding support for bootstrapping
mobile/android.

* Queries for which application to bootstrap, currently browser or
  mobile/android;

* Adds call to install_APPLICATION_packages after
  install_system_packages;

* Adds call to suggest_APPLICATION_mozconfig after bootstrapping
  everything;

* and splits install_browser_packages out of install_system_packages
  throughout (essentially untested, but generally simple).

To implement a new application (b2g?), just add it to the list of
applications and implement install_b2g_packages throughout.
2014-12-21 15:29:17 -08:00
Pavel Roskin
b7eb105ffc Bug 1111256 - Use LooseVersion for Python version comparison; r=gps
Python release candidates didn't parse with StrictVersion. Use
LooseVersion instead.
2014-12-23 09:43:45 -08:00
Anton Neumann
b69c112b23 Bug 906177 - Fix bootstrap on elementary; r=gps
DONTBUILD (NPOTB)
2014-11-21 09:58:29 -08:00
Gregory Szorc
431cb04d1a Bug 1078007 - Update URL for Homebrew installer; rs=RyanVM
The installer URL moved upstream. Reflect that move.

DONTBUILD (NPOTB)
2014-10-20 09:12:50 -07:00
Roshan M Regy
db25f7e71a Bug 1057305 - Make mach bootstrap work with elementary os; r=gps
DONTBUILD (NPOTB)
2014-08-22 16:54:48 +05:30
Carsten "Tomcat" Book
083eea59e8 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-07-28 16:30:30 +02:00
Paul Adenot
ea13bc0d4a No Bug - Revert part of 2fe40d407853 added by mistake. 2014-07-28 15:40:02 +02:00
Wes Kocher
9e51564a67 Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Paul Adenot
20cea91126 Bug 1043025 - Null-check when getting the parent object of an AudioContext because we might not have a window all all time during shutdown. r=roc 2014-07-24 12:01:13 +02:00
Gregory Szorc
e78609e62e Bug 1039806 - UnboundLocalError: local variable 'output'; r=mshal
DONTBUILD (NPOTB)
2014-07-16 16:02:31 -07:00
Tom Schuster
1c25c3296a Bug 981146 - Make a dbus-based notification appear when the build completes (if the build took >300s, a pre-existing limit) on some Linux systems. (Works on Fedora, doesn't work on Debian/Ubuntu -- just needs someone to perform the trivial work [if you run Debian] of determining what packages are needed to make this patch's additions work. Patches welcome!) r=gps 2014-06-09 12:46:15 -07:00
Gregory Szorc
96c0ce82ef 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.
2014-07-02 14:05:42 -07:00
Abdul Qadeer
0f24ebefe5 Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Jan Beich
af48d494b3 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
df784e8650 Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich
ccbb4595a3 Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nickolay Ponomarev
7cc6374426 Bug 957186 - Only 'port select clang' after installing it with port; r=gps
DONTBUILD (NPOTB)
2014-05-10 17:11:00 -07:00
Andrew Halberstadt
93a3d696f0 No Bug - Fix python typo in mozboot, r=trivial, DONTBUILD, a=NPOTB 2014-03-04 13:04:12 -05:00
Maciek
975577f0c6 Bug 950107 - Support ALL_PROXY in bootstraper; r=gps
DONTBUILD (NPOTB)
2014-02-05 13:10:00 -08:00
Andrew Halberstadt
7b592f4038 Bug 964744 - Refactor mozboot packages into the constructor, r=gps 2014-01-28 18:27:43 -05:00
John Ford
dcc1816654 Bug 939234 - mach bootstrap does not include gcc-g++ on fedora; r=gps
DONTBUILD (NPOTB)
2013-11-20 14:23:00 -08:00
Max Li
b6c4bf0992 Bug 935196 - Bootstrap doesn't have MacPorts url for 10.9. r=gps 2014-01-07 20:48:31 -08:00
Gregory Szorc
5c35d7505b Bug 952395 - Update Homebrew bootstrap URL to reflect upstream changes
DONTBUILD (NPOTB)
2013-12-20 10:02:06 -08:00
Gregory Szorc
d9d9997c1e Bug 943874 - Update Git URL printed during mach bootstrap; r=ehsan
DONTBUILD (NPOTB)
2013-11-28 13:03:04 +07:00
Gregory Szorc
b94f6b0670 NO BUG - Make bad path message in bootstrap more clear
DONTBUILD (NPOTB)
2013-11-20 16:43:38 -08:00
Nick Thomas
5882c3e01c Bug 937458, bump the required clang version in mach bootstrap, r=gps DONTBUILD 2013-11-19 10:35:19 -05:00
Maurizio De Santis
ed41a19188 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
8b5f4cdc26 Bug 934165 - Increase clang version to 3.3 for MacPorts. r=gps 2013-11-06 16:19:53 -05:00