Script to fetch contributors from issues
Contributor on issue is one who has done either of
- Opening an issue
- Comment on an issue
Setup
- npm install
- npx all-contributors init # for the first time
Running for gitlab
- npm index.js
- copy the standard output lines like "npx all-contributors add ..." and paste them on terminal
- for android app developers, there will be a contributors.xml file with contributors and their gitlab profile url as xml string array resources
- copy the .all-contributorsrc file to the target repository directory and run
npx all-contributors generate
Running for crowdin
- npm crowdin.js
- copy the standard output lines and add paste them in .all-contributorsrc file
- copy contents of contributors.xml to android project's contributors xml resource