pulp_container SHOULD not disregard the base_path rules
Open
Nobody has claimed this yet.
Issue
- Dominant language
- Python
- Stars
- 31
- Forks
- 56
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 22
Description
Version
pulp_container: all of them
pulpcore: < 3.117
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
On pulpcore < 3.117 run:
pulp file repository create --name "test" --autopublish
pulp file distribution create --name breakme --repository test --base-path break/me
pulp file content upload --repository test --file LICENSE --relative-path LICENSE
curl http://localhost:8080/pulp/content/
curl http://localhost:8080/pulp/content/break/
curl http://localhost:8080/pulp/content/break/me/
curl http://localhost:8080/pulp/content/break/me/LICENSE
# --------
pulp container distribution create --name offender --base-path break
curl http://localhost:8080/pulp/content/break/me/LICENSE
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided pulpcore 3.117 reproduction commands and compare the file distribution's base_path behavior with the container distribution. Trace the container distribution handling from the relevant backend entry point; done means a container base path no longer disregards the existing base_path rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100