Project

Profile

Help

Test #4035

closed

Test base_version parameter

Added by daviddavis about 6 years ago. Updated over 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Functional Test
Sprint:
Quarter:

Description

In #3360, we introduced a new param to the POST /pulp/api/v3/repositories/1/versions/ call that lets you set the base repository version. This lets users copy the contents of one repository into another.

Test same repository

1. Create a new repo
2. Sync the repo (this creates repo version 1)
3. Upload (or associate) a new content unit a new repository version (this create repo version 2)
4. Create a new repo version from version 1 (this creates version 3)
5. Check that version 1 and version 3 have the same content

Test different repository

1. Create a new repo A and sync it
2. Create a new repo B and a new version for this repo specify repo A version 1 as the base_version
3. Check that repo A version 1 and repo B version 2 have the same content


Related issues

Related to Pulp - Story #3360: As a user, I can create a repository version from any repository versionCLOSED - CURRENTRELEASEdaviddavis

Actions

Also available in: Atom PDF