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

Correctly check if the package is up to date #967

Merged
merged 4 commits into from
Jun 27, 2023
Merged

Conversation

fgsch
Copy link
Member

@fgsch fgsch commented Jun 27, 2023

Use the files hash instead of the (botched) hashsum approach; the
latter never really worked due to discrepancies between the API and this
tool.

@Integralist Integralist added the bug Something isn't working label Jun 27, 2023
@fgsch fgsch force-pushed the fgsch/fix-comparison branch 2 times, most recently from 66a9d5d to 95f2df1 Compare June 27, 2023 14:22
fgsch added 4 commits June 27, 2023 15:39
This was modified in 43ba5c2 by yours truly but turned to be the wrong
approach.

For consistent hashing, use hash-files.
Use the files hash instead of the (botched) hashsum approach; the
latter never really worked due to discrepancies between the API and this
tool.
@fgsch fgsch marked this pull request as ready for review June 27, 2023 14:44
@fgsch fgsch force-pushed the fgsch/fix-comparison branch from 95f2df1 to 0c8d331 Compare June 27, 2023 14:48
@fgsch
Copy link
Member Author

fgsch commented Jun 27, 2023

After this PR, trying to deploy the same package shows:

INFO: Skipping package deployment, local and service version are identical.
(service REDACTED, version 123)

@Integralist Integralist merged commit b451716 into main Jun 27, 2023
@Integralist Integralist deleted the fgsch/fix-comparison branch June 27, 2023 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants