Unitech / Unitech/pm2

Cannot modify ENABLE_GIT_PARSING value

Open
#5,987 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Starting from version 6.0.5, the ENABLE_GIT_PARSING flag is disabled by default.
However, there doesn’t seem to be a way to re-enable it via environment variables, since it’s hardcoded as false in Constants.js.

Would it be possible to make this configurable through an environment variable?

Thanks!

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 in Constants.js and trace how ENABLE_GIT_PARSING is read during startup. Check the existing environment-variable configuration pattern, then verify that setting the variable can override the default false value and that the flag behaves correctly when it is unset.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.