Nicer bootstrapping for newcomers
The bootstrapping line in the quick-start section of the README currently look like the following:
curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
It points to the GitHub repo, it's need to be changed. So I thought why not improve it at the same time.
My proposed changes:
- Introduce a HTTP redirect with a shorter URL for the bootstrapper like
https://bootstrap.redox-os.org/
that points to the bootstrapping script on this GitLab instance. - Pipe
curl
straight intobash
like therustup
installer does. This is a controversial change. - Add two new flags to
curl
:-
-S
: Print error messages. Currentlycurl
fails silently. -
-L
: Follow HTTP redirects
-
After my changes that oneliner would look like the this:
curl -sfSL https://bootstrap.redox-os.org/ | bash