pulp / pulp/pulp_container

pulp_container SHOULD not disregard the base_path rules

Open
#2,494 0 comments 0 reactions 0 assignees View on GitHub

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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.