1
0
Fork 0
mirror of https://github.com/servo/servo.git synced 2025-07-05 22:43:40 +01:00
Commit graph

69 commits

Author SHA1 Message Date
Damien
1ee479707b Handle proxies in boostrap script
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.
2015-04-14 10:13:15 +02:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
Avi Weinstock
534c91d083 Filter out "Downloading rust snapshot" percent indicator in mach's output based on sys.stdout.isatty() (Issue ). 2015-03-02 18:21:14 -05:00
Manish Goregaokar
3fd8e2da27 Fix the docs again 2015-02-03 16:47:44 +05:30
Manish Goregaokar
a3cab14183 Fix doc upload 2015-02-03 00:14:45 +05:30
Simon Sapin
3fdbb4bfbb mach clean-snapshots: better no-op output 2014-12-09 09:44:24 +00:00
Simon Sapin
b337b0e5e0 Add a ./mach clean-snapshots command to remove old Cargo and Rust.
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.
2014-12-09 09:31:23 +00:00
Simon Sapin
1a684f8279 Download Cargo over HTTPS. Fix . 2014-11-13 18:13:39 +00:00
bors-servo
5dae1de2f5 auto merge of : mbrubeck/servo/share_directory, r=jdm
This is @acmiyaguchi's already-reviewed patch from , rebased and squashed onto servo master. Fixes .
2014-11-05 18:51:36 -07:00
Matt Brubeck
2ee516fa7c Automatically update cargo when necessary 2014-11-05 14:07:02 -08:00
Orvar Segerström
1641568b05 Panic when bootstrap downloads fail
Also hints that 32bit snapshots are unavailable on failure

Resolves 

fixup! Panic when bootstrap downloads fail
2014-11-05 22:31:57 +01:00
Anthony Miyaguchi
75b340a243 Fixes : rust snapshot downloads to home directory 2014-11-05 11:14:21 -08:00
Josh Matthews
a1b2f4b590 Add an optional --debug-mozjs argument to mach build that enables a non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support. 2014-10-24 16:18:25 -04:00
Ms2ger
3659fe142b Fetch the Cargo nightly over HTTP. 2014-10-06 17:29:14 +02:00
Ms2ger
e4eaf88179 Pin Cargo to the 2014-10-02 nightly.
Relevant to .
2014-10-06 17:05:06 +02:00
Simon Sapin
04d839328b Have the Rust snapshot directory include the Rust version and hash.
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 
2014-09-29 17:41:45 +01:00
Simon Sapin
cd45258bf3 Fix /python/servo code formatting.
(My editor screams at me for flake8 lint errors.)
2014-09-26 23:12:51 +01:00
Andreas Tolfsen
a5b5d358fb Support dumb terminals in bootstrap downloads
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
2014-09-18 12:16:49 +01:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00