aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Cargoify servoJack Moffitt2014-09-081-0/+153