peritus / bumpversion

Version-bump your software with a single command
https://pypi.python.org/pypi/bumpversion
MIT License
1.5k stars 148 forks source link

Enhance missing VCS command detection (errno 13) #204

Closed lowell80 closed 5 years ago

lowell80 commented 5 years ago

If a given command/tools is not executable or blocked from execution by a LSM (SELinux/AppArmor) for example, then consider that VCS to be unavailable.

This change prevents the following error when running 'bumpversion --help'

OSError: [Error 13] Permission denied
lowell80 commented 5 years ago

I mirrored this change here: https://github.com/c4urself/bump2version/pull/75