You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cabal init guesses your name and email based on your source control configuration (~/.gitconfig for example), it would be awesome if Summoner did the same thing.
Example
Currently the interactive prompt displays the following:
Repository owner: [kowainik]
-> m-renaud
Short project description:
->
Author: [Kowainik]
-> Matt Renaud
Maintainer e-mail: [xrom.xkov@gmail.com]
->
The repository owner, author, and email can all be guessed from the users Git configuration file.
@m-renaud Thanks for the idea! I guess, for Summoner at the moment it makes sense to only check the Git config file as we are supporting only this at the moment.
@m-renaud See PR #305 which address the issue. From the cabal init code I see that it tries to guess credentials from multiple sources: environment variables, darcs config, .gitconfig, etc. Currently in summoner we support only git VSC, so it guesses only from .gitconfig.
Overview
cabal init
guesses your name and email based on your source control configuration (~/.gitconfig
for example), it would be awesome if Summoner did the same thing.Example
Currently the interactive prompt displays the following:
The repository owner, author, and email can all be guessed from the users Git configuration file.
Reference Code
The
cabal init
implementation can be found here.The text was updated successfully, but these errors were encountered: