-
Notifications
You must be signed in to change notification settings - Fork 355
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
hood: recursive |tomb
#6056
hood: recursive |tomb
#6056
Conversation
Latter uses %tomb %lobe instead of %worn.
@ryjm can you clarify what this is actually for or write up and link it to an issue about what problem this is solving? As is it's hard for someone to evaluate and approve/merge. |
pairs with #6057 somewhat - sometimes you want to remove/tombstone every file in a directory. both of these PRs are rather small changes and only touch generators, so they're mostly QoL stuff. |
@ryjm thanks - @belisarius222, @philipcmonk adding you to this for review for approval/merge (generally I'm trying to get things that can merge to merge so we don't have PRs open unnecessarily). @ryjm in future PRs/issues can you default to having a bit more context in the details for the change? thanks! |
@belisarius222 ping on this one, trying to keep some of these that look ready moving along |
@ryjm Can you please explain the intended behavior of this generator? Then I'll review it. |
@ryjm Please comment. |
Currently you can only tombstone single files and not dirs - I made the original Happy to update to coalesce into one generator, just was hoping to get some feedback on which strategy is preferable, why using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense, just some formatting issues
%- zing | ||
=- (turn - notes) | ||
=- (turn lobes -) | ||
|= =lobe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation
i don't have write access anymore, should i make a new PR? here's a patch if someone wants to just apply it instead.
|
indentation; also removed a superfluous |- just after a |^
@mcevoypeter Any idea why the mingw build is running on this branch? |
@jalehman which job are you referring to? The jobs I see under the |
The branch was out of date, Jake just merged develop into it |
wasn't properly descending into directories next to files with the same name. now offers to remove files that can't be tombstoned. can choose to remove the file at the head of the current desk or from the files on other desks sharing the same hash.
i added a fallback to |
if you're trying to tombstone at the head of the desk, you probably don't know what you're doing. so we abort. we keep the option to `|rm` any matching hashes in other desks since this is something the tombstoner might not know exists in advance and is actively blocking them from completing the desired tombstone operation.
CI is borked. Merging. |
|tomb-lobe
uses %lobe which ended up being much faster.