-
Notifications
You must be signed in to change notification settings - Fork 74
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
Exclude rules are too greedy #777
Comments
I found these quite clear. Maybe we can use
|
Would be good to narrow this down to the specific issue with excludes. I think it's that currently |
Also we should prove this with Unit Tests as exclude rule matching is well tested, it's just that maybe the assumptions are wrong |
Does this seem like it would be fixed in an upcoming release, then, or or will it take more time to fully isolate @willmot? Have one person who loves using the plugin but keeps having a few files excluded, which makes it less convenient if they have to do a restore. I think you figured out the *dev file pattern was the one impacting them? |
@katmoody it's not going to be resolved quickly unfortunately, they could work around the issue by removing the exclude rule for e.g. define( 'HMBKP_EXCLUDES', 'absolute_path_to_dev' ); |
@willmot - How do they remove the exclude rule for |
It's a rule they've added through the excludes page so should just be able to remove it like any other rule. |
But they didn't add any rules to the excludes page, at all? I thought this was a default rule you had in the plugin itself? |
@katmoody I think we chatted about this in Slack, I double checked and the user you're referring to had definitely manually excluded |
Is this still an issue? It's in the Deployed pipeline - can we close? |
I don't know why it's in the deployed pipeline, it's not been worked on and is an epic. |
Just a note - the excludes doesn't work when excluding from the admin either? Seems to exclude by filename still :( |
I'm having trouble understanding the logic behind the
exclude_string
function.For example, I added an exclude rule as
cache/
thinking it would exclude any subdirectory named cache, but it actually excludes anything that has the patterncache
in it.which was wrongly excluding some folders and files:
I think we need a separate case for fragments in the
exclude_string
function?Currently, when a user excludes a folder or file via the admin, we use an absolute path, but the default excludes array are wildcard patterns.
The text was updated successfully, but these errors were encountered: