-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple exclude files #8
base: master
Are you sure you want to change the base?
Conversation
The changes in bin/git-bc-show-eligible LGTM, however for some reason this commit adds 7 empty files, and it is not clear why this would be needed. |
You are right. There was a change in permissions. Let me roll-back. |
Remember to rebase the code as well, because I merged something today. |
d6c7fc8
to
5620ef3
Compare
5620ef3
to
9bccc4a
Compare
Done! |
bin/git-bc-show-eligible
Outdated
|
||
def add_exclude_hash(excludes: typing.List[str], commit: str) -> None: | ||
if commit in excludes: | ||
print(f'Commit {commit} already in the exclude list ({EXCLUDES_PATH}).') | ||
print(f'Commit {commit} already in some exclude list ({EXCLUDES_PATHS}).') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print(f'Commit {commit} already in some exclude list ({EXCLUDES_PATHS}).') | |
print(f'Commit {commit} already in one of exclude lists in ({EXCLUDES_PATHS}).') |
This PR will allow us to use multiple exclude files.
We can take advantage of it to have (large) repo-specific exclude files, e.g. for the manuals repo.
Please, see the follow-up message on Slack.