Project

Profile

Help

« Previous | Next » 

Revision 2551ede9

Added by bmbouter almost 2 years ago

Prevent duplicate relative_path files

When a RepositoryVersion has another file.file added with the same relative_path the original one should be removed. This is shown correctly on the RepositoryVersion added, removed fields.

This adds a test which uploads two distinct Artifacts, makes them into File content, and then associates one, and then another with a Repo. The second RepositoryVersion should have only 1 file.file content unit in it.

Required PR: https://github.com/pulp/pulpcore/pull/331

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