pegleg/src/bin/pegleg
Felipe Monteiro 5369efeec1 git: Raise exception on ref checkout from dirty repo
This raises an exception on trying to checkout a ref from a
dirty repo in the git_handler module. The parent patch
https://review.openstack.org/#/c/582652/ currently forcibly
cleans the repo but this is undesirable as it may have local
user changes that need to be resolved first.

The safest path is for Pegleg to immediately raise an exception
on any tracked/untracked files that are detected using the
GitPython API.

Unit tests are added for both untracked/tracked file cases.

Change-Id: I2241bc981dca1999508c3c7e95948fe47a5ddebf
2018-07-24 18:58:09 +00:00
..
pegleg git: Raise exception on ref checkout from dirty repo 2018-07-24 18:58:09 +00:00
tests git: Raise exception on ref checkout from dirty repo 2018-07-24 18:58:09 +00:00
requirements.txt Add git and branch revision support to pegleg 2018-07-20 01:14:13 +01:00
setup.py Perform validations on site documents as part of "collect" command 2018-06-11 10:06:50 -04:00
test-requirements.txt Basic zuul gates 2018-05-31 13:10:41 -05:00
tox.ini Add py36 testenv 2018-06-28 13:15:01 +07:00