6543
|
7e8cdba181
|
[Refactor] move APIFormat() of Issue and Label to convert package (#10423)
* Label: delete .APIFormat() and use convert.ToLabel()
* move issue APIFormat too
* add missing one
* move TEST too
* handle error -> return empty APIIssue
* Apply suggestions from code review
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
|
2020-02-28 23:49:50 -03:00 |
|
6543
|
8d43563a32
|
[BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo exist (#10029)
* only try to get HeadBranch if HeadRepo exist
* impruve
* no nil error
* add TEST
* correct error msg
|
2020-01-31 16:13:51 -05:00 |
|
Lunny Xiao
|
2677d071f9
|
Move newbranch to standalone package (#9627)
* Move newbranch to standalone package
* move branch functions to modules to avoid dependencies cycles
* fix tests
* fix lint
* fix lint
|
2020-01-14 11:38:04 +08:00 |
|
Lunny Xiao
|
384c2b342e
|
Move pull request api convert to convert package (#9664)
* Move pull request api convert to convert package
* Rename ToPullRequest to ToAPIPullRequest
|
2020-01-10 15:53:53 +08:00 |
|