As a user I can copy collections by name from one repo to another

Open
#706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, backend

Research direction

Start at the repository copy action endpoint /pulp/api/v3/repositories/ansible/ansible/copy/ and review how its request is structured. The completed work should accept criteria, source_repository, and destination_repository, copy all matching versions, and create a new version in the destination repository.

Written by the indexing model from the issue text.

Description

Migrated from Redmine Story

Author: @bmbouter (bmbouter)

Redmine Issue: 6197, https://pulp.plan.io/issues/6197


The endpoint would use the copy action endpoint: /pulp/api/v3/repositories/ansible/ansible/copy/.

It would take a criteria object (see below) and also a source_repository and destination_repository. A new repository version will be created in the destination repository.

{"TYPE": [{[fields]}]} so like {"collection_version": [{"namespace": "whatever", "name": "ok"}, {"namespace": "another}]} 

It would copy all versions that match in all cases.

Dominant language
Python
Stars
68
Forks
62
Avg merge
1d 14h
Merged PRs (30d)
37

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pulp/pulp_ansible

All issues in pulp/pulp_ansible

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.