-
Notifications
You must be signed in to change notification settings - Fork 24
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
Name the files for what they act on #10
Comments
Sorry, I should have moved I could definitely migrate to a _words or _file_patterns suffix -- I do support some previous file names, so another migration wouldn't be particularly problematic. Note:
The excludes file will filter the files to consider to:
i.e.
And then only is applied and the result is:
(corpus - excludes) & only => files_to_check Allow is really a way to add words to the Dictionary. Reject is a way to remove words from the Dictionary. (Dictionary + Allow) - Reject => active_dictionary
I'm definitely working to improve things, and hopefully this discussion will result in improvements (if only to the documentation, but likely to the implementation). Fwiw, I'm going to give a short presentation talking about Check Spelling on Thursday to https://github.com/keptn/keptn, my current slides: https://docs.google.com/presentation/d/13U8a9ibqp7B1UrE8HWk7PsnZLImIwgp06vopLdmcX-s/edit?usp=sharing |
The easiest names would be:
How do those sound? |
Yeah, those would be fine. |
I'm thinking At the very least, I'm going to add support for Does anyone have a preferred file extension to mean "this file contains regular expressions"? I might go with |
I have this idea that you shouldn't separate these into exact or pattern matches. Just use pattern matches for everything, and use the gitignore patterns. I wouldn't give these files an extension at all. |
Would you suggest using https://metacpan.org/pod/Parse::Gitignore? I could definitely use gitignore format for The The reason I like
|
Text::Gitignore is better. |
Fwiw, I'm going to be releasing 0.0.18-alpha shortly (hopefully) w/ work that I started last summer. It takes me a long time to get happy with changes -- I like to think them through/experiment before committing to things. My most recent adventure (where I didn't experiment before implementing) was trying to rename the default branch to I suspect that this change will be in a 0.0.19 or 0.0.20. For people curious about semantic-versioning, I'm not absolutely committed to doing so, but, currently I add features and deprecation warnings, I don't think I've actually removed anything (other than some slight bug fixes, which I don't really consider API breaks -- although I do highlight them in the release notes). When I start removing support for older filenames/file formats/configurations, I'll either bump the minor or the major version. |
I've made my first draft of this feature: It looks like this feature is one of the ones that confirms a medium version bump. I'm going from 0.0.19 to 0.1.0. I'm not quite sure when I'll get there, but it was a big item on my todo list. Thankfully, it turned out to be pretty easy to implement. Sadly, it will require a lot of testing, and I'm going to want to convert a lot of internal consumers so that they don't drown under warnings. I've updated https://github.com/check-spelling/check-spelling/wiki/Possible-features to mostly match the current status of things including adding gitignore to my todo list. Fwiw, I suspect as part of going from 0.x.y to 1.0.0 that I will drop a bunch of deprecated features. This could potentially include dropping support for the older file names here. But, I'm definitely going to need to experiment. And I might actually try one release where the current names aren't deprecated (in fact, I probably will). So it's possible that 0.1.0 will support these names and the old names w/ no deprecation warnings and a 0.1.1 would start warning about the old names. -- I still need to experiment a bit. |
It would be easier to me to keep track of which file does what it the filename included the thing it operated on and what sort of entry it expects"
And, it reads like allow and expect do the same thing.
You might already be doing this, because the action seems to looks for more specific filenames than the ones you advertise, so maybe you only need to update the read-me.
The text was updated successfully, but these errors were encountered: