aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Create `mach bootstrap` based on Mozilla's mozboot bootstrapperUK9922016-09-071-1/+23
|
* Add error message for connectivity issues during bootstrapS2016-08-171-0/+4
|
* Fix overriding url with Request obj. when resuming downloadS2016-08-161-2/+3
|
* Fix error-prone message while bootstrappingS2016-08-151-1/+1
|
* Use static-rust-lang-org.s3.amazonaws.com everywhere.Simon Sapin2016-07-081-1/+1
|
* Fix "looking for rustc at …" message for stable when already bootstrappedSimon Sapin2016-07-081-8/+4
| | | | | | | | | | Also always download from static-rust-lang-org.s3.amazonaws.com instead of static.rust-lang.org. They host the same content, but the latter goes through a CDN and has a TLS certificate that failed to verify and some Python versions: https://github.com/servo/servo/issues/3582 https://github.com/servo/servo/pull/3971
* Fix error in cross-compiling bootstrapMatt Brubeck2016-07-051-1/+1
|
* Add mach build-stable to build with stable rustcGabriel Poesia2016-06-301-17/+41
| | | | | | Github issue: #11806 Building with current stable rust (1.9.0) still fails because of feature pragmas in some dependencies (e.g. serde_item).
* Add mach command to update public domain list and use a HashSet instead of a ↵Florian Duraffourg2016-06-091-0/+23
| | | | Vec to lookup public domains
* Provide a better error message when downloading rustc failsPer Lundberg2016-05-311-2/+2
| | | | | | I was running into the error below locally. The previous version of the code hid away important details that helps when debugging; hence, this suggested change. > Error downloading Rust compiler: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590). URL: https://static-rust-lang-org.s3.amazonaws.com/dist/2016-05-17/rustc-nightly-x86_64-pc-windows-gnu.tar.gz
* Auto merge of #10923 - askeing:fix_10922, r=jdmbors-servo2016-04-301-1/+4
|\ | | | | | | | | | | | | | | | | | | | | Remove dir by shutil.rmtree, remove file by os.remove fix #10922 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10923) <!-- Reviewable:end -->
| * Remove dir by shutil.rmtree, remove file by os.removeaskeing2016-04-291-1/+4
| |
* | Handle HTTP specific errors then other errors when downloading rustcaskeing2016-04-301-3/+6
|/
* Handle URLError in download() #10679rwa2016-04-181-0/+3
| | | | Print a human-friendly message if there is no internet connection.
* Added caching support to mach bootstrapAdrian Utrilla2016-04-071-6/+21
|
* Remove submodule update from mach bootstrap. Fixes #10010malayaleecoder2016-03-161-33/+1
|
* Download extra std lib when cross-compiling #9557Daniel Robertson2016-02-121-32/+48
| | | | | Split ensure_bootstrap into two phases including a phase checking the compiler, and a phase checking for target libraries.
* adding check for windows then using Scripts instead of binJason Williams2016-01-221-1/+1
|
* win32: mach and build command fixesVladimir Vukicevic2016-01-201-5/+5
| | | | | | | - Add SERVO_USE_NIGHTLY_RUST env var to use the latest rust/cargo nightly snapshot - Fix up looking for cargo binary (in cargo/bin/cargo, not bin/cargo) - Fix up win32 executable checking (use .exe suffix) - fix up win32 PATH handling (subprocess must use shell=True for PATH change to be honored)
* Rename rust-snapshot-hash to rust-nightly-dateSimon Sapin2015-12-301-22/+22
| | | | | | … and remove mentions of "snapshots". We now use rust-lang.org nightly builds rather than our own snapshots.
* Remove "Servo does not bootstrap 32bit snapshots of Rust" messageSimon Sapin2015-12-301-7/+0
| | | | We now use rust-lang.org nightly builds rather than our own snapshots.
* Fix the parsing of the chromium HSTS preload listSam Gibson2015-12-021-1/+1
| | | | | | | | Urg! The Chromium HSTS preload JSON file contains single line comments. Previously these were filtered out with a very simple regex that just looked for '//' and removed the line. Now the file has added a couple fields that have URLs in them that were erroneously removed and caused the JSON parsing to fail. This commit slightly complicates the regex to fix this specific problem. If this happens again, it's likely worth it to figure out how to use a real parser to remove the comments. servo/servo#8760
* Ensure the bootstrap-rust-docs and doc mach commands agree on the location ↵Ms2ger2015-11-271-5/+4
| | | | of the Rust documentation.
* Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)Manish Goregaokar2015-11-271-12/+39
| | | | … and libc 0.2 and many other dependencies
* Prevent warning about redefining Python variableCorey Farwell2015-07-261-1/+1
| | | | | 'e' is also used later on in a list comprehension, and flake8 warns when variables get redefined within a function
* Resolves code review commentsSam Gibson2015-07-221-1/+4
| | | | | * Lots of rust-isms * Mutable iterator for modifying entries (much better)
* Commit HSTS preload list to source controlSam Gibson2015-07-221-12/+2
| | | | | * No longer download the HSTS list as a bootstrap step * Check the current revision of the HSTS list into source
* Resolve tidy issuesSam Gibson2015-07-221-2/+7
|
* Preload an HSTS domain list from chromiumSam Gibson2015-07-221-15/+77
| | | | | This resolves the first part of servo/servo#6105. The remaining part is to update the list based on the STS headers from the server.
* Add flake8 to the tidy process for Python filesCorey Farwell2015-06-041-1/+3
| | | | | | | Fixes #6236 Also included in this commit are the changes need to make flake8 pass for the existing python file
* Fix tidy issues with Python files in python/Corey Farwell2015-06-021-0/+9
|
* Ensure installed git version is above 1.8.1 [Bug #5637]ringmaster1012015-06-011-1/+9
| | | | | | | Versions of git before 1.8.1 do not support git submodule --recursive sync This commit makes update_submodules() exit with an error message if the version is <1.8.1 https://github.com/servo/servo/issues/5637
* Handle proxies in boostrap scriptDamien2015-04-141-23/+30
| | | | The urllib version used a `FancyURLOpener` which use urllib. But urllib does not not handle proxies with SSL well. A better solution would be to use `requests` but I prefer to stay with the "no-dependency" approach.
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-2/+4
|
* Filter out "Downloading rust snapshot" percent indicator in mach's output ↵Avi Weinstock2015-03-021-1/+1
| | | | based on sys.stdout.isatty() (Issue #5043).
* Fix the docs againManish Goregaokar2015-02-031-1/+2
|
* Fix doc uploadManish Goregaokar2015-02-031-1/+34
|
* mach clean-snapshots: better no-op outputSimon Sapin2014-12-091-2/+5
|
* Add a `./mach clean-snapshots` command to remove old Cargo and Rust.Simon Sapin2014-12-091-0/+26
| | | | | | | | | | | | | | | Bootstrapping automatically downloads new Rust and Cargo snapshots as needed into versioned directories, but do not remove now-unused versions. This is the desired behavior for `git bisect` to be usable. However, this means that old version keep accumulating, taking up disk space. This adds a mach command to remove snapshots other than the ones currently being used. It is never run automatically. To be safe, the command defaults to only printing what would be removed, and only removes stuff when run with a `-f` argument.
* Download Cargo over HTTPS. Fix #3582.Simon Sapin2014-11-131-2/+1
|
* auto merge of #3902 : mbrubeck/servo/share_directory, r=jdmbors-servo2014-11-051-4/+6
|\ | | | | | | This is @acmiyaguchi's already-reviewed patch from #3388, rebased and squashed onto servo master. Fixes #3353.
| * Automatically update cargo when necessaryMatt Brubeck2014-11-051-3/+5
| |
| * Fixes #3353: rust snapshot downloads to home directoryAnthony Miyaguchi2014-11-051-2/+2
| |
* | Panic when bootstrap downloads failOrvar Segerström2014-11-051-1/+12
|/ | | | | | | | Also hints that 32bit snapshots are unavailable on failure Resolves #3739 fixup! Panic when bootstrap downloads fail
* Add an optional --debug-mozjs argument to `mach build` that enables a ↵Josh Matthews2014-10-241-1/+1
| | | | non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support.
* Fetch the Cargo nightly over HTTP.Ms2ger2014-10-061-1/+2
|
* Pin Cargo to the 2014-10-02 nightly.Ms2ger2014-10-061-1/+1
| | | | Relevant to #3580.
* Have the Rust snapshot directory include the Rust version and hash.Simon Sapin2014-09-291-32/+7
| | | | | | | | | | | | | | That way, whenever rust-snapshot-hash changes, mach will look for the Rust snapshot in a different directory and re-boostrap as needed. However, older rust version will be left behind never cleaned up. This is good for git-bisect, but not for disk space: the current snapshot is 618 MB. In the future, we may want `mach clean` or some other comment to remove unused Rust snapshots. CC #3388
* Fix /python/servo code formatting.Simon Sapin2014-09-261-5/+15
| | | | (My editor screams at me for flake8 lint errors.)
* Support dumb terminals in bootstrap downloadsAndreas Tolfsen2014-09-181-2/+5
| | | | | | | | | | | Dumb terminals can only interpret a limited number of control codes, and rewriting the terminal buffer will make `./mach build` very talkative on these terminals. This can be tested by setting the environment variable TERM to "dumb" as such: TERM=dumb ./mach build