Commit Graph

10 Commits

Author SHA1 Message Date
Mike Pountney ba7cc13145 Switch over to using github.com/go-jira/jira, from gopkg.in
There should be no reason to use gopkg.in versioned imports now that
we're using go modules. I think, IANAE.

gopkg.in kind of gets in the way of modules, as it only pulls over
tagged releases from github.com -- this then means that you need to use
go modules 'replace' syntax in the go.mod to use a non-versioned commit
or branch. This is feasible, but kind of ugly.

go modules defaults to pulling the latest version, so the default
behavior is the same as when pulling go-jira.v1 from gopkg.in.
2019-10-01 21:29:46 -07:00
Daniel Martí 17003717d9 don't use ReadAll when decoding JSON
An empty stream isn't valid JSON, so we shouldn't silently ignore it.
2019-10-01 21:29:45 -07:00
Cory Bennett 9f46c8499d make automatic pagination on search optional, fix tests 2019-10-01 21:29:45 -07:00
Cory Bennett a6bf26052c prefer defer resp.Body.Close to avoid leaks on subsequent errors 2019-10-01 21:29:45 -07:00
Miles Maddox 9186205b9e add pagination to search 2019-10-01 21:29:45 -07:00
Cory Bennett 9146346e2f [#163] fix url path join logic 2018-04-15 16:56:09 -07:00
Cory Bennett 00cba793ad tweaks for templates in named queries to work better 2017-09-13 12:17:59 -07:00
Cory Bennett 5da04c1f86 [#98] add --status option for JQL filter on status with list command 2017-09-13 00:12:20 -07:00
Cory Bennett 1f345cedee refactor trivial objects in favor of arguments to static functions 2017-08-27 00:47:11 -07:00
Cory Bennett 36632a52f0 rewrite checkpoint 2017-08-13 18:23:38 -07:00