You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When removing a package from a repository via the /pulp/api/v3/repositories/deb/apt/modify/ endpoint in a structured publication, the corresponding package release component (PRC) file that references the removed package is not removed as expected.
To Reproduce
Sync a remote repository to create the initial repository version.
Use the /pulp/api/v3/repositories/deb/apt/modify/ endpoint to remove a specific package from the repository.
Inspect the latest repository version and verify that the PRC referencing the removed package is still present in the content units.
Expected behavior
When a package is removed via the modify endpoint, the PRC file referencing the package's href should also be removed from the repository version to ensure consistency.
The text was updated successfully, but these errors were encountered:
Just wanted to expand on why this is a problem: On the publish using structured mode, pulp_deb will loop over the dangling PRC, and pull the removed package back in. This means the published repo will contain the package that the user explicitly removed.
hstct
added a commit
to ATIX-AG/pulp_deb
that referenced
this issue
Nov 20, 2024
Describe the bug
When removing a package from a repository via the
/pulp/api/v3/repositories/deb/apt/modify/
endpoint in a structured publication, the corresponding package release component (PRC) file that references the removed package is not removed as expected.To Reproduce
/pulp/api/v3/repositories/deb/apt/modify/
endpoint to remove a specific package from the repository.Expected behavior
When a package is removed via the modify endpoint, the PRC file referencing the package's href should also be removed from the repository version to ensure consistency.
The text was updated successfully, but these errors were encountered: