Support for custom API_ROOT
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- Python
- Stars
- 29
- Forks
- 45
- Avg merge
- 4h 45m
- Merged PRs (30d)
- 1
Description
Pulp squeezer currently does not support custom API_ROOT environments from Pulp. As an example, the following hotfix can be used if you use / as API_ROOT:
find . -name pulp.py -exec sed -i '/doc_path/s/\/pulp//g' {} \;
Cause: https://github.com/pulp/squeezer/blob/develop/plugins/module_utils/pulp.py#L74
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 with plugins/module_utils/pulp.py at line 74, where the issue identifies the API path handling. Compare that behavior with the documented hotfix and trace how API_ROOT is represented in the module. Done means Pulp environments using a custom API_ROOT, including /, no longer require the workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, python
- Domain
- api, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100