| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Improve & simplify GitHub's representation classes | Rémy Coutable | 2017-10-05 | 1 | -2/+2 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Set `label_ids` and `assignee_ids` after the initial `save!`. | Rémy Coutable | 2017-10-05 | 1 | -6/+12 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Fetch the remote if a PR has been created/updated after the last fetch | Rémy Coutable | 2017-10-05 | 1 | -4/+14 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Ensure Github::Import#execute returns false if any errors occured | Rémy Coutable | 2017-10-05 | 1 | -1/+1 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Set `ref_fetched` to `true` in Github::Import#fetch_pull_requests | Rémy Coutable | 2017-10-05 | 1 | -0/+1 |
| | | | | | | | | Since we fetch all the refs we need at the beginning of the import process, we can safely set this attribute. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Don't even check if the branch exists locally as we only use its name in GH ↵ | Rémy Coutable | 2017-10-05 | 1 | -4/+0 |
| | | | | | | | | | | | | | | import The benefit is that we don't even have to create temp source/target branches. Also, when the source branch of the imported MR is from a fork, name it "user:branch" to mimic how we display it for MR when forks actually exists. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Keep only the changes that are known to work well | Rémy Coutable | 2017-10-05 | 1 | -1/+4 |
| | | | | | | | | | | | | | Also, improved a bit the method names in Github::Representation::PullRequest. Last but not least, ensure temp branch names doesn't contain a `/` as this would create the ref in a subfolder in `refs/heads` (e.g. `refs/heads/gh-123/456/rymai/foo`), and would leave empty directories upon branch deletion (e.g. `refs/heads/gh-123/456/rymai/`. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Fetch and map refs/pull to refs/merge-requests in the GH import | James Lopez | 2017-10-05 | 1 | -4/+2 |
| | | | | | update MR diff | ||||
| * | Fix notes type created from import | Lin Jen-Shin (godfat) | 2017-09-29 | 1 | -37/+4 |
| | | |||||
| * | Add a spec for Github::Client and revert an `if !` to `unless`38198-fetch-github-api-per-100 | Rémy Coutable | 2017-09-26 | 1 | -1/+1 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Retrieve PR comments only when we know there are any | Rémy Coutable | 2017-09-26 | 1 | -19/+22 |
| | | | | | | | | | | | | | 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::Import | Rémy Coutable | 2017-09-26 | 1 | -6/+6 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Decrease ABC threshold to 55.25 | Maxim Rydkin | 2017-08-31 | 1 | -40/+42 |
| | | |||||
| * | Fix error when importing a GitHub-wiki repositorybvl-improve-bare-project-import | Bob Van Landuyt | 2017-08-23 | 1 | -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 Alexandre | 2017-08-07 | 1 | -1/+1 |
| | | |||||
| * | Fix small typo on Github::Import#fetch_releases | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -1/+1 |
| | | |||||
| * | Import GitHub releases | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -0/+2 |
| | | |||||
| * | Fix Github::Import cache for user ids | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -1/+1 |
| | | |||||
| * | Expire content cache when repository fetch fails | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -2/+3 |
| | | |||||
| * | Set the GitHub API token on options hash | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -2/+2 |
| | | |||||
| * | Move GitHub root endpoint methods to Github::Client | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -16/+1 |
| | | |||||
| * | Use a custom root endpoint if defined on GH ominiauth provider settings | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -1/+16 |
| | | |||||
| * | Use project.import_url to fetch repositories from Github | Douglas Barbosa Alexandre | 2017-08-07 | 1 | -9/+10 |
| | | |||||
| * | Rename many path_with_namespace -> full_path | Gabriel Mazetto | 2017-08-01 | 1 | -1/+1 |
| | | |||||
| * | Fix GitHub importer performance on branch existence check | Douglas Barbosa Alexandre | 2017-06-21 | 1 | -28/+2 |
| | | |||||
| * | Github - Fix token interpolation when cloning wiki repository | Douglas Barbosa Alexandre | 2017-06-12 | 1 | -1/+1 |
| | | |||||
| * | Reset create callbacks for Issues/MRs while importing GitHub projects | Douglas Barbosa Alexandre | 2017-05-11 | 1 | -0/+2 |
| | | |||||
| * | Fix token interpolation when setting the Github remote | Douglas Barbosa Alexandre | 2017-05-11 | 1 | -1/+2 |
| | | |||||
| * | [Multiple issue assignee] Fix a number of specs | Valery Sizov | 2017-05-05 | 1 | -1/+1 |
| | | |||||
| * | Fix a failing Rubocop rule on master | Douglas Barbosa Alexandre | 2017-04-26 | 1 | -17/+21 |
| | | |||||
| * | Add basic progress output to GitHub import | Douglas Barbosa Alexandre | 2017-04-25 | 1 | -1/+10 |
| | | |||||
| * | Fix Rubocop offenses | Douglas Barbosa Alexandre | 2017-04-25 | 1 | -2/+6 |
| | | |||||
| * | Fix import of notes on Pull Request diff | Douglas Barbosa Alexandre | 2017-04-25 | 1 | -4/+11 |
| | | |||||
| * | Create project repository only when it not exists | Douglas Barbosa Alexandre | 2017-04-25 | 1 | -1/+1 |
| | | |||||
| * | Fix small typo on GitHub::Import | Douglas Barbosa Alexandre | 2017-04-25 | 1 | -1/+1 |
| | | |||||
| * | Fix small typo | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -2/+2 |
| | | |||||
| * | Use the base initiliazer for representations | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -1/+1 |
| | | |||||
| * | Cache labels at the same time we fetch them from the GH API | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -8/+6 |
| | | |||||
| * | Avoid unnecessary use of Arel to find users by external uid | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -3/+1 |
| | | |||||
| * | Finish the import process if some error occurs when fetching the repo | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -3/+8 |
| | | |||||
| * | Use only one cache hash with with a hash initializer by default | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -11/+8 |
| | | |||||
| * | Rename find_by_email/find_by_external_uid methods | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -3/+3 |
| | | |||||
| * | Refactor rake task to to import GitHub repositores | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -0/+1 |
| | | |||||
| * | Keep track of import errors | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -0/+10 |
| | | |||||
| * | Clone GitHub wiki | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -2/+21 |
| | | |||||
| * | Import Github releases | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -0/+27 |
| | | |||||
| * | Refactoring Github import | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -25/+38 |
| | | |||||
| * | Use while instead of loop/break | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -12/+10 |
| | | |||||
| * | Add a method to format issues/pull requests/comments body | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -10/+24 |
| | | |||||
| * | Does not remove the GitHub remote | Douglas Barbosa Alexandre | 2017-04-24 | 1 | -1/+0 |
| | | |||||
