]> git.lizzy.rs Git - rust.git/commit
bootstrap: Major refactoring
authorMilton Mazzarri <milmazz@gmail.com>
Mon, 3 Jul 2017 04:32:42 +0000 (23:32 -0500)
committerMilton Mazzarri <milmazz@gmail.com>
Tue, 25 Jul 2017 11:37:10 +0000 (06:37 -0500)
commitf516765b94761838fd15cff283757e74e61cdd41
treef9d93a7ea1514aa7deedcb99641e1f863362ebf1
parent5c126bdee6af3feef2d51956debab72f933078c6
bootstrap: Major refactoring

This commit includes the following:

* Fix syntax errors in Python 3
* Include more docstrings in classes, methods, and functions
* Include unit tests using `unittest`
* Merge implementation of `{rustc,cargo}_out_of_date`
* Merge implementation of `RustBuild.{cargo,rustc}`
* Remove unnecessary source code
* Move all the attributes defined outside of `__init__`
* Remove remaining `%s` from print function
* Remove `WindowsError` reference on non-windows systems
* Rename some variables to be more explicit avoid their meaning
* Run bootstrap tests in the CI process
* Remove non-pythonic getters
* Remove duplicate code in `download_stage0` method
* Reduce the number of branches in `build_bootstrap` method
* Re-raise exception when we cannot execute uname in non-windows systems
* Avoid long lines
src/bootstrap/bootstrap.py
src/bootstrap/bootstrap_test.py [new file with mode: 0644]
src/bootstrap/mk/Makefile.in
src/ci/run.sh