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

Build: Auto generate AUTHORS.txt #487

Closed
rxaviers opened this issue Aug 23, 2015 · 4 comments
Closed

Build: Auto generate AUTHORS.txt #487

rxaviers opened this issue Aug 23, 2015 · 4 comments

Comments

@rxaviers
Copy link
Member

Ref: https://github.com/jquery/jquery

@rxaviers rxaviers changed the title Auto generate AUTHORS.txt Build: Auto generate AUTHORS.txt Oct 10, 2015
@karan1276
Copy link
Contributor

I did some research and the code below does the trick:
git shortlog -sne | cut -f 2 | sort | uniq
I am not sure how exactly can i implement this, i mean it's git command, how can we include this in the jquery workflow, or should i write a grunt task or something for this?
any advice @rxaviers ?

@rxaviers
Copy link
Member Author

Thanks @karan1276, that's the idea. jQuery projects automate this by using a grunt task: https://github.com/scottgonzalez/grunt-git-authors. Usage reference: https://github.com/jquery/jquery-ui/blob/master/Gruntfile.js.

@karan1276
Copy link
Contributor

Hello @rxaviers,
Thanks for replying! I am a student pursuing engineering in computer science and there are lots of things i am still learning 😄
This issue will be solved easily by a seasoned developer but may take me a day or two 😅 , i'm just letting you know that i am working on this but i may be a little slow.

Thank you for cooperating 😄

@rxaviers
Copy link
Member Author

Take your time and just let me know if you need any guidance. Thanks so far for your willing to contribute.

PS: This may be a good reading https://github.com/jquery/globalize/blob/master/CONTRIBUTING.md

karan1276 added a commit to karan1276/globalize that referenced this issue Nov 19, 2015
@karan1276 karan1276 mentioned this issue Nov 19, 2015
karan1276 added a commit to karan1276/globalize that referenced this issue Nov 19, 2015
Include 'grunt-git-authors' as devDependency, use 'update-author' task provided by this plugin to auto generate AUTHORS.txt

Fixes globalizejs#487
karan1276 added a commit to karan1276/globalize that referenced this issue Nov 19, 2015
Include 'grunt-git-authors' as devDependency, use 'update-author' task provided

by this plugin to auto generate AUTHORS.txt

Fixes globalizejs#487
karan1276 added a commit to karan1276/globalize that referenced this issue Nov 19, 2015
Created .mailmap file to avoid duplicate entries in AUTHORS.txt

Ref globalizejs#487
karan1276 added a commit to karan1276/globalize that referenced this issue Nov 19, 2015
Create AUTHORS.txt that lists names and email ids of contributors of globalize

Ref globalizejs#487
rxaviers added a commit that referenced this issue Dec 3, 2015
rxaviers added a commit that referenced this issue Dec 3, 2015
rxaviers added a commit that referenced this issue Dec 5, 2015
rxaviers pushed a commit that referenced this issue Jan 17, 2016
- Include 'grunt-git-authors' as devDependency, use 'update-author' task
  provided by this plugin to auto generate AUTHORS.txt.
- Created .mailmap file to avoid duplicate entries in AUTHORS.txt.

Fixes #487
Closes #555
rxaviers added a commit that referenced this issue Jan 17, 2016
rxaviers added a commit that referenced this issue Jan 17, 2016
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

2 participants