pulp / pulp/pulp_npm

Use the proper Accept header to reduce the amount of metadata needed to sync

Open
#290 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
15
Forks
24
Avg merge
3d 22h
Merged PRs (30d)
7

Description

Is your feature request related to a problem? Please describe.
When using the proper header, the amount of metadata needed to download obtain the package information is
drastically reduced, with huge savings, some time 70%.

Describe the solution you'd like
To inject the Accept: application/vnd.npm.install-v1+json to any request to the NPM Registry.

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 locating the code that sends requests to the NPM Registry and identify whether requests are assembled in one place or across several paths. Add the requested Accept header to registry requests, then verify that package synchronization still works and downloads less metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.