Skip to content
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

move_message() should use renameat2 on non-ancient Linux #42

Open
FelixSchwarz opened this issue Aug 7, 2024 · 0 comments
Open

move_message() should use renameat2 on non-ancient Linux #42

FelixSchwarz opened this issue Aug 7, 2024 · 0 comments
Milestone

Comments

@FelixSchwarz
Copy link
Owner

FelixSchwarz commented Aug 7, 2024

Now that CentOS 7 is history, we could use an atomic file swap: https://github.com/jordemort/python-renameat2

Also need to package the dependency in the COPR repo.

Note to self: atomicswap is somewhat related, supports also Windows and MacOS but only provides the "swap" part, not the atomic rename (and is Python 3.7+).

@FelixSchwarz FelixSchwarz added this to the 0.12 milestone Aug 7, 2024
@FelixSchwarz FelixSchwarz modified the milestones: 0.12, LATER, 0.13 Aug 30, 2024
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

No branches or pull requests

1 participant