awaescher / RepoZ

👨‍💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
MIT License
1.01k stars 93 forks source link

Feature: Manually filter repositories from being scanned #150

Open lennoncork opened 3 years ago

lennoncork commented 3 years ago

I have a large number of old/archived repositories alongside existing ones. Would really like the ability to filter inclusion of repositories from the archive folder, but also support scanning globally so I don't have to git switch 50+ repositories so I can searh them. Would be happy with the ability to modify a settings file with a regex or root path to exclude. It would be great if we could open the settings file in VS Code from the UI.

lennoncork commented 3 years ago

Somewhat relates to https://github.com/awaescher/RepoZ/issues/122

awaescher commented 3 years ago

Ignore wildcard were already implemented back in January.

However, I did not find the time to finalize this version yet 🥲

These support wildcards at start and/or end of paths, I decided to go against full RegEx support because of performance considerations.

Supported:
 C:\data\repoz*
 *repoz\sub
 */bin/*
lennoncork commented 3 years ago

Very nice, I think the above patterns would work perfectly. Haven't been able to work out where I go to configure this, is there some way I can test this out?

awaescher commented 3 years ago

As said, this is not released yet. You'd need to build from the master branch by yourself.