Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Integralist
Copy link
Collaborator

This PR deprecates the compute hashsum command in favour of compute hash-files which aligns with the new hash_files metadata property exposed by the Fastly Package API endpoint.

Screenshot 2023-05-18 at 17 14 30

@Integralist Integralist added enhancement New feature or request deprecated This issue/feature is deprecated labels May 18, 2023
@Integralist Integralist requested a review from fgsch May 18, 2023 16:16
Comment on lines +39 to +43
if !c.Globals.Flags.Quiet {
text.Warning(out, "This command is deprecated. Use `fastly compute hash-files` instead.")
text.Break(out)
}

Copy link
Member

Choose a reason for hiding this comment

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

👍

)

const (
maxPackageSize = 100000000 // 100MB in bytes
Copy link
Member

Choose a reason for hiding this comment

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

Q: any specific reason for this number?

Copy link
Member

@fgsch fgsch left a comment

Choose a reason for hiding this comment

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

Untested but code LGTM.

Thanks for taking this to the end of the line 🙏

@Integralist Integralist force-pushed the integralist/hashfiles branch from 534d479 to b3a4d0a Compare May 18, 2023 16:45
@Integralist Integralist merged commit 2d4de81 into main May 18, 2023
@Integralist Integralist deleted the integralist/hashfiles branch May 18, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecated This issue/feature is deprecated enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants