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

Improved handling of already downloaded packages #102

Merged

Conversation

victormlg
Copy link
Contributor

No description provided.

assert type(content) == bytes

digest = hashlib.sha256(content).digest().hex()
return checksum != digest
Copy link
Member

Choose a reason for hiding this comment

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

Same as in the other PR, please add a newline to the end of the file here.

@victormlg victormlg force-pushed the ENT-12526-improving-package-download branch from fbb8889 to 92340fd Compare December 19, 2024 08:53
Ticket: ENT-12526
Signed-off-by: Victor Moene <[email protected]>
@victormlg victormlg force-pushed the ENT-12526-improving-package-download branch from 92340fd to ebe4bb7 Compare December 19, 2024 08:54
@olehermanse olehermanse merged commit 56c92c4 into cfengine:master Dec 19, 2024
5 checks passed
@victormlg victormlg deleted the ENT-12526-improving-package-download branch December 20, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants