-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
output: Don't serialize hash_info
or meta
in cloud versioning.
#8849
Conversation
tree = Tree.from_list(self.files, hash_name=self.hash_name) | ||
tree.digest() | ||
self.hash_info = tree.hash_info |
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.
This introduces overhead but need to check how big it is
34045d5
to
291418f
Compare
Codecov ReportBase: 93.64% // Head: 93.70% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #8849 +/- ##
==========================================
+ Coverage 93.64% 93.70% +0.05%
==========================================
Files 453 453
Lines 36101 36146 +45
Branches 5237 5239 +2
==========================================
+ Hits 33808 33871 +63
+ Misses 1787 1765 -22
- Partials 506 510 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
74f5cc6
to
2138f0c
Compare
LGTM 🎉 ! Nice work @daavoo! |
2138f0c
to
28a80df
Compare
28a80df
to
9019208
Compare
|
if ( | ||
(not self.IS_DEPENDENCY or self.stage.is_import) | ||
and self.hash_info.isdir | ||
and (kwargs.get("with_files") or self.files is not None) | ||
): |
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.
Any reason to move this upward @daavoo? This might affect the ordering of metadata in .dvc
file. We probably want files
to appear at the end.
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.
No real reason. Could be moved bellow
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.
Created #8879.
Closes #8357
Here is how the
.dvc
file looks for2.42.0
/this P.R
at different steps of the workflow (click details to expand):Importing with
--version-aware
Tracking local folder with
dvc add
and running the firstdvc push
Tracking a local update with
dvc add
on that folderAfter pushing the local update with
dvc push
Tracking a modification in the remote with
dvc update