Bug 1004623 - References to old collection names and content_unit_count needs to be updated in API docs
Summary: References to old collection names and content_unit_count needs to be updated...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: documentation
Version: Master
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 2.6.0
Assignee: Ina Panova
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 767635 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 04:51 UTC by Sayli Karmarkar
Modified: 2015-03-23 01:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 21:58:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 367 0 None None None Never

Description Sayli Karmarkar 2013-09-05 04:51:03 UTC
Content_unit_count is now a dictionary and is renamed to content_unit_counts. It should be updated in the examples of our rest API docs.

$ grep -r "content_unit_count" rest-api/*
rest-api/repo/retrieval.rst:  "content_unit_count": 0,
rest-api/repo/retrieval.rst:    "content_unit_count": 0,
rest-api/repo/retrieval.rst:    "content_unit_count": 0,
rest-api/repo/retrieval.rst:    "content_unit_count": 0,
rest-api/repo/cud.rst:  "content_unit_counts": {},
rest-api/repo/cud.rst:  "content_unit_counts": {},


There are also a lot of references to old collection names "gc_repo_importers", "gc_repos" etc.

$ grep -r "gc_" rest-api/*
rest-api/consumer/retrieval.rst:   "_ns": "gc_consumers",
rest-api/consumer/retrieval.rst:    "_ns": "gc_consumers",
rest-api/consumer/retrieval.rst:    "_ns": "gc_consumers",
rest-api/consumer/retrieval.rst:    "_ns": "gc_consumers",
rest-api/consumer/retrieval.rst:    "_ns": "gc_consumers",
rest-api/consumer/retrieval.rst:    "_ns": "gc_consumers",
rest-api/consumer/retrieval.rst:    "_ns": "gc_consumers",
rest-api/consumer/history.rst:    "_ns": "gc_consumer_history", 
rest-api/consumer/history.rst:    "_ns": "gc_consumer_history", 
rest-api/consumer/cud.rst:  "_ns": "gc_consumers",
rest-api/consumer/cud.rst:  "_ns": "gc_consumers",
rest-api/repo/retrieval.rst:      "_ns": "gc_repo_distributors",
rest-api/repo/retrieval.rst:      "_ns": "gc_repo_importers",
rest-api/repo/retrieval.rst:        "_ns": "gc_repo_distributors",
rest-api/repo/retrieval.rst:        "_ns": "gc_repo_importers",
rest-api/repo/retrieval.rst:        "_ns": "gc_repo_distributors",
rest-api/repo/retrieval.rst:        "_ns": "gc_repo_importers",
rest-api/repo/retrieval.rst:        "_ns": "gc_repo_distributors",
rest-api/repo/retrieval.rst:        "_ns": "gc_repo_importers",
rest-api/repo/retrieval.rst:    "_ns": "gc_repo_importers",
rest-api/repo/retrieval.rst:    "_ns": "gc_repo_distributors",
rest-api/repo/cud.rst:  "_ns": "gc_repo_importers",
rest-api/repo/cud.rst:  "_ns": "gc_repo_distributors",

Comment 1 Chris Duryee 2014-11-12 01:28:58 UTC
This is still outstanding as of Pulp 2.4.3.

Comment 2 Chris Duryee 2014-11-12 01:58:11 UTC
*** Bug 767635 has been marked as a duplicate of this bug. ***

Comment 3 Ina Panova 2014-11-18 15:00:34 UTC
https://github.com/pulp/pulp/pull/1315

Comment 4 Chris Duryee 2014-11-19 23:31:04 UTC
PR has been merged to 2.6-dev and master, setting state to MODIFIED.

Comment 5 Chris Duryee 2014-12-23 20:53:00 UTC
fixed in pulp 2.6.0-0.2.beta

Comment 6 Preethi Thomas 2015-01-28 17:41:50 UTC
verified
http://pulp.readthedocs.org/en/latest/

Comment 7 Brian Bouterse 2015-02-28 21:58:09 UTC
Moved to https://pulp.plan.io/issues/367


Note You need to log in before you can comment on or make changes to this bug.