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

userland-mangler: avoid broken packages #6420

Merged
merged 1 commit into from Jan 17, 2021

Conversation

alarcher
Copy link
Contributor

No description provided.

shutil.copy2(src, dest)
# Create a copy to mangle
# Earlier the code would check that the destination file doe not exist
# yet, however internal library versioning can be different while the
Copy link
Contributor

Choose a reason for hiding this comment

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

doe -> does

# When publishing from a non-clean prototype directory older libraries
# which may be ABI incompatible would then be republished in the new
# package instead of the new version.
shutil.copy2(src, dest)

Copy link
Contributor

Choose a reason for hiding this comment

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

The code looks reasonable. But I am neither familiar with the userland-mangler nor a vivid python developer.
Maybe we should try to create some test cases to check it.

… when published from non-clean prototype area
@Toasterson
Copy link
Contributor

LGTM. I don't know about the process details but from what you told me the code looks as it should.

@alarcher alarcher merged commit a3ab109 into OpenIndiana:oi/hipster Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants