pulp / pulp/pulpcore

NPM Publication Creation.

Open
#6,680 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Documentation Issue
Dominant language
Python
Stars
598
Forks
168
Avg merge
1d 4h
Merged PRs (30d)
86

Description

Hi,

Today I've faced an issue when trying to create an npm Publication. Documentation says it's done by below call:

curl -X POST $BASE_ADDR/api/v3/publications/npm/npm/ -d '{"name": "bar"}' -H 'Content-Type: application/json'

Unfortunately - it doesn't work for me, I'm receiving:

<title>Not Found</title> Not Found The requested resource was not found on this server.

And when trying to access api/v3/publications/npm/npm/ I see the same.

I realized also it works in the same way in case of Python (api/v3/publications/python/python/) I mean, returns same error, but in case of Python there's dedicated command to create a publication. (pulp python publication create --repository pypi --version 1)

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 reproducing the documented POST request to /api/v3/publications/npm/npm/ and compare it with the Python publication workflow described in the issue. Check whether the npm endpoint is supported and whether the documentation matches the available API or CLI behavior. Done means the supported creation path is identified and the documentation or endpoint behavior is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.