Skip to content

fix(ZipFolderPlugin): set mtime of directories in archive - #54401

Merged
AndyScherzinger merged 1 commit into
masterfrom
fix/streamer-directory-mtime
Aug 13, 2025
Merged

fix(ZipFolderPlugin): set mtime of directories in archive#54401
AndyScherzinger merged 1 commit into
masterfrom
fix/streamer-directory-mtime

Conversation

@susnux

Copy link
Copy Markdown
Contributor

Summary

Directories should also have the correct mtime set and not the current time. For this the Streamer class needs to support passing a time attribute for creating folders, the underlying library already supports this.

Checklist

Directories should also have the correct mtime set and not the current
time. For this the `Streamer` class needs to support passing a time
attribute for creating folders, the underlying library already supports
this.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnuxsusnux added this to the Nextcloud 32 milestone Aug 13, 2025
@susnux
susnux requested a review from a team as a code ownerAugust 13, 2025 08:25
@susnuxsusnux added bug 3. to review Waiting for reviews labels Aug 13, 2025
@susnux
susnux requested review from Altahrim, CarlSchwan, icewind1991 and salmart-dev and removed request for a teamAugust 13, 2025 08:25
@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable31

@joshtrichardsjoshtrichards added the hotspot: file time handling ctime, mtime, etc. handling during various operations label Aug 13, 2025
@AndyScherzinger
AndyScherzinger merged commit 7d45e9b into masterAug 13, 2025
208 of 214 checks passed
@AndyScherzinger
AndyScherzinger deleted the fix/streamer-directory-mtime branch August 13, 2025 15:58
@skjnldsvskjnldsv mentioned this pull request Aug 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbughotspot: file time handlingctime, mtime, etc. handling during various operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@susnux@salmart-dev@nfebe@CarlSchwan@AndyScherzinger@joshtrichards@skjnldsv