Commit graph

28 commits

Author SHA1 Message Date
Douglas Barbosa Alexandre
1d0a0b9ae7 Fix a failing Rubocop rule on master 2017-04-26 14:35:34 -03:00
Douglas Barbosa Alexandre
d082b78998 Add basic progress output to GitHub import 2017-04-25 23:47:49 -03:00
Douglas Barbosa Alexandre
70d15ae1d9 Fix Rubocop offenses 2017-04-25 17:08:32 -03:00
Douglas Barbosa Alexandre
44954c507e Fix import of notes on Pull Request diff 2017-04-25 17:05:40 -03:00
Douglas Barbosa Alexandre
39ab842bc2 Create project repository only when it not exists 2017-04-25 15:58:17 -03:00
Douglas Barbosa Alexandre
000a723d84 Fix small typo on GitHub::Import 2017-04-25 15:57:50 -03:00
Douglas Barbosa Alexandre
aeb1684c52 Fix small typo 2017-04-24 23:41:46 -03:00
Douglas Barbosa Alexandre
5d106f2597 Use the base initiliazer for representations 2017-04-24 21:13:51 -03:00
Douglas Barbosa Alexandre
05255631ae Cache labels at the same time we fetch them from the GH API 2017-04-24 21:03:42 -03:00
Douglas Barbosa Alexandre
22a33d8256 Avoid unnecessary use of Arel to find users by external uid 2017-04-24 20:45:51 -03:00
Douglas Barbosa Alexandre
5c72ba0ff1 Finish the import process if some error occurs when fetching the repo 2017-04-24 20:28:06 -03:00
Douglas Barbosa Alexandre
1f498b73da Use only one cache hash with with a hash initializer by default 2017-04-24 20:00:11 -03:00
Douglas Barbosa Alexandre
2b7328c317 Rename find_by_email/find_by_external_uid methods 2017-04-24 18:42:50 -03:00
Douglas Barbosa Alexandre
e50606cd2d Refactor rake task to to import GitHub repositores 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
09a6d32817 Keep track of import errors 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
bd9e5c5ddf Clone GitHub wiki 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
3c0a713a37 Import Github releases 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
3aa8979556 Refactoring Github import 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
a7cb336e55 Use while instead of loop/break 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
181445307c Add a method to format issues/pull requests/comments body 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
5691c9b061 Does not remove the GitHub remote 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
782aab1319 Pass a options hash to Github::Client 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
ac1634fac9 Extract a method to import issues/pull requests comments 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
33c8f315b9 Apply labels to issues/merge requests 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
db3220092a Import issues comments 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
c26076664f Import pull requests comments 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
4a3b895d91 Refactoring Github import to avoid memory leak 2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
f76363e445 Add basic importer for GitHub repositories 2017-04-24 16:17:52 -03:00