Giter Club home page Giter Club logo

captain's People

Contributors

daltonclaybrook avatar

Stargazers

 avatar  avatar

captain's Issues

Build the "Run" command MVP

Tasks:

  • Parse the .captain.yml file and fail if parsing fails
  • Filter out all hooks that are not part of the currently running git hook
  • Evaluate each hook and fail if one fails

Questions:

  • Can we check the calling process and fail if it's not git?

Build the "Install" command MVP

This command should:

  • Make sure a .captain.yml file exists at the specified config path, or fail
  • Make sure a git repo exists at the specified project directory, or fail
  • Parse .captain.yml and fail if parsing fails
  • Parse all existing files in the hooks directory. If any exist that are not added by captain (and --force is not specified), fail. If --force is specified, delete these existing hooks
  • Install a one-line bash script for each git hook that calls: captain run <git hook>, e.g. captain run pre-commit

Out of scope:

  • Clone sources and use third-party custom hooks

Write tests

Before it has been released, it must have tests

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.