Commit Graph

261 Commits

Author SHA1 Message Date
Cory Bennett 8f44cc5de7 update usage 2015-09-15 22:55:19 -07:00
Cory Bennett a989198630 Updated Changelog 0.0.9 2015-09-15 20:34:19 -07:00
Cory Bennett 7f85842df3 * use forked yaml.v2 so as to not lose line terminations present in jira fields
* adding a |~ literal yaml syntax to just chomp a single newline (again to preserve
existing formatting in jira fields)
* for indent/comment allow for unicode line termination characters that yaml will use for parsing
2015-09-15 19:31:38 -07:00
Cory Bennett f1921454d6 fix "edit" default option, change how defaults are dealt with for filters 2015-09-14 12:31:53 -07:00
Cory Bennett d7f6638f2a for edit template add issue id as comment, also add "comments" as comment
so you can review the comment details while editing
2015-09-14 12:30:26 -07:00
Cory Bennett ae285b5a55 add "comment" template filter to comment out multiline statements 2015-09-14 12:29:30 -07:00
Cory Bennett 5d8dc9f9d8 add getOpt wrappers to get options with defaults 2015-09-14 12:29:05 -07:00
Cory Bennett ade9f5f1f5 make --dryrun work
refactor config/option loading so command options override settings in config files
allow query options to be used on the "edit" command to iterate editing
2015-09-14 00:14:13 -07:00
Cory Bennett a990fdf7bb move remove duplication for defaults 2015-09-13 17:31:28 -07:00
Cory Bennett 0f217cefb5 adding "clean" target 2015-09-13 17:13:55 -07:00
Cory Bennett 38b3e90198 use optigo for option parsing, drop docopt 2015-09-13 17:00:03 -07:00
Cory Bennett 80b6f5a198 allow "abort: true" to be set while editing to cancel the edit operation 2015-09-11 23:47:09 -07:00
Cory Bennett 794654dcd7 gofmt 2015-09-11 22:13:23 -07:00
Cory Bennett a36bf387fa tweak changelog generation 2015-09-11 22:13:12 -07:00
Cory Bennett b134e7c6f7 fix missing arg of Sprintf 2015-09-11 22:12:38 -07:00
Cory Bennett b8889c656d if no changes are made on edit templates then abort edit 2015-09-11 22:04:02 -07:00
Cory Bennett 8949c12354 updated for 0.0.8 2015-09-11 21:18:27 -07:00
Cory Bennett 880b45c90b bump version 0.0.8 2015-07-31 11:12:24 -07:00
Cory Bennett 6c508f9ce1 update for max_results option 2015-07-31 11:11:36 -07:00
coryb cf14b5af97 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 43a2753451 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 66596f3aa5 update Changelog 0.0.7 2015-07-01 10:22:06 -07:00
Cory Bennett 3a68ccdd3f fix the "all" build 2015-07-01 10:20:48 -07:00
Cory Bennett 91c57d496c add cross-compile setup task 2015-07-01 09:13:03 -07:00
Cory Bennett 87ab7291e1 udpate version 2015-07-01 09:12:40 -07:00
Cory Bennett b72040bfd4 Merge branch 'master' of github.com:Netflix-Skunkworks/go-jira 2015-07-01 08:50:40 -07:00
coryb 2dcc840a06 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 10c4aef671 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 b5643e545b fix typo 2015-03-02 14:54:24 -08:00
Cory Bennett fc00743095 strip binaries when building "all" 2015-03-02 14:34:38 -08:00
Cory Bennett 6a3e2aa4d4 updating 2015-02-27 17:52:07 -08:00
Cory Bennett abc3953448 bump version 0.0.6 2015-02-27 17:50:08 -08:00
Cory Bennett 52eb7f4ed7 allow --sort= to disable sort override 2015-02-24 17:49:21 -08:00
Cory Bennett a5c7a133c0 fix default JIRA_OPERATION env variable 2015-02-24 17:48:59 -08:00
Cory Bennett f42d0b6366 automatically close duplicate issues with "Duplicate" resolution 2015-02-23 12:09:40 -08:00
Cory Bennett 8040746bcf set JIRA_OPERATION to "view" when no operation used (ie: jira GOJIRA-123) 2015-02-23 12:08:54 -08:00
Cory Bennett 90a8ee7c33 add --sort option to "list" command 2015-02-23 12:08:33 -08:00
Cory Bennett 74ae039c37 adding changlog 0.0.5 2015-02-21 23:36:42 -08:00
Cory Bennett 20a16e2d0c bump version 2015-02-21 23:27:53 -08:00
Cory Bennett 4c23867836 fix typo 2015-02-21 21:35:31 -08:00
Cory Bennett b2edc436bc update README.md 2015-02-21 21:32:42 -08:00
Cory Bennett cc5878fabc handle editor having arguments 2015-02-21 21:15:02 -08:00
Cory Bennett 60f07bcdd6 add more template error handling 2015-02-20 15:03:40 -08:00
Cory Bennett 400b53acc8 gofmt 2015-02-20 14:39:01 -08:00
Cory Bennett 18cfbb337e gofmt 2015-02-20 14:37:55 -08:00
Cory Bennett 923b7f6cc7 allow create template to specify defalt watchers with -o watchers=... 2015-02-20 14:29:33 -08:00
Cory Bennett f0f620f739 update README.md 2015-02-20 14:29:19 -08:00
Cory Bennett 71f4a8012d if config files are executable then run them and parse the output 2015-02-20 13:37:24 -08:00
Cory Bennett 4532f75db3 update usage 2015-02-19 18:03:33 -08:00
Cory Bennett f95aa3d261 bump version 0.0.4 2015-02-19 13:09:32 -08:00