WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@unasuke
Copy link
Member

@unasuke unasuke commented May 5, 2025

What

From rubygems v3.6.7, Gem::Package::TarWriter#add_file uses SOURCE_DATE_EPOCH env var to set file mtime.
This is a workaround for Docker backend where Gem::Package::TarWriter#add_file used in Docker backend.

See also:

@unasuke unasuke force-pushed the workaround-for-tarwriter branch 2 times, most recently from d622ed7 to cd82928 Compare May 5, 2025 06:50
@sue445 sue445 mentioned this pull request Aug 24, 2025
@sue445
Copy link
Member

sue445 commented Nov 1, 2025

@unasuke How is the progress on this patch?

Since next ruby minor or major version will be released soon (probably 2025/12/2x), I hope we can merge it before then.

@unasuke
Copy link
Member Author

unasuke commented Nov 1, 2025

@sue445 Sorry, I forgot it. I'll revise it.

@unasuke unasuke force-pushed the workaround-for-tarwriter branch 2 times, most recently from 089230f to 2f45e69 Compare November 1, 2025 11:50
From rubygems v3.6.7, `Gem::Package::TarWriter#add_file` uses
`SOURCE_DATE_EPOCH` env var to set file mtime.
This is a workaround for Docker backend where
`Gem::Package::TarWriter#add_file` used in Docker backend.

See also:
* ruby/rubygems#8673
* #377
* #378
@unasuke unasuke force-pushed the workaround-for-tarwriter branch from 2f45e69 to 42d9220 Compare November 1, 2025 11:52
@unasuke unasuke changed the title [DO NOT MERGE]workaround for rubygems v3.6.7 Add workaround for Gem::Package::TarWriter#add_file Nov 1, 2025
@unasuke unasuke marked this pull request as ready for review November 1, 2025 12:24
@unasuke unasuke changed the title Add workaround for Gem::Package::TarWriter#add_file Add workaround for Gem::Package::TarWriter#add_file Nov 1, 2025
@unasuke unasuke requested a review from sue445 November 1, 2025 12:25
Copy link
Member

@sue445 sue445 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you revert 3a5a55b on this branch to verify that issue is truly resolved?

ref. #379

@unasuke
Copy link
Member Author

unasuke commented Nov 1, 2025

@sue445 ALL GREEN 💚

Copy link
Member

@sue445 sue445 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

@unasuke unasuke merged commit 805327b into master Nov 1, 2025
55 checks passed
@unasuke unasuke deleted the workaround-for-tarwriter branch November 1, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants