aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix except statement in order to be compatible with Python3marmeladema2019-10-161-1/+1
|
* Use urllib from six module in order to be compatible with Python3marmeladema2019-10-161-3/+3
|
* Download platform-tools even for non-emulator buildsPaul Rouget2019-08-271-0/+1
|
* Remove `./mach env` as it is a lie.Simon Sapin2019-07-011-12/+0
| | | | | We stopped overriding `$PATH` since using rustup. The printed variables are not sufficient to do anything.
* Upgrade NDK to v15c.Josh Matthews2019-05-011-5/+5
|
* Reduce log spam when running sdkmanagerSimon Sapin2018-10-111-6/+29
|
* Add --accept-all-licences to ./mach bootstrap-androidSimon Sapin2018-10-111-4/+12
|
* Add `--build` and `--emulator-x86` to `./mach bootstrap-android`Simon Sapin2018-10-111-24/+34
| | | | This allows not downloading dependencies that are not needed for a praticular task.
* Comment on ./mach bootstrapManish Goregaokar2018-09-111-0/+3
|
* Add mach bootstrap-gstreamerManish Goregaokar2018-09-111-0/+9
|
* Make ./mach bootstrap into a full-fledged linux dependency installerManish Goregaokar2018-09-111-0/+9
|
* Fix python indentation.Josh Matthews2018-08-011-1/+1
|
* mach: Avoid python error when there's no cargo cache.Josh Matthews2018-08-011-8/+9
|
* Update Gradle and SDKPaul Rouget2018-07-311-1/+1
|
* Auto merge of #21104 - wayling:master, r=jdmbors-servo2018-07-281-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "./mach env" cause unclear message. We did't use "LD_LIBRARY_PATH" and no need display this. <!-- Please describe your changes on the following line: --> Remove the print message. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ X] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21104) <!-- Reviewable:end -->
| * "./mach env" cause unclear messagewayling2018-07-281-4/+4
| | | | | | | | Use the "get" instead to avoid the error.
* | Remove unused --update parameter to ./mach bootstrap-androidSimon Sapin2018-07-121-4/+1
| |
* | Android: increase emulator disk size, for debug buildsSimon Sapin2018-07-021-1/+1
| | | | | | | | Avoid INSTALL_FAILED_INSUFFICIENT_STORAGE on install.
* | bootstrap-android: check SHA1 hashes of downloaded archivesSimon Sapin2018-07-021-3/+16
| |
* | Add "./mach android-emulator"Simon Sapin2018-07-021-1/+1
| |
* | Use the bootstraped Android toolchains by defaultSimon Sapin2018-07-021-16/+6
| |
* | bootstrap-android: always run sdkmanagerSimon Sapin2018-07-021-39/+38
| | | | | | | | It is quick when already up to date
* | bootstrap-android: use predictable paths for SDK and NDKSimon Sapin2018-07-021-10/+14
| | | | | | | | … independent of the version number
* | Create emulator images for both ARM and x86Simon Sapin2018-07-021-16/+33
| |
* | Do not prompt for Android emulator hardware profileSimon Sapin2018-07-021-8/+12
| |
* | TidySimon Sapin2018-07-021-1/+0
| |
* | mach bootstrap-android: configure and show how to start an emulatorSimon Sapin2018-07-021-0/+6
| |
* | Create and Android virtual deviceSimon Sapin2018-07-021-0/+9
| |
* | Use more recent Android toolsSimon Sapin2018-07-021-29/+32
| | | | | | | | The older version seems to insist on updating itself when asked to install other components.
* | Install complete Android SDK (as much as on Buildbot CI)Simon Sapin2018-07-021-9/+20
| |
* | Add `./mach bootstrap-android`Simon Sapin2018-07-021-1/+52
|/
* Auto merge of #20789 - Eijebong:fix-clean-cache, r=jdmbors-servo2018-06-061-2/+8
|\ | | | | | | | | | | | | | | | | | | | | Don't try to list files in directories that don't exist Fixes #20784 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20789) <!-- Reviewable:end -->
| * Don't try to list files in directories that don't existBastien Orivel2018-05-151-2/+8
| | | | | | | | Fixes #20784
* | Remove geckolib-related build commands.Emilio Cobos Álvarez2018-05-171-9/+6
|/
* Show actual exception when deletion fails.Josh Matthews2018-03-081-0/+2
|
* Added default fall-back when CARGO_HOME is not set for clean-cargo-cacheTimur Borkhodoev2018-01-221-1/+2
|
* auto clean cachetigercosmos2018-01-181-6/+6
|
* Use rustup.rs instead of custom bootstrapSimon Sapin2018-01-101-199/+23
| | | | Fixes #11361, closes #18874
* Stop using "alternate" rustc builds.Simon Sapin2017-11-141-9/+2
| | | | | With https://github.com/rust-lang/rust/pull/45810, normal Nightly now has LLVM assertions disabled.
* Auto merge of #18953 - servo:keep, r=jdmbors-servo2017-10-201-1/+4
|\ | | | | | | | | | | | | | | | | | | Fix './mach clean-nightlies --keep 3' not keeping anything. This affects CI, re-downloading Nightly for every build. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18953) <!-- Reviewable:end -->
| * Fix './mach clean-nightlies --keep 3' not keeping anything.Simon Sapin2017-10-191-1/+4
| |
* | Only pass cafile argument to urlopen in Python versions that support it.Simon Sapin2017-10-191-2/+4
| |
* | Bootstrap from official static.rust-lang.org when SNI is availableSimon Sapin2017-10-181-13/+14
| |
* | Download "non-alt" rustc builds from more permanent URLsSimon Sapin2017-10-181-5/+4
|/ | | | | | | | | | The `rust-lang-ci` S3 bucket is ephemeral: https://internals.rust-lang.org/t/updates-on-rusts-ci-uploads/6062 https://internals.rust-lang.org/t/public-stable-rust-services/6072 We’ll still need to find a solution for "alt" rustc builds. In the meantime, this is a step.
* mach clean-nightlies: don’t remove everything versioned by dateSimon Sapin2017-10-111-5/+3
| | | | (Dates contain `-`.)
* mach clean-nightlies: fix removing cargo versioned by rust commitSimon Sapin2017-10-111-1/+1
|
* Get rustc commit hash from channel manifestSimon Sapin2017-09-121-5/+1
| | | | | … added in https://github.com/rust-lang/rust/pull/44218, instead of using the GitHub API.
* Switch back to pinning Rust by Nightly date instead of commit hash…Simon Sapin2017-08-311-38/+36
| | | | | | | | | | | | | | | | | | … this time using a `rust-toolchain` file compatible with rustup: https://github.com/rust-lang-nursery/rustup.rs/#the-toolchain-file And upgrade to rustc 1.21.0-nightly (c11f689d2 2017-08-29) ---- Now if both `system-rust` and `system-cargo` are set to `true` in `.servobuild`’s `[tools]` section, and the corresponding `rustc` and `cargo` binaries are in fact rustup’s wrappers, then rustup will use the correct version based on `rust-toolchain`. CC https://github.com/servo/servo/issues/11361 Unlike https://github.com/servo/servo/pull/17927, this does not make mach use rustup directly.
* Continue after failed attempt to delete old nightlyE. Dunham2017-08-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failure to catch this error broke bholley's PR: http://build.servo.org/builders/linux-dev/builds/8616/steps/shell__1/logs/stdio. Logs below for posterity. Current Rust nightly version: 599be0d18f4c6ddf36366d2a5a2ca6dc65886896 Current Rust stable version: 1.19.0 Removing /home/servo/.servo/cargo/13d94d5fa8129a34f5c77a1bcd76983f5aed2434 Error running mach: ['clean-nightlies', '--keep', '3', '--force'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You should consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: OSError: [Errno 2] No such file or directory: '/home/servo/.servo/cargo/13d94d5fa8129a34f5c77a1bcd76983f5aed2434' File "/home/servo/buildbot/slave/linux-dev/build/python/servo/bootstrap_commands.py", line 334, in clean_nightlies delete(full_path) File "/home/servo/buildbot/slave/linux-dev/build/python/servo/util.py", line 28, in delete os.remove(path)
* Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02)Simon Sapin2017-07-191-26/+18
| | | | | Cargo binaries are now produced on Rust’s CI, not Cargo’s. Remove cargo-commit-hash and find Cargo based on rust-commit-hash.