finnp / finnp/github-slug

Use resolved config

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Right now this module only parses `.git/config`. In certain cases like https://github.com/greenkeeperio/greenkeeper/issues/23 this is not enough, because a [.gitconfig](https://github.com/Munter/dotfiles/blob/master/.gitconfig#L78-L90) file could modify the url.

A way to get the resolved config would be to use the output of `git config remote.origin.url`. This should include all the possible configuration options for git.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the module's current `.git/config` parsing and compare it with the resolved value from `git config remote.origin.url`. Check how `.gitconfig` can alter the URL, then verify that the module uses the resolved remote URL and that existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.