-
Notifications
You must be signed in to change notification settings - Fork 145
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
feat: add support for GitLab repositories #84
Commits on Feb 19, 2018
-
feat(prompt): add options 'repoType' and 'repoHost' to init prompt
The repoType is a choice between github and gitlab (default is github) and repoHost is a string which default to either 'https://github.com' or 'https://gitlab.com' depending on the answer given for 'repoType'
Configuration menu - View commit details
-
Copy full SHA for a305469 - Browse repository at this point
Copy the full SHA a305469View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14f5874 - Browse repository at this point
Copy the full SHA 14f5874View commit details -
feat(repo): add api to interact with repositories
add methods to get config options, get users and get contributors add tests for most of the implemented code
Configuration menu - View commit details
-
Copy full SHA for 945d79c - Browse repository at this point
Copy the full SHA 945d79cView commit details -
test(generate): fix format-contribution-type and format-contributor
fix both files to include 'repoType' and 'repoHost' in their options stub
Configuration menu - View commit details
-
Copy full SHA for adf543b - Browse repository at this point
Copy the full SHA adf543bView commit details -
refactor(contributors): adapt code that adds contributors to use the …
…new repo api main changes include using methods that were fixed for github before, or passing extra parameters from the options object
Configuration menu - View commit details
-
Copy full SHA for 165eeec - Browse repository at this point
Copy the full SHA 165eeecView commit details -
Configuration menu - View commit details
-
Copy full SHA for f741884 - Browse repository at this point
Copy the full SHA f741884View commit details -
refactor(util): adapt code to use the new repo api and remove unused …
…code all code that interacts with repositories is now under the repo folder, and therefore is deleted here
Configuration menu - View commit details
-
Copy full SHA for e9d8295 - Browse repository at this point
Copy the full SHA e9d8295View commit details -
refactor(repo): declare the functions outside the module.exports
this allows for future call of these functions recursively if necessary
Configuration menu - View commit details
-
Copy full SHA for a13d060 - Browse repository at this point
Copy the full SHA a13d060View commit details -
feat(repo): add key to allow to compare users for gitlab in the check…
… method gitlab does not return the user login when the contributor's list is fetched. therefore, the name key is used to compare
Configuration menu - View commit details
-
Copy full SHA for 96b80d3 - Browse repository at this point
Copy the full SHA 96b80d3View commit details -
fix(cli): fix the check command in gitlab based repositories
the check command was broken because gitlab does not return the user login when fetching contributors. the name is now being used (because it is the only other data stored)
Configuration menu - View commit details
-
Copy full SHA for 8f1bd55 - Browse repository at this point
Copy the full SHA 8f1bd55View commit details -
docs(README): add information about new parameters in the README file
add 2 new items in the Configuration section: repoType and repoHost
Configuration menu - View commit details
-
Copy full SHA for 99b2a99 - Browse repository at this point
Copy the full SHA 99b2a99View commit details
Commits on Feb 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fdfdc52 - Browse repository at this point
Copy the full SHA fdfdc52View commit details
Commits on Feb 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9bf96ff - Browse repository at this point
Copy the full SHA 9bf96ffView commit details
Commits on Feb 23, 2018
-
chore(merge): merge branch with jfmengels/master
github.js and gitlab.js now check for status codes >= 400 and print the respective error message
Configuration menu - View commit details
-
Copy full SHA for 76ea5ea - Browse repository at this point
Copy the full SHA 76ea5eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07b4fc7 - Browse repository at this point
Copy the full SHA 07b4fc7View commit details -
refactor(cli): rename ghContributors to repoContributors
ghContributors was specific to GitHub, and therefore the variable is renamed to be more generic
Configuration menu - View commit details
-
Copy full SHA for 7d2dad8 - Browse repository at this point
Copy the full SHA 7d2dad8View commit details -
Configuration menu - View commit details
-
Copy full SHA for de73626 - Browse repository at this point
Copy the full SHA de73626View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fdfda5 - Browse repository at this point
Copy the full SHA 9fdfda5View commit details -
refactor(github): add custom error message when no contributors are f…
…ound Message is "No contributors found on the GIthub repository
Configuration menu - View commit details
-
Copy full SHA for 7a906e6 - Browse repository at this point
Copy the full SHA 7a906e6View commit details -
refactor(gitlab): add custom error message when no contributors are f…
…ound Message is "No contributors found on the GitLab repository"
Configuration menu - View commit details
-
Copy full SHA for 3ac2d0f - Browse repository at this point
Copy the full SHA 3ac2d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54304aa - Browse repository at this point
Copy the full SHA 54304aaView commit details