Commit Graph

251 Commits

Author SHA1 Message Date
Cory Bennett 7bbd571078 use optigo for option parsing, drop docopt 2015-09-13 17:00:03 -07:00
Cory Bennett ea67a77863 allow "abort: true" to be set while editing to cancel the edit operation 2015-09-11 23:47:09 -07:00
Cory Bennett 99f62a9e99 gofmt 2015-09-11 22:13:23 -07:00
Cory Bennett 85f617c13c tweak changelog generation 2015-09-11 22:13:12 -07:00
Cory Bennett 0a4d6aece8 fix missing arg of Sprintf 2015-09-11 22:12:38 -07:00
Cory Bennett e69b65cd7d if no changes are made on edit templates then abort edit 2015-09-11 22:04:02 -07:00
Cory Bennett 0ede380834 updated for 0.0.8 2015-09-11 21:18:27 -07:00
Cory Bennett faf0793312 bump version 2015-07-31 11:12:24 -07:00
Cory Bennett eeb63441dc update for max_results option 2015-07-31 11:11:36 -07:00
coryb 8d3a6ddd80 Merge pull request #11 from mikepea/max_results_option
Add --max_results option for 'ls'
2015-07-31 10:37:04 -07:00
Mike Pountney e06ff0cc54 Add --max_results option for 'ls'
This closes #10

Shifts the hardcoded maxResults value for the cmdList json body
into a 'max_results' option.

Note that testing against our JIRA instance, in a project with
more than 1000 open issues, suggests that the JIRA has an internal
limit of 1000 results in a single query.
2015-07-31 17:38:45 +01:00
Cory Bennett cfd09c306b update Changelog 2015-07-01 10:22:06 -07:00
Cory Bennett 6374897b58 fix the "all" build 2015-07-01 10:20:48 -07:00
Cory Bennett 4f45159dbf add cross-compile setup task 2015-07-01 09:13:03 -07:00
Cory Bennett c3d62c0fa1 udpate version 2015-07-01 09:12:40 -07:00
Cory Bennett b9e5564dff Merge branch 'master' of github.com:Netflix-Skunkworks/go-jira 2015-07-01 08:50:40 -07:00
coryb e8631c6b6d Merge pull request #9 from nelfin/quickfix/take-user
fix "take" command not honouring user option
2015-06-30 23:29:09 -07:00
Andrew Haigh 8f1d2b9f76 fix "take" command not honouring user option
"take" was simply a partial on "assign", but accidentally used the value
of $USER from the environment rather than `opts["user"]`, preventing the
user from overriding this value in config.yml or as a command-line
argument.
2015-07-01 16:21:26 +10:00
Cory Bennett 06f57fea5b fix typo 2015-03-02 14:54:24 -08:00
Cory Bennett 39b14b7ff1 strip binaries when building "all" 2015-03-02 14:34:38 -08:00
Cory Bennett 2d2e5e26d0 updating 2015-02-27 17:52:07 -08:00
Cory Bennett 7b2122742b bump version 2015-02-27 17:50:08 -08:00
Cory Bennett 701f091668 allow --sort= to disable sort override 2015-02-24 17:49:21 -08:00
Cory Bennett 82fd9b9ef3 fix default JIRA_OPERATION env variable 2015-02-24 17:48:59 -08:00
Cory Bennett ebf170085c automatically close duplicate issues with "Duplicate" resolution 2015-02-23 12:09:40 -08:00
Cory Bennett 050848adea set JIRA_OPERATION to "view" when no operation used (ie: jira GOJIRA-123) 2015-02-23 12:08:54 -08:00
Cory Bennett f35903005c add --sort option to "list" command 2015-02-23 12:08:33 -08:00
Cory Bennett 9531f3fef1 adding changlog 2015-02-21 23:36:42 -08:00
Cory Bennett 093a58de12 bump version 2015-02-21 23:27:53 -08:00
Cory Bennett ec221cb41a fix typo 2015-02-21 21:35:31 -08:00
Cory Bennett f4b5428a37 update README.md 2015-02-21 21:32:42 -08:00
Cory Bennett 7186fb3e3e handle editor having arguments 2015-02-21 21:15:02 -08:00
Cory Bennett 3e6f2b396b add more template error handling 2015-02-20 15:03:40 -08:00
Cory Bennett d9e4db2f7a gofmt 2015-02-20 14:39:01 -08:00
Cory Bennett e59cd45c2d gofmt 2015-02-20 14:37:55 -08:00
Cory Bennett 4db2e4e8b4 allow create template to specify defalt watchers with -o watchers=... 2015-02-20 14:29:33 -08:00
Cory Bennett affd313cf7 update README.md 2015-02-20 14:29:19 -08:00
Cory Bennett 7a2f7f5726 if config files are executable then run them and parse the output 2015-02-20 13:37:24 -08:00
Cory Bennett c7f1133500 update usage 2015-02-19 18:03:33 -08:00
Cory Bennett 1d76e8f289 bump version 2015-02-19 13:09:32 -08:00
Cory Bennett 343fbb6e56 add --template option to export-templates to export a single template 2015-02-19 13:07:46 -08:00
Cory Bennett 63a1fd9c60 update for table template 2015-02-19 12:38:12 -08:00
Cory Bennett 8954ec1cfa add "table" template to be used with "list" command 2015-02-19 12:36:51 -08:00
Cory Bennett 21d3c884bc prevent line wrapping 2015-02-19 11:17:33 -08:00
Cory Bennett d5330fd78e bump version 2015-02-19 10:31:20 -08:00
Cory Bennett 2dcf665d38 [issue #8] detect X-Seraph-Loginreason: AUTHENTICATION_DENIED header to catch login failures 2015-02-19 10:05:51 -08:00
coryb 4c2d77ccca Merge pull request #7 from jaybuff/empty-projects
validate project
2015-02-18 21:06:55 -08:00
Jay Buffington 1b69d126c0 project should always be uppercase
Jira docs say as much:
https://confluence.atlassian.com/display/JIRA/Changing+the+Project+Key+Format#ChangingtheProjectKeyFormat-prerequisites
2015-02-18 19:26:36 -08:00
Jay Buffington 4924dfaab3 if response is 400, check json for errorMessages and log them 2015-02-18 17:39:37 -08:00
Jay Buffington dc5ae42c58 validate project 2015-02-18 17:32:56 -08:00