Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
redox
redox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • redoxredox
  • Issues
  • #1192

Closed
Open
Opened Jun 12, 2018 by Nagy Tibor@xTiborMaintainer

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 into bash like the rustup installer does. This is a controversial change.
  • Add two new flags to curl:
    • -S: Print error messages. Currently curl fails silently.
    • -L: Follow HTTP redirects

After my changes that oneliner would look like the this:

curl -sfSL https://bootstrap.redox-os.org/ | bash
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/redox#1192