Project

Profile

Help

Story #3218

Story #3209: As a user, I have Repository Versions

As an authenticated user, I can list repository version content, added content, removed content

Added by dkliban@redhat.com almost 2 years ago. Updated 25 days ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 31

Description

Three detail routes need to be added to the RepositoryVersion viewset.

/api/v3/repositories/<uuid>/versions/<id>/content/ - paginated list of all content in particular version

/api/v3/repositories/<uuid>/versions/<id>/added_content/ - paginated list of content added since the previous version

/api/v3/repositories/<uuid>/versions/<id>/removed_content/ - paginated list of content removed since the previous version


Checklist


Related issues

Blocked by Pulp - Issue #3283: Descriptions for actions are based on docstring MODIFIED Actions

Associated revisions

Revision 8600f53b View on GitHub
Added by daviddavis almost 2 years ago

Changed routes and added docs for added/removed content

fixes #3218
https://pulp.plan.io/issues/3218

Revision 8600f53b View on GitHub
Added by daviddavis almost 2 years ago

Changed routes and added docs for added/removed content

fixes #3218
https://pulp.plan.io/issues/3218

Revision 8600f53b View on GitHub
Added by daviddavis almost 2 years ago

Changed routes and added docs for added/removed content

fixes #3218
https://pulp.plan.io/issues/3218

History

#1 Updated by dkliban@redhat.com almost 2 years ago

  • Parent task set to #3209

#2 Updated by dkliban@redhat.com almost 2 years ago

  • Subject changed from Add RepositoryVersion Model and Viewset to As an authenticated user, I can list repository version content, added content, removed content
  • Description updated (diff)

#3 Updated by daviddavis almost 2 years ago

  • Groomed changed from No to Yes

#4 Updated by mhrivnak almost 2 years ago

There's an important bit of nuance to the "added" and "removed" attributes that's worth capturing. They are derived attributes whose state depends on the state of previous versions. You could define them as:

"The set of content added/removed since the previous known version that has not been deleted."

The result is that deleting a version will cause the next version to inherit some or all of its changes. For example: If version 2 adds A, and version 3 adds B, then you delete version 2, the result is that version 3 will be shown as having added A and B.

Since they represent the differences between two versions, that makes them quite a bit different from the "content" attribute which is immutable and scoped to a single object. It would be a good idea to communicate this clearly in the API docs.

I wrestled with whether or not to even include the "added" and "removed" attributes directly on each version representation. Ultimately I kept them at least as a way to demonstrate how easy it is to get that information, but it might be worth considering if there is a more clear way to present it.

#5 Updated by dkliban@redhat.com almost 2 years ago

  • Sprint/Milestone set to 53

#6 Updated by daviddavis almost 2 years ago

+1 to @mhrivnak's proposal of updating our docs. Added a checklist item to do so.

#7 Updated by daviddavis almost 2 years ago

  • Description updated (diff)

#8 Updated by daviddavis almost 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#9 Updated by daviddavis almost 2 years ago

  • Status changed from ASSIGNED to POST

#10 Updated by daviddavis almost 2 years ago

  • Tracker changed from Task to Story

#11 Updated by daviddavis almost 2 years ago

  • Blocked by Issue #3283: Descriptions for actions are based on docstring added

#12 Updated by daviddavis almost 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#13 Updated by daviddavis over 1 year ago

  • Smash Test set to 878

#14 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 31

#15 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (53)

#16 Updated by dkliban@redhat.com over 1 year ago

  • Sprint/Milestone set to 3.0

#18 Updated by tcssmith 6 months ago

LiteBlue is united states Government website is designed and used only for postal service employees. Liteblue will help people in their career, benefits, and keep everyone connected with policies that affect their Job. Anyone should not use LiteBlue USPS to assist their performance of work for the Postal Service outside of their schedule or approved work time. Liteblue USPS Gov is packed with information about career development revenue service performance, products, and recognition. Liteblue has a secure connection to check access to PostalEase during the open season and change user benefits selections any information see here: https://www.liteblueusps.live/

#19 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

#20 Updated by mathlind 6 months ago

Nice information check this once for various apps https://elegantdsl.com/liteblue-usps-gov-login/

#21 Updated by burrgio 25 days ago

Nice to see this post here and thanks for sharing this to us.
https://peryourhealth.fun
https://liteblue.mobi

Please register to edit this issue

Also available in: Atom PDF