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

Make the unpacking operation atomic #124

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Make the unpacking operation atomic #124

merged 1 commit into from
Apr 3, 2024

Conversation

xen0n
Copy link
Collaborator

@xen0n xen0n commented Apr 3, 2024

Fixes #123.

So that incomplete unpacking result is automatically cleaned up (as long
as the Python process is not abnormally terminated).

Fixes: ruyisdk#123
@xen0n xen0n added the area: ruyipkg RuyiSDK Package Management issues label Apr 3, 2024
@xen0n xen0n added this to the 0.8 milestone Apr 3, 2024
@xen0n xen0n merged commit 86e075d into ruyisdk:main Apr 3, 2024
7 checks passed
@xen0n xen0n deleted the issue123 branch April 3, 2024 10:31
xen0n added a commit to xen0n/ruyi that referenced this pull request Apr 9, 2024
One package could want to unpack multiple distfiles into a single
install root, so the atomicity must be maintained at package level,
instead of individual distfile level.

This is effectively a rewrite of ruyisdk#124.

Fixes: ruyisdk#128
xen0n added a commit that referenced this pull request Apr 9, 2024
One package could want to unpack multiple distfiles into a single
install root, so the atomicity must be maintained at package level,
instead of individual distfile level.

This is effectively a rewrite of #124.

Fixes: #128
(cherry picked from commit 5906f86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ruyipkg RuyiSDK Package Management issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ruyi device provision 在解包异常中断后无法识别损坏的解包产物
1 participant