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

Fix size computing for packages with /latest route #1693

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

sajjaphani
Copy link
Contributor

@sajjaphani sajjaphani commented Jan 12, 2022

We can get the package metadata with the /latest route with the omission of the version and or release options.
This PR fixes getting package HART size as part of package metadata in those situations.

It also updates a few functional tests to check the size attribute in the response JSON.

Signed-off-by: Phani Sajja psajja@progress.com

@sajjaphani sajjaphani changed the title Fix size computing for packages with /latest Fix size computing for packages with /latest route Jan 12, 2022
Signed-off-by: Phani Sajja <psajja@progress.com>
@sajjaphani sajjaphani merged commit 5af3efe into main Jan 13, 2022
@sajjaphani sajjaphani deleted the psajja/fix-fetching-size branch January 13, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants