Commit Graph

92 Commits

Author SHA1 Message Date
Gregory Szorc
0d16ec0cfa 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
9b27d0130f 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
a4fca5e52f 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
a5568b703d Bug 1168861 - Make mach bootstrap install GConf2-devel on Fedora, r=glandium 2015-05-27 11:01:22 -04:00
Michael Comella
3ba6563392 Bug 1165422 - Bump mach bootstrap versions for SDK 22. r?nalexander 2015-06-04 10:53:24 -07:00
Morgan Phillips
1fc869367e 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
a91bd1e5ec Bug 1143660 - Fix spacing around operators. r=gps 2015-03-18 19:13:27 +01:00
Dirkjan Ochtman
e955d621b1 Bug 1143660 - Remove empty lines before EOF. r=gps 2015-03-18 19:11:50 +01:00
Dirkjan Ochtman
fdd7794f0a Bug 1143660 - Make sure inline comments are preceded by two spaces. r=gps 2015-03-18 19:10:41 +01:00
Dirkjan Ochtman
3078bae904 Bug 1143660 - Fix continuation line indentations for visual indent. r=gps 2015-03-18 19:08:55 +01:00
Dirkjan Ochtman
b68949442f Bug 1143660 - Ascertain 2 blank lines between top-level elements. r=gps 2015-03-18 18:58:35 +01:00
Dirkjan Ochtman
01c0bc7b78 Bug 1143660 - Remove unused imports from mozboot. r=gps 2015-03-18 18:53:24 +01:00
Sylvestre Ledru
07a16ff9fb 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
52a7633673 Bug 1142897 - Include archlinux module in bin/bootstrap.py download list. r=gps 2015-03-13 13:24:47 -07:00
Geoffroy Planquart
f2d769b216 Bug 942475 - Add ArchlinuxBootstrapper; r=gps 2015-03-12 10:27:44 +01:00
vidit23
b077367ed2 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
bcc24e8515 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
635e342b21 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
a1cfde9be5 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.

--HG--
rename : python/mozboot/mozboot/android-ndk-r8e.rb => python/mozboot/mozboot/android-ndk.rb
extra : rebase_source : 44f164d3d5916bc2faf4c64285e232047daea35e
2015-01-08 13:47:42 -08:00
Nick Alexander
3c84da2160 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!

--HG--
extra : rebase_source : d3ca836951b05eb30fabc17e523676d31c1ec0ef
extra : amend_source : d34e9eb5cd840b827a7ce65a0d22c1c275efff09
2014-12-21 15:29:19 -08:00
Nick Alexander
7894085f23 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.

--HG--
extra : rebase_source : b52b7080f857e351e71f169f09a42dfd61b43a43
2014-12-21 15:29:19 -08:00
Nick Alexander
ac93f5100c 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.

--HG--
extra : rebase_source : abaffcee70eacb391f53d622fba4a445277818db
2014-12-21 15:29:18 -08:00
Nick Alexander
d47d612c25 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.

--HG--
extra : rebase_source : 8c9b4485dbe5ceb64436fd73ea0258592a2b818f
2014-12-21 15:29:17 -08:00
Pavel Roskin
faa13b07f2 Bug 1111256 - Use LooseVersion for Python version comparison; r=gps
Python release candidates didn't parse with StrictVersion. Use
LooseVersion instead.

--HG--
extra : amend_source : 1a247ac877fa343dbe69fbe5ce9850c5081147bc
2014-12-23 09:43:45 -08:00
Anton Neumann
1a9d41e60d Bug 906177 - Fix bootstrap on elementary; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : 44cd72c98044aa380a5d60c5dd4127364f9ef6b3
2014-11-21 09:58:29 -08:00
Gregory Szorc
241f9c983b Bug 1078007 - Update URL for Homebrew installer; rs=RyanVM
The installer URL moved upstream. Reflect that move.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 1ab21c8ef8458db87a6594f1bfca439b386cc254
2014-10-20 09:12:50 -07:00
Roshan M Regy
eb595c225c Bug 1057305 - Make mach bootstrap work with elementary os; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : 40d5633b7099dd0aba9b6933d12aa4d579179694
2014-08-22 16:54:48 +05:30
Carsten "Tomcat" Book
a0b03bc21c Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-07-28 16:30:30 +02:00
Paul Adenot
cf83782d84 No Bug - Revert part of 2fe40d407853 added by mistake.
--HG--
extra : rebase_source : 095450aa0f40d672187499e76f3aa70a7e8001a7
2014-07-28 15:40:02 +02:00
Wes Kocher
b1154f1e05 Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Paul Adenot
59516ac444 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
8bf884c524 Bug 1039806 - UnboundLocalError: local variable 'output'; r=mshal
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 231b0dac997551660dd9c187880e80734a2d7300
extra : amend_source : 34dab55ff1d1d341e6ebe078747c4268ecc0096a
2014-07-16 16:02:31 -07:00
Tom Schuster
05c3bd3642 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
--HG--
extra : rebase_source : 0e37b98ad2481df7bae906d5c67ecd94a22fabda
2014-06-09 12:46:15 -07:00
Gregory Szorc
44bf3127d8 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
efec110064 Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Jan Beich
8edf404725 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
71a6c7cb83 Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich
608012c5fc Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nickolay Ponomarev
719fb3658c 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
e8f358f713 No Bug - Fix python typo in mozboot, r=trivial, DONTBUILD, a=NPOTB 2014-03-04 13:04:12 -05:00
Maciek
69be259a29 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
3b489846fc Bug 964744 - Refactor mozboot packages into the constructor, r=gps 2014-01-28 18:27:43 -05:00
John Ford
495e6001f8 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
84582e867e Bug 935196 - Bootstrap doesn't have MacPorts url for 10.9. r=gps 2014-01-07 20:48:31 -08:00
Gregory Szorc
3bafa7a554 Bug 952395 - Update Homebrew bootstrap URL to reflect upstream changes
DONTBUILD (NPOTB)
2013-12-20 10:02:06 -08:00
Gregory Szorc
13c6cf2cf5 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
4fa114a0f5 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
25b95a4df8 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
d4e6881dc9 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
e784156fe1 Bug 934165 - Increase clang version to 3.3 for MacPorts. r=gps 2013-11-06 16:19:53 -05:00