-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add Path To Shorten ZFS Diff Output #13200
Comments
This would be problematic until the caveat where |
@rincebrain - Is there an open ticket for that issue? |
#6335 maybe? There was a talk by a company at the dev summit who fixed most of these in their implementation internally, but they haven't open sourced it (yet?). |
Thanks @rincebrain I have been using zfs as a secondary version control system for my development and have written a multi-purpose python tool for this purpose called Having more discrete filtering of diffs from FYI - Here is an example of
|
You might find using the "punt it to userland and make userland calculate the diff" output from #12837 useful, since you care specifically about the objects changed. |
Sounds interesting. Have you seen a practical example of how this type of Thanks again for the info! |
Beyond that PR itself, no, I don't.
…On Thu, Mar 17, 2022 at 10:40 PM JavaScriptDude ***@***.***> wrote:
Sounds interesting. Have you seen a practical example of how this type of
userland diff would be done? I've never had to use zfs send or recv so
far and #12837 <#12837> is not super
explicit on the technique.
Thanks again for the info!
—
Reply to this email directly, view it on GitHub
<#13200 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUI7IZMHCTJBHLQJZUZEDVAPUIPANCNFSM5QRLNHMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@JavaScriptDude Can you comment on the progress of your organisation's internal discussions about open sourcing |
I use it daily and its my personal code base with no org to worry about. I will look into putting it on Github in the future. The code depends on my internal 'core' python library that I will need to strip down into a lighter one as its pretty huge. |
Thank you for the insights, and looking forward to the release. |
I have found uses for
zfs diff
in my regular development workflows and lean on it heavily. However I do hit situations where it returns many changes that I don't care about in my use cases. This feature requests will allow the user to pass apath
parameter tozfs diff
.If a
path
parameter is provided, the directory and any children should be included in output. If a file is given, only the file should be included in the output. If thepath
provided does not exists in the left or the right of the diff, then a clear error should be returned to identify the condition clearly; eg:Path provided not found in left or right sides of diff
This feature would give ZFS some more VCS (Version Control System) style features that will open up more possible use cases for this excellent system.
Ideally update the
path
parameter processing into diff engine to reduce the process time rather than just be a filter on the output.The text was updated successfully, but these errors were encountered: