Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Problem: pulpcore-common is not used outside of pulpcore #3662

Merged
merged 1 commit into from Sep 21, 2018

Conversation

dkliban
Copy link
Member

@dkliban dkliban commented Sep 21, 2018

Solution: move constants into pulpcore.constants and remove pulpcore-common package

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

@pep8speaks
Copy link

Hello @dkliban! Thanks for submitting the PR.

@codecov
Copy link

codecov bot commented Sep 21, 2018

Codecov Report

Merging #3662 into master will increase coverage by 0.13%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3662      +/-   ##
==========================================
+ Coverage    55.8%   55.93%   +0.13%     
==========================================
  Files          61       62       +1     
  Lines        2695     2703       +8     
==========================================
+ Hits         1504     1512       +8     
  Misses       1191     1191
Impacted Files Coverage Δ
pulpcore/pulpcore/constants.py 100% <ø> (ø)
...lpcore/pulpcore/tasking/services/worker_watcher.py 0% <0%> (ø) ⬆️
pulpcore/pulpcore/app/models/progress.py 51.72% <100%> (ø) ⬆️
pulpcore/pulpcore/app/urls.py 91.93% <100%> (ø) ⬆️
pulpcore/pulpcore/app/viewsets/task.py 76.56% <100%> (ø) ⬆️
pulpcore/pulpcore/tasking/tasks.py 19.27% <100%> (ø) ⬆️
pulpcore/pulpcore/tasking/util.py 32.65% <100%> (ø) ⬆️
pulpcore/pulpcore/app/models/task.py 57.4% <100%> (ø) ⬆️

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 a18058a...80a17ae. Read the comment docs.

@@ -1,11 +1,5 @@
pulp.common
===============
pulp.constants
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this file be renamed to constants.rst?

Choose a reason for hiding this comment

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

+1 renaming to constants.rst for consistency

Copy link
Contributor

@daviddavis daviddavis left a comment

Choose a reason for hiding this comment

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

One small question. LGTM though.

@dkliban
Copy link
Member Author

dkliban commented Sep 21, 2018

I renamed the file.

Solution: move constants into pulpcore.constants and remove pulpcore-common package

closes: pulp#3652
https://pulp.plan.io/issues/3652
@dkliban dkliban merged commit bcd02f6 into pulp:master Sep 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
4 participants