Project

Profile

Help

Story #3234

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

As an authenticated user, I can create a new version by adding or removing content to the latest version.

Added by daviddavis almost 2 years ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
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

  • I can follow the progress. (adding/removing are asynchronous).
  • can add and remove together in a single call

A POST to the api/v3/repositories/123/versions/ should accept 2 POST body parameters: add_content_units, remove_content_units. A task should be spawned to create a new repository version. The repository version starts with the content from previous version, if any, and then adds units from add_content_units, then removes content from remove_content_units.

Associated revisions

Revision d88f2f1a View on GitHub
Added by dkliban@redhat.com over 1 year ago

Adds ability to POST to repository version API

This patchs adds ability to create new repository versions by specifying a list of
content to add to the previous version and remove from the previous version.

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

Revision d88f2f1a View on GitHub
Added by dkliban@redhat.com over 1 year ago

Adds ability to POST to repository version API

This patchs adds ability to create new repository versions by specifying a list of
content to add to the previous version and remove from the previous version.

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

Revision d88f2f1a View on GitHub
Added by dkliban@redhat.com over 1 year ago

Adds ability to POST to repository version API

This patchs adds ability to create new repository versions by specifying a list of
content to add to the previous version and remove from the previous version.

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

History

#1 Updated by daviddavis almost 2 years ago

  • Blocked by Story #3173: As a plugin author, I have documentation on how to implement a sync operation for my importer added

#2 Updated by daviddavis almost 2 years ago

  • Description updated (diff)

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

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#4 Updated by amacdona@redhat.com almost 2 years ago

  • Description updated (diff)

Updated based on RepositoryVersions discussion. The initial implementation no longer includes an importer parameter, the deployment of the sync task be the responsibility of the Detail Importer Viewset rather than the RepositoryVersionsViewset.

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

  • Blocked by deleted (Story #3173: As a plugin author, I have documentation on how to implement a sync operation for my importer)

#6 Updated by amacdona@redhat.com almost 2 years ago

  • Description updated (diff)

#7 Updated by amacdona@redhat.com almost 2 years ago

  • Description updated (diff)

#8 Updated by jortel@redhat.com almost 2 years ago

Let's drop the "units" suffix and use add_content and remove_content.

#9 Updated by amacdona@redhat.com almost 2 years ago

@jortel, -1 for `add_content` and `remove_content` since "content" can be singular or plural. In this context it will be plural, but the model already defines `add_content` (singular). `add_content_units` is admittedly clunky, but is more clear.

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

  • Sprint/Milestone set to 53

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

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#12 Updated by daviddavis almost 2 years ago

Not a huge fan of add/remove_content_units but I like it better than add/remove_content. Seems like the param should be plural. Perhaps another option: add/remove_content_hrefs?

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

  • Status changed from ASSIGNED to POST

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

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

#15 Updated by daviddavis over 1 year ago

  • Smash Test set to 867

#16 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 31

#17 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (53)

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

  • Sprint/Milestone set to 3.0

#19 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

Please register to edit this issue

Also available in: Atom PDF