apigee / apigee/apigeetool-node

node proxy deployment create duplicate NPM modules

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
91
Forks
91
PR merge metrics
No merged PRs in 30d

Description

While deploying proxies having nodejs resource in opts['upload-modules'] = true; mode. Apigeetool creates multiple zips of different node_modules. eg node_modules_yaml.zip, node_modules_mustache.zip along with these it also creates node_modules.zip

node_modules.zip obviously has all the modules within hence we don't need node_modules_yaml.zip, node_modules_mustache.zip zips or need not create node_modules.zip and retain other zips.

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

The entry point is proxy deployment with opts['upload-modules'] = true; start by tracing how node_modules archives are generated and compare the resulting ZIP set. Done means deployments no longer create redundant module archives, with the chosen archive behavior verified consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, devops
Issue type
Bug
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.