thought-driven / bummr

Update your gems in separate commits. Identify any that fail your build.
MIT License
234 stars 23 forks source link

Launch git bisect within top level folder. #74

Open afriqs opened 3 weeks ago

afriqs commented 3 weeks ago

Hi,

First of all thanks for sharing this gem :+1:

We encountered an issue while working within a monorepos. Let's imagine the tree of the project is :

root
|_ api # rails app
|_ gui # any frontend app
|_ doc

When we use bummr within the api folder the updates of gems and the launch of the test suite works, but if the tests fail we have the log You need to run this command from the toplevel of the working tree. four times and it stops. The culprit is git-bisect which has to be launched at the root of the project :thinking:

Here is a PR to fix this issue.

Note : it needs to provide a TEST_COMMAND with an absolute path in order that bummer update and bummer bisect run well.

Hope it helps.