summaryrefslogtreecommitdiff
path: root/lib/github
Commit message (Collapse)AuthorAgeFilesLines
* Fix notes type created from importLin Jen-Shin (godfat)2017-09-295-37/+55
|
* Add a spec for Github::Client and revert an `if !` to `unless`38198-fetch-github-api-per-100Rémy Coutable2017-09-261-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Retrieve PR comments only when we know there are anyRémy Coutable2017-09-262-20/+24
| | | | | | | | | | | | The Pull Request resource doesn't include the `comments` field, while the Issue resource does. And since we're looping through all issues anyway, we can freely check if the issue is a PR and has comments and in this case only fetch comments for it. That means if you have 1000 PRs but only 200 with comments, you will do 200 API requests instead of 1000. :notbad: Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fetch 100 results when calling the GitHub API in Github::ImportRémy Coutable2017-09-261-6/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Migrate creating/deleting a branch to Gitalyfeature/migrate-branch-operations-to-gitalyAhmad Sherif2017-09-061-1/+1
|
* Decrease ABC threshold to 55.25Maxim Rydkin2017-08-311-40/+42
|
* Fix error when importing a GitHub-wiki repositorybvl-improve-bare-project-importBob Van Landuyt2017-08-231-1/+1
| | | | | This would occur when Wiki's are enabled on GitHub, but there is no wiki repository
* Change `project.path_with_namespace` to `project.disk_path`Douglas Barbosa Alexandre2017-08-071-1/+1
|
* Allow users to disable SSL verification if not connecting to github.comDouglas Barbosa Alexandre2017-08-071-4/+15
|
* Fix small typo on Github::Import#fetch_releasesDouglas Barbosa Alexandre2017-08-071-1/+1
|
* Import GitHub releasesDouglas Barbosa Alexandre2017-08-071-0/+2
|
* Fix Github::Import cache for user idsDouglas Barbosa Alexandre2017-08-071-1/+1
|
* Extrac common timeout to a constant on Github::ClientDouglas Barbosa Alexandre2017-08-071-2/+4
|
* Fix small typoe on Github::Client#root_endpointDouglas Barbosa Alexandre2017-08-071-1/+1
|
* Expire content cache when repository fetch failsDouglas Barbosa Alexandre2017-08-071-2/+3
|
* Set the GitHub API token on options hashDouglas Barbosa Alexandre2017-08-071-2/+2
|
* Move GitHub root endpoint methods to Github::ClientDouglas Barbosa Alexandre2017-08-072-17/+19
|
* Use a custom root endpoint if defined on GH ominiauth provider settingsDouglas Barbosa Alexandre2017-08-071-1/+16
|
* Use project.import_url to fetch repositories from GithubDouglas Barbosa Alexandre2017-08-071-9/+10
|
* Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-011-1/+1
|
* Add a comment explaining how the branch clean up happensDouglas Barbosa Alexandre2017-06-211-0/+6
|
* Fix Github::Representation::PullRequest#source_branch_exists?Douglas Barbosa Alexandre2017-06-211-1/+1
|
* Fix GitHub importer performance on branch existence checkDouglas Barbosa Alexandre2017-06-213-35/+57
|
* Github - Fix token interpolation when cloning wiki repositoryDouglas Barbosa Alexandre2017-06-121-1/+1
|
* Reset create callbacks for Issues/MRs while importing GitHub projectsDouglas Barbosa Alexandre2017-05-111-0/+2
|
* Fix token interpolation when setting the Github remoteDouglas Barbosa Alexandre2017-05-111-1/+2
|
* [Multiple issue assignee] Fix a number of specsValery Sizov2017-05-051-1/+1
|
* Fix a failing Rubocop rule on masterDouglas Barbosa Alexandre2017-04-261-17/+21
|
* Add basic progress output to GitHub importDouglas Barbosa Alexandre2017-04-251-1/+10
|
* Fix Rubocop offensesDouglas Barbosa Alexandre2017-04-251-2/+6
|
* Fix import of notes on Pull Request diffDouglas Barbosa Alexandre2017-04-253-9/+12
|
* Create project repository only when it not existsDouglas Barbosa Alexandre2017-04-251-1/+1
|
* Fix small typo on GitHub::ImportDouglas Barbosa Alexandre2017-04-251-1/+1
|
* Remove the Github::Error base classDouglas Barbosa Alexandre2017-04-251-2/+1
|
* Add blank line before the raise method on Github::CollectionDouglas Barbosa Alexandre2017-04-251-0/+1
|
* Fix small typoDouglas Barbosa Alexandre2017-04-241-2/+2
|
* Use Class.new(SuperClass) to define an empty custom error classDouglas Barbosa Alexandre2017-04-241-4/+2
|
* Set timeout options to the Github::ClientDouglas Barbosa Alexandre2017-04-241-0/+2
|
* Use the base initiliazer for representationsDouglas Barbosa Alexandre2017-04-243-14/+11
|
* Cache labels at the same time we fetch them from the GH APIDouglas Barbosa Alexandre2017-04-241-8/+6
|
* Avoid unnecessary use of Arel to find users by external uidDouglas Barbosa Alexandre2017-04-241-3/+1
|
* Finish the import process if some error occurs when fetching the repoDouglas Barbosa Alexandre2017-04-242-3/+14
|
* Use only one cache hash with with a hash initializer by defaultDouglas Barbosa Alexandre2017-04-241-11/+8
|
* Refactoring Github::RateLimitDouglas Barbosa Alexandre2017-04-242-27/+14
|
* Extract rate limit URL to a constantDouglas Barbosa Alexandre2017-04-241-5/+2
|
* Does not freeze integer valuesDouglas Barbosa Alexandre2017-04-241-2/+2
|
* Add Github::Representation::Base#idDouglas Barbosa Alexandre2017-04-243-7/+4
|
* Rename find_by_email/find_by_external_uid methodsDouglas Barbosa Alexandre2017-04-241-3/+3
|
* Refactor rake task to to import GitHub repositoresDouglas Barbosa Alexandre2017-04-242-3/+6
|
* Keep track of import errorsDouglas Barbosa Alexandre2017-04-241-0/+10
|