Skip to content

Conversation

@Mnem42
Copy link
Collaborator

@Mnem42 Mnem42 commented Jan 21, 2026

Mainly adds path exclusion functionality (and also some random refractors since I suck at separating out that sort of thing).

Exactly 0 macos support, since I don't have any way to test that (it probably breaks a good amount of it)

(update: also a lot of refactors since)

Mnem42 added 9 commits January 20, 2026 22:11
glob is for using the patterns
how did this happen
This changes it to use serde(with), since then checking the pattern for errors is done when the config is being parsed with no extra calls/remembering needed.

And also general other stuff.
@Mnem42 Mnem42 closed this Jan 21, 2026
@Mnem42
Copy link
Collaborator Author

Mnem42 commented Jan 21, 2026

(wrong branch)

@Mnem42 Mnem42 reopened this Jan 21, 2026
@Mnem42 Mnem42 changed the base branch from master to windows-support January 21, 2026 22:09
@Mnem42
Copy link
Collaborator Author

Mnem42 commented Jan 21, 2026

(what was i smoking)

@unsecretised
Copy link
Owner

Funnily enough, this seems to compile on MacOS (not sure about working as intended on mac yet)

@unsecretised
Copy link
Owner

I won't review this just yet since its a draft

Mnem42 added 8 commits January 22, 2026 18:49
The splitting is really just moving the stuff for app finding somewhere else
The variable here will always be unused on windows
Mainly so that all the defs are somewhere other than the main business logic
I "kind of" accidentally used TSDoc syntax for docstrings
This uses the open crate instead of custom functions
Mnem42 added 5 commits January 22, 2026 19:40
Too much noise for the main log file
It's fine if it's just unwrapped, since if it gets here, it's already been checked.
@Mnem42 Mnem42 changed the title Path exclusions Stuff Jan 22, 2026
@Mnem42 Mnem42 marked this pull request as ready for review January 22, 2026 20:31
Mnem42 added 5 commits January 23, 2026 19:45
The syntax is <path>[:<depth>] for a specified depth, and if the depth specifier is ommited, the depth is 1.

Also makes it put known folders in windows into the include key in the config by default, to keep everything in one place.
Removes the trailing slash for Local/AppData/Programs returned by get_known_paths.
@unsecretised
Copy link
Owner

can you try to fix the macos issues that have been highlighted in the workflow?

@Mnem42 Mnem42 mentioned this pull request Jan 26, 2026
@Mnem42
Copy link
Collaborator Author

Mnem42 commented Jan 26, 2026

See #135 (i goofed)

@Mnem42 Mnem42 closed this Jan 26, 2026
@Mnem42 Mnem42 reopened this Jan 30, 2026
@Mnem42 Mnem42 merged commit dd1c4ec into unsecretised:windows-support Jan 30, 2026
1 check failed
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.

2 participants