-
-
Notifications
You must be signed in to change notification settings - Fork 65
Fix #206 -- Overwrite variations by defaults #213
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
Conversation
@caspervk would you do me the honor of a quick review? |
We now overwrite files by default when a new files gets uploaded. This fixes an issue, where someone might upload a file with the same name twice the first initial variations get not replaced with a version of the newer file. It happens in the least IO consuming way. The rendervariations management command still behaves as before where variations are not replaced by default.
Codecov Report
@@ Coverage Diff @@
## master #213 +/- ##
=======================================
Coverage 98.85% 98.85%
=======================================
Files 3 3
Lines 87 87
=======================================
Hits 86 86
Misses 1 1 Continue to review full report at Codecov.
|
@codingjoe Thank you! I only have a few comments:
|
@codingjoe Actually, I just remembered that at least |
Yes, then again we do have to support more than one storage backend. Also, this is only true, if you have the overwrite-flag at its default |
I commented here: #206 (comment). Can't wait to have this merged! |
Released in 5.0.1 |
We now overwrite files by default when a new files gets uploaded.
This fixes an issue, where someone might upload a file with the
same name twice the first initial variations get not replaced
with a version of the newer file.
It happens in the least IO consuming way. The rendervariations
management command still behaves as before where variations are
not replaced by default.