Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What kind of file should the config file be? Can git-stats-importer use git-stats's config file? #39

Open
cmal opened this issue Nov 29, 2016 · 5 comments

Comments

@cmal
Copy link

cmal commented Nov 29, 2016

Hi, @IonicaBizau . I've been using git-stats these days, and I wonder what kind of file should a git-stats config file be? Should the file .git-stats-config.js and the emails key be a json file with the format of

{
emails: [
"[email protected]"
]
}

Are there a document about that?

Can git-stats-importer use the config file of git-stats?

I've read this code of git-stats-importer and found that if a -e option does not supplied the process will terminated.

I thought If one has already sepecify the email field in the config file, it should not terminate because this code is to read the config file.

@IonicaBizau
Copy link
Owner

Well, the git-stats-config.js doesn't store the emails. The importer accepts the emails passed via the cli argument.

Is there a specific reason for using a config file?

@cmal
Copy link
Author

cmal commented Dec 8, 2016

I've been using $ git-stats-importer -e "email1, email2, email3, ..." every time.
Is there a better way to do that? For example, just use $ git-stats-importer.

@IonicaBizau
Copy link
Owner

IonicaBizau commented Dec 8, 2016 via email

@cmal
Copy link
Author

cmal commented Dec 8, 2016

Ok. I will create a bash func for this...

@benmcginnis
Copy link

Is there any way to just do all the authors in the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants