[Feature Request] Ability to specify where to find the .git folder
Open
Nobody has claimed this yet.
S: Open for PR
SYS: Vizion
T: Enhancement
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
I cannot specify a different path for my .git folder, so I'm not able to see it when running pm2 ls.
How could we reproduce this issue?
When you use capistrano, you end up with a folder structure where you .git folder is not in the current path.
Check this line:
https://github.com/Unitech/pm2/blob/fd1f52d5e2413a5ad5ac7a52bbe9b5a14cc88732/lib/God.js#L444
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 lib/God.js at the linked line around 444 and trace how pm2 ls locates the .git folder. Check how Capistrano's folder structure differs from the current path. Done means providing a way to specify the alternate .git location and confirming that pm2 ls can find it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100