Giter Club home page Giter Club logo

Comments (9)

yonaskolb avatar yonaskolb commented on May 3, 2024 1

Maybe someone has something running on an automated system that would prefer to have this run quickly and throw an error if not installed instead of installing slowly. It's not a huge feature

from mint.

toshi0383 avatar toshi0383 commented on May 3, 2024

Just wondering: what's specific use case for this?

from mint.

Lutzifer avatar Lutzifer commented on May 3, 2024

Maybe someone has something running on an automated system that would prefer to have this run quickly and throw an error if not installed instead of installing slowly. It's not a huge feature

I actually would prefer this over installing all the mint dependencies during an Xcode build script phase.
If it is not installed, the dev has simply not run the preparation shell script (something we call bootstrap.sh) beforehand.

from mint.

LinusU avatar LinusU commented on May 3, 2024

I personally love that it installs it if it's not present, and would very much like to see that stay as the default.

The problem that I have seen with bootstrap.sh is that it's hard to keep them up-to-date unless you have a steady influx of new developers. As soon as you have a period without team growth, the file will usually go stale.

Mint beautifully works around this by not having a "setup" step, and I think it's one of the main selling points of Mint 🌱

That being said, I could see when a --no-install option could come in handy πŸ‘

from mint.

Lutzifer avatar Lutzifer commented on May 3, 2024

// Its getting a bit offtopic

@LinusU we keep the bootstrap.sh up to date by having it updatable with a -u flag and having it publicly available under https://github.com/num42/n42-buildscripts/blob/master/bootstrap.sh

It's shared across web and iOS projects and can be specified by adding a file name bootstrap-specialised.sh in the project. Works great so far over 10 projects.

from mint.

LinusU avatar LinusU commented on May 3, 2024

// Its getting a bit offtopic

Hehe, yeah, let's take this somewhere else ☺️ sorry!

from mint.

ivasilev-pe avatar ivasilev-pe commented on May 3, 2024

From the documentation:

run: Runs a package. This will install it first if it isn't already installed, though won't link it globally. It's useful for running a certain version.

Is this issue is still in Open status?
Also, what is the purpose of "install" and "bootstrap" commands, if "run" always re-installs on top of what is already installed? Right now, if I first do "bootstrap --link" and then "run", the latter is always "Finding latest version" of any packages, even if the version that is inside Mintfile is not the latest

from mint.

ivasilev-pe avatar ivasilev-pe commented on May 3, 2024

@yonaskolb hello! Could you please take a look at my comment above, whenever you have time? We're trying to use Mint on a production project, but encountering issues each time when packages versioned by Mint are getting an update... Maybe we're doing something wrong in regards to install / bootstrap / run though

from mint.

yonaskolb avatar yonaskolb commented on May 3, 2024

@ivasilev-pe I'm not sure what your issue is. Are you saying after you mint bootstrap that when you mint run it is still Finding latest version instead of using the version from the Mintfile? Can you post your Mintfile?

from mint.

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.