git-auto-bisect alternatives and similar gems
Based on the "Git Tools" category.
Alternatively, view git-auto-bisect alternatives based on common mentions on social networks and blogs.
-
git_reflow
Reflow automatically creates pull requests, ensures the code review is approved, and squash merges finished branches to master with a great commit message template. -
Git Cop
DISCONTINUED. DEPRECATED: Use Git Lint (https://www.alchemists.io/projects/git-lint) instead.
Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of git-auto-bisect or a related project?
README
Find the first broken commit without having to learn git bisect.
- automagically bundles if necessary
- stops at first bad commit
- takes binary steps (
HEAD~1
,HEAD~2
,HEAD~4
,HEAD~8
, ...)
Install
gem install git-autobisect
or as standalone binary (needs any ruby)
curl -sL https://github.com/grosser/git-autobisect/releases/download/v0.4.3/git-autobisect > /usr/local/bin/git-autobisect && \
chmod +x /usr/local/bin/git-autobisect && \
git-autobisect --version
Usage
cd your project
# run a test that has a non-0 exit status
git-autobisect 'rspec spec/models/user_spec.rb'
... grab a coffee ...
---> The first bad commit is a4328fa
git show
Options
-m, --max N Inspect commits between HEAD..HEAD~<max>
-s, --start N Use N (instead of 1) as initial step and keep multiplying by 2
--step N Use N as step (instead of multiplying by 2
--no-bundle Do not bundle even if a Gemfile exists
TIPS
- do not fail if test file is missing
[ ! -f spec/my_spec.rb ] || rspec spec/my_spec.rb
TODO
- option for max-step-size so you can use a finer grained approach
- option to disable
bundle check || bundle
injection - option to consider a build failed if it finishes faster then x seconds
Development
bundle && bundle exec rake
- Tests run a lot faster without
bundle exec
Author
Michael Grosser [email protected] License: MIT
*Note that all licence references and agreements mentioned in the git-auto-bisect README section above
are relevant to that project's source code only.