Giter Club home page Giter Club logo

grind's People

Contributors

arthurms avatar kaeff avatar mavcunha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kaeff arthurms

grind's Issues

Cache results from `brew list --versions` for faster checking

As with _mas we can cache the results which probably won't change in a meaningful way during an update. This will improve the performance of _brew in general since 'homebrew' is quite slow returning what packages/casks are already installed in the system.

Run `grind` clean under bash 3

Running plain grind under bash version 3 will trigger error messages for every bash 4 feature loaded at the commands and definitions but the bootstrap (which is plain bash 3).

Is still possible to bootstrap but it is not clear that one can still do it.

grind-master mvaltas$ ./grind
WARNING: bash version is '3.2.53(1)-release'
WARNING: which is less than version 4
WARNING: grind can only run bootstrap with bash < 4
WARNING: Please run './grind bootstrap run' to install a newer bash

Subcommands available ('grind SUBCOMMAND help' for usage):

  bootstrap:		Bootstrap machine
  conf:			Grind's configuration
  defs:			Inspect definitions
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 3: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 4: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 5: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 6: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
  run:			Run an arbritrary definition
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 3: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 4: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 5: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/mvaltas/Downloads/grind-master/grind.d/_core: line 6: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
  update:		Update machine commands

API library for App dmg applications

Several applications on macOS are in the form of a .dmg file that contains the application which has to be copied to the /Applications directory.
Boxen (puppet) used to use a combination of downloading and unpacking that performed quite well this task. We could define something like:

app_dmg "SomeApplication.dmg"

Still there's questions on:

  • How the dmg will be obtained?
  • How we know what contents of the dmg should be copied?
  • Should this be in a app specific library? Like puppet-jetbrains was for boxen?

References:
appdmg provider: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/appdmg.rb

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.