Code Monkey home page Code Monkey logo

sbt-git-flow's People

Contributors

andreatp avatar naderghanbari avatar tbinna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

sbt-git-flow's Issues

Broken on Linux

The plugin does not work on Linux. The reason is this line

Installing gitflow on Linux provides the command git flow ..., but not git-flow with the dash. Hence, the check on this line will fail.

Trying to run git flow or disabling the check altogether will make this work

Support non-interactive mode

To use this plugin on build servers it would be nice to support a non-interactive mode that does not ask for the confirmation of version numbers.

"command is a shell builtin"

On debian, on release I encounter this issue:

java.io.IOException: Cannot run program "command": error=2, Aucun fichier ou dossier de ce type
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
	at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:160)
	at sbt.AbstractProcessBuilder.getString(ProcessImpl.scala:133)
	at sbt.AbstractProcessBuilder.$bang$bang(ProcessImpl.scala:136)
	at com.servicerocket.sbt.release.git.flow.Steps$$anonfun$checkGitFlowExists$1.apply(Steps.scala:16)
	at com.servicerocket.sbt.release.git.flow.Steps$$anonfun$checkGitFlowExists$1.apply(Steps.scala:15)

This is du to Steps.scala#L16 which use "command" which is a shell builtin:

LANG=C type command
command is a shell builtin

This can be fix by using "which" instead of "command" but I don't know if this is portable.
Another way is to use 'bash -c "command "'.

A workaround is to create a fake "command" command:

sudo bash -c "cat > /usr/bin/command"<<EOF
#!/bin/bash
exec which "\${@: -1}"
EOF
sudo chmod +x /usr/bin/command

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.