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

Download envelopes if they are a URL. #503

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Download envelopes if they are a URL. #503

merged 2 commits into from
Mar 14, 2024

Conversation

floitsch
Copy link
Member

Also accept gzipped envelopes.

Also accept gzipped envelopes.
@floitsch floitsch requested a review from kasperl March 13, 2024 20:31
Copy link
Member

@kasperl kasperl left a comment

Choose a reason for hiding this comment

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

Looks good to me.

return GetCachedFirmwareEnvelopePath(ctx, version, path)
}

func downloadPublishedFirmware(ctx context.Context, version string, model string) error {
Copy link
Member

Choose a reason for hiding this comment

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

Can't this use DownloadEnvelope somehow?

Copy link
Member Author

Choose a reason for hiding this comment

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

Reusing more code now.
done.

@floitsch floitsch merged commit 3388e18 into main Mar 14, 2024
5 checks passed
@floitsch floitsch deleted the floitsch/envelope-url branch March 14, 2024 11:04
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.

None yet

2 participants