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

Adopts new content_summary layout #2

Merged
merged 1 commit into from
Mar 1, 2019

Conversation

bmbouter
Copy link
Member

@bmbouter bmbouter commented Feb 28, 2019

The performance issue causes us to introduce a new model named
RepositoryVersionContentDetails. This is also a great opportunity to
update the content_summary of the RepositoryVersion serializer to match
the recent API changes.

Most of this code was inspired from a patch from @dalley.

This includes smash updates that are included in a separate PR to
preserve backwards compatability.

Required PR: pulp/pulp-smash#1174

This also fixes travis script lines that weren't updated due to
pulp/pulp being moved to pulp/pulpcore. This PR needs that small fix to
pass also.

https://pulp.plan.io/issues/4283
closes #4283

@bmbouter bmbouter requested a review from a team March 1, 2019 15:47
@bmbouter bmbouter force-pushed the add-counts-and-serializers branch 3 times, most recently from 4fa39bc to 8a4c80b Compare March 1, 2019 16:14
@nixocio
Copy link

nixocio commented Mar 1, 2019

This change needs to be evaluated in all the other plugins.

bmbouter pushed a commit to bmbouter/plugin_template that referenced this pull request Mar 1, 2019
Due to the breaking change in the PR below, the resonse format has
changed. No user facing features need updating, only the test assertions
change by updating the fixture data.

Required PR: pulp/pulpcore#2

https://pulp.plan.io/issues/4283
re #4283
@codecov
Copy link

codecov bot commented Mar 1, 2019

Codecov Report

Merging #2 into master will increase coverage by 0.09%.
The diff coverage is 96.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   76.07%   76.17%   +0.09%     
==========================================
  Files          64       64              
  Lines        2825     2820       -5     
==========================================
- Hits         2149     2148       -1     
+ Misses        676      672       -4
Impacted Files Coverage Δ
pulpcore/app/models/__init__.py 100% <ø> (ø) ⬆️
pulpcore/app/serializers/repository.py 98.97% <100%> (+3.7%) ⬆️
pulpcore/app/models/repository.py 96.25% <95.55%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d270e5...fe52153. Read the comment docs.

The performance issue causes us to introduce a new model named
RepositoryVersionContentDetails. This is also a great opportunity to
update the content_summary of the RepositoryVersion serializer to match
the recent API changes.

Most of this code was inspired from a patch from @dalley.

This includes smash updates that are included in a separate PR to
preserve backwards compatability.

Required PR: pulp/pulp-smash#1174

This also fixes travis script lines that weren't updated due to
pulp/pulp being moved to pulp/pulpcore. This PR needs that small fix to
pass also.

https://pulp.plan.io/issues/4283
closes pulp#4283
@dralley
Copy link
Contributor

dralley commented Mar 1, 2019

@bmbouter This is a great improvement! Thank you for doing this work.

@bmbouter bmbouter merged commit 8959e35 into pulp:master Mar 1, 2019
@bmbouter bmbouter deleted the add-counts-and-serializers branch March 1, 2019 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants