Proposal for is_cloud_optimized#145
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #145 +/- ##
==========================================
+ Coverage 76.21% 76.24% +0.03%
==========================================
Files 14 14
Lines 2867 2888 +21
Branches 450 459 +9
==========================================
+ Hits 2185 2202 +17
Misses 561 561
- Partials 121 125 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
In thinking some more about this I have realized the following:
|
|
We should think of a better name than |
|
Ezequiel and I chatted about this today, and I agree that a |
|
|
|
Yes, it is theoretically possible for a file to meet the criteria of |
|
Thanks @zequihg50 for the details, much appreciated. |
|
I agree that the "re" in "repacked" isn't ideal, as you could indeed get a nice file without post processing it. I not too keen on "is_cloud_optimised", as a file with all of its internal metadata up front can still be terrible in that respect (if it has a large number of chunks). I'll go and look at the PR, now |
davidhassell
left a comment
There was a problem hiding this comment.
Cheers, @zequihg50
|
Hi - there are no objections (yet) to renaming the property Cheers, |
|
Hi @zequihg50 - we need a change log entry, too :) Thanks |
I'll pop one in imminently, after I have merged it, and while I'll be in the process of releasing 1.0 |
|
thanks @zequihg50 and @davidhassell 🍻 |
The new API introduced in #138 allows for a mostly trivial implementation of
is_cloud_optimized. This could serve to validate files that have been repacked. This is just a proposal, if this looks correct I can continue providing a test for it. We should maybe take into account other factors such as not chunked variables.