GeorgeWheatcroft and GitHub
6ddc639d02
fix issue of downloading and using github sourced migration files of … ( #900 )
...
* fix issue of downloading and using github sourced migration files of 100MB >=1Mb (which previously failed to download due to their size and the api call performed) by preferring the go-github client library method 'DownloadContents' for such operations (which doesn't have the same limitation)
* empty commit & push to trigger ci
2023-03-24 23:18:40 -07:00
Abhinav Nair
baec8ed6b6
Replace deprecated ioutil pkg with os & io
...
As of Go 1.16, the same functionality is now provided by package io or
package os, and those implementations should be preferred in new code.
So replacing all usage of ioutil pkg with io & os.
2022-06-26 16:57:29 +08:00
Greyeye
63bf7db8fa
change github auth to use oauth token instead of basic.
2021-10-26 10:57:16 +10:00
Dale Hui
b37eea94ca
Update go-github from v17 to v35
2021-05-28 14:56:29 -07:00
Ben and GitHub
87b1c2739d
Add default GitHub API client ( #501 )
2021-01-30 23:07:53 -08:00
Kasparas Galdikas and Dale Hui
57af81c94a
Github Enterprise support ( #234 )
...
* exported Github struct fields and ReadDirectory method
* github ee implementation, tests and docs
* build fixes
* Github Enterprise API endpoint based on docs
* addressing PR comments
* code review
* make linter happy
* parseBool() takes fallback
* pr comments
* tweaks to Config{}
2019-06-16 12:48:01 -07:00
Kirill Muratov
51344e86c8
Fixes for govet
2019-03-22 23:05:19 +03:00
Dale Hui
435481bcec
Use strings.NewReader() instead of bytes.NewReader() when source is a string
...
- Group imports
2018-11-05 22:50:08 -08:00
Dale Hui
e2a6017efd
Use v4 for Go module support
2018-10-10 16:16:23 -07:00
Dale Hui
2b1b184f7f
Revert "Remove support for Go modules"
...
This reverts commit 781565f251 .
2018-10-10 16:15:33 -07:00
Dale Hui
781565f251
Remove support for Go modules
2018-10-10 13:34:03 -07:00
Dale Hui
898723524b
Fix module support by opting in to modules
2018-09-14 01:14:42 -07:00
thurt
edce900e6c
add ref (SHA, branch, or tag) to the github migration source
2018-05-04 03:16:12 +00:00
Dale Hui
75bf87f76c
Update imports to reference fork.
...
Thanks `make rewrite-import-paths`!
2018-01-19 10:56:55 -08:00
Matthias Kadenbach
7c9ff0bdac
fix github
...
see https://github.com/google/go-github/commit/23d6cb9cacb5aa314e93d600fe20a48496a718d4
2017-02-22 16:56:14 -08:00
Matthias Kadenbach
f963d999cf
fix github
...
see https://github.com/google/go-github/commit/2a4b92075e5c5e42ee0e55819b70f49b02c1ac64
2017-02-19 15:31:57 -08:00
Matthias Kadenbach
142bedff9f
add code comments for package migrate
2017-02-09 16:59:30 -08:00
Matthias Kadenbach
b3f9ba012e
initial version 3.0.0 preview
...
hard work
2017-02-07 22:01:29 -08:00