Repository navigation
set mtime directly while putting the file - #13823
DeepDiver1975 wants to merge 2 commits into
Conversation
|
Oh, you did this too ? Just submitted #13985 |
|
well - @PVince81 - your change is not that deep 😉 |
There was a problem hiding this comment.
Not sure I understand why this addition is needed ?
There was a problem hiding this comment.
touch goes down to the physical file - but because update() is called anyhow there is no need to save data in the cache twice
does that make sense?
There was a problem hiding this comment.
Ok I see, so basically saving a SQL query
There was a problem hiding this comment.
Ok I see, so basically saving a SQL query
indeed
|
You seem to have missed the case in "createFileChunked" ? Considering that your PR is better than mine, we could cherry-pick 94eb190 here ? |
3a8291b to
0f6058e
Compare
|
@PVince81 done |
|
Refer to this link for build results (access rights to CI server needed): |
|
The inspection completed: No issues found |
|
@DeepDiver1975 What about unit tests? |
|
Please ping us on owncloud/client#2252 when merged, thanks :) |
that's a pain - the request object is not injected into node/file/directory class. I'd need to inject the request into the object tree and from there into any file and directory class. Feels so wrong .... |
|
@PVince81 let's have some brain storming on this - THX |
|
@DeepDiver1975 @PVince81 Can this solution be introduced earlier than in server 8.1 (193 open issues)? Thanks a lot. |
no - changes always go into master branch first - afterwards we decide if backporting to a stable branch is reasonable |
|
Refer to this link for build results (access rights to CI server needed): |
|
@DeepDiver1975 Needs a rebase |
|
Move to 9.0 ? |
|
Needs rebase, there are conflicts |
|
The approach no longer works since file.php uses now fopen and no longer file_put_contents -> close |

fixes #13498
Kind of research project to see if we can save some executions ...
TODO: