Coder Social home page Coder Social logo

Comments (6)

AndreaSuckro avatar AndreaSuckro commented on August 19, 2024

A branch for this can be found here: feature/unbootstrap

from wasabi.

jwtodd avatar jwtodd commented on August 19, 2024

@AndreaSuckro thoughts about a --dry-run option that is false by default yet when set (eg ./bin/wasabi.sh --dry-run bootstrap) it sets a global (eg dry_run=true) that is supported by every command? and each could could have an associated here-document that it echos out and returns with exit status 0 at the end of the call chain? something like, pseudo-code:

[ $dry_run ] && foo_doc; exit 0

from wasabi.

AndreaSuckro avatar AndreaSuckro commented on August 19, 2024

After taking a look at everything we install, I am not so sure anymore whether the uninstall command is a good thing (e.g. bash, git, maven ...). Some dependencies are pretty fundamental and a command like this would seriously screw up the system of the user when used without caution. I now added a super simple list-dependencies command, I think that is a first step - your suggestion sounds even better - I am just not sure how we would dynamically generate the here-documents so that they dynamically list all the dependencies for example.

from wasabi.

jwtodd avatar jwtodd commented on August 19, 2024

i concur

i will see what i can do to spike in one example of a --dry-run here-doc as an example

from wasabi.

shoeffner avatar shoeffner commented on August 19, 2024

Maybe this will help homebrew-bundle?

from wasabi.

MarkMarine avatar MarkMarine commented on August 19, 2024

I know this is super old, but coming to this as a new wasabi user the bootstrap opaque and fragile. For example, if you run this today on a mac you'll install node ver 9.X and then many of the node modules will fail, things won't compile, etc.
Using something like nvm is ignored also, because the check for node is based on brew list node instead of actually just checking the node version on the command line.
Also, docker from cask is way behind docker's current recommended install on a mac. It would be nice just to say:
"You need these packages to compile: [foo:6, bar:1, baz:2.3], this to run: [foo:6, bar:1], and this to develop: [foo, bar, baz, blah, etc]"
and then offer to install them with the bootstrap with a listing of what it will do. There are some force commands in there that kind of jacked my system up and took me a while to re-set it up.

from wasabi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.