Skip to content

feat(wrtag): add score-min config option - #242

Open
yamhab wants to merge 1 commit into
sentriz:masterfrom
yamhab:feat/min-score
Open

yamhab wants to merge 1 commit into
sentriz:masterfrom
yamhab:feat/min-score

Conversation

@yamhab

@yamhab yamhab commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This PR adds a configuration option, score-min, that allows the user to choose the minimum match score threshold in order to automatically tag a directory with a release (95% by default). I had it in the form of a percentage [0.0%-100.0%], as that's how scores are already internally represented. However, I suppose if it be preferred, it could also be a floating point number [0.0-1.0].

I was also thinking of sorting the configuration options in wrtag.go's Config and cmd/internal/wrtagflag/wrtagflag.go's Config() (maybe alphabetically, like in interface and documentation) and such that they'd be more consistent across the whole program, though I'd rather know if it should be done at all first.

Fixes issue #197.

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