Project

Profile

Help

Issue #5377

closed

Cannot modify, delete, or duplicate content

Added by jaymzh over 5 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
4. Urgent
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Once an artifact has been made into apt content, that content cannot be modified or deleted. Further, you can't work around this by creating new content because multiple contents cannot point to the same artifact because content cannot have the same sha256 sum.

As such if you create content incorrectly, there is literally now way out of it.


Files

Kinemaster-Mod-APK.jpg (156 KB) Kinemaster-Mod-APK.jpg Anonymous, 08/13/2020 05:49 PM
Actions #1

Updated by mdellweg over 5 years ago

Can you test, whether
https://github.com/pulp/pulp_deb/pull/87/commits/026eb974f38bb13f85c3f889662770479c2a11d6
fixes, or at least improves the issue?
Then i could append that commit to this issue.

Added by mdellweg over 5 years ago

Revision ec1038f2 | View on GitHub

Fix uniqueness of packages

Add relative_path to packages natural key

re #5377 https://pulp.plan.io/issues/5377

Added by mdellweg about 5 years ago

Revision 53c3c0b7 | View on GitHub

Add validation for uploading packages

Check, that a given relativ_path contains the right filename, and distinguish normal from installer packages.

fixes #5377 https://pulp.plan.io/issues/5377

Actions #2

Updated by mdellweg about 5 years ago

The PR:
https://github.com/pulp/pulp_deb/pull/129

Introduces more validation when uploading a package. It should be almost impossible to create erroneous package content types this way.

Actions #3

Updated by mdellweg about 5 years ago

  • Status changed from NEW to MODIFIED
Actions #4

Updated by Anonymous over 4 years ago

Actions #5

Updated by quba42 over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF