Skip to content
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

add exclude specific repos feature #19

Merged
merged 5 commits into from
Apr 26, 2024
Merged

add exclude specific repos feature #19

merged 5 commits into from
Apr 26, 2024

Conversation

corytodd
Copy link
Owner

Allow ignoring repos by direct path. Excluding entire directories ( e.g. common parent ) is not supported.

~/code/home/foo
~/code/home/bar
~/code/home/llvm
~/code/work/baz

Ignoring ~/code/home/llvm will work but ignoring ~/code/work will exclude ~/code/work/baz.

Add a new configuration that tracks repos that should be excluded. These
are stored as strings and support the same path resolution rules as our
repo roots (env, ~/, etc). This is useful for example if you have a huge
project like llvm that you don't care about tracking but also don't want
to move it out of your repo.
Support ignoring paths specified in the walrusc configuration file.
It is not correct to generate absolute paths. Instead, resolve the path
then use the Path library to compare absolute paths as needed.
Life is easier without trailing separators. If always trim them
then comparing ignore paths is less complicated.
Fix weird spacing in the readme and update the example json.
@corytodd corytodd merged commit 50e4a4e into main Apr 26, 2024
3 checks passed
@corytodd corytodd deleted the exclude-repos branch April 26, 2024 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant