Mike Pountney
52a577ea48
Fixes #228 : make ':' gpg files temporary to fix go mod
2019-09-13 21:38:25 -07:00
coryb
b8e73a5cb0
Merge pull request #266 from mbethke/fix-multiline-worklog-comment
...
Fix worklog template for multiline comments
2019-07-05 11:43:48 -07:00
Matthias Bethke
43e07f1197
fix worklog template to allow multiline comments
2019-07-05 09:07:09 +02:00
coryb
957696bed8
Merge pull request #263 from kojustin/master
...
Allow reading password from stdin
2019-06-05 14:24:50 -07:00
Justin Ko
225e1dcc05
Allow reading password from stdin
...
Allow reading password from stdin in `jira login`. This is useful for
combining the jira tool with other command-line utilities.
2019-06-05 14:08:09 -07:00
Cory Bennett
f1390760b4
add CODEOWNERS file
2019-05-28 17:31:23 -07:00
Daniel Martí
31c113d1ba
all: unindent some code
2019-05-28 11:01:51 +01:00
Daniel Martí
9bcdcc128f
don't use ReadAll when decoding JSON
...
An empty stream isn't valid JSON, so we shouldn't silently ignore it.
2019-05-27 13:09:31 +01:00
Daniel Martí
098d963881
README: trim down the content
...
This README is huge; the document shouldn't take more than two or three
screens. If we need more docs, they should be linked to and live
elsewhere.
For now, start by removing unnecessary sections. Gitter has been
completely unused since 2017, so remove it. The table of contents also
takes a lot of vertical space, when we don't want to have that much
content to begin with.
Tips on forking are also unnecessary, since that's the same for all Go
projects. Moreover, this is out of date now that the project is a Go
module.
Remove the help output, as that can be obtained extremely easily by just
running 'jira -h'.
Finally, remove the v0-v1 changes, as v0 was last released over three
years ago. It's extremely unlikely that anyone still has to upgrade from
the older version.
2019-05-27 13:08:36 +01:00
Daniel Martí
9b9186f7d4
start making staticcheck happier
2019-05-27 10:49:15 +01:00
Daniel Martí
f125ef3fa9
all: convert to a Go module
...
And remove vendor/, as it's now unnecessary. go.sum ensures that
dependencies aren't tampered with, and proxy.golang.org keeps copies of
all the archives.
2019-05-26 23:40:16 +01:00
coryb
5cc009af4c
Merge pull request #253 from mvdan/module
...
t: rename to _t to fix module support
2019-05-26 14:41:18 -07:00
Daniel Martí
d237e86cda
t: rename to _t to fix module support
...
The following two files contain characters which aren't valid in source
files within a Go module:
t/.password-store/GoJira/api-token:gojira@corybennett.org.gpg
t/.password-store/GoJira/api-token:mothra@corybennett.org.gpg
The directory only contains test scripts, so it doesn't need to be
included in the module. The simplest way to do that is to start the
directory with an underscore.
Fixes #228 .
2019-05-26 22:34:24 +01:00
Daniel Martí
664c5cad24
CI: test on Go 1.12.x, cleanup
...
We can also use the apt addon to install packages. We also don't need
fast_finish, since we don't use allow_failures anywhere.
Finally, the 'go get' line was pointless, as all dependencies are
vendored, and 'go test' will catch build failures.
2019-05-26 21:34:53 +01:00
Cory Bennett
36c99ce040
make automatic pagination on search optional, fix tests
2019-05-25 17:06:03 -07:00
coryb
58a300422b
Merge pull request #240 from jgraglia/patch-1
...
API Token auth requires "user" config
2019-05-25 15:34:25 -07:00
coryb
eb90676bbc
Merge pull request #219 from kerhac/master
...
docs: update pass documentation with password-name
2019-05-25 15:33:39 -07:00
coryb
d54a549d24
Merge pull request #236 from CodeLingoBot/rewrite
...
Fix function comments based on best practices from Effective Go
2019-05-25 14:12:06 -07:00
Cory Bennett
3d00c294f4
add test for --limit
2019-05-25 14:10:18 -07:00
Cory Bennett
181bd74f1b
prefer defer resp.Body.Close to avoid leaks on subsequent errors
2019-05-25 14:09:48 -07:00
Cory Bennett
f6809e32f4
version bump
2019-05-25 14:09:12 -07:00
Cory Bennett
cbcac1755a
Updated Changelog
2019-05-25 14:09:12 -07:00
coryb
890b9aa724
Merge pull request #245 from justmiles/211
...
add pagination to search (closes #211 )
2019-05-25 14:08:09 -07:00
Miles Maddox
76dd1d8982
add pagination to search
2019-04-21 07:33:17 -05:00
Julien Graglia
271289a3c9
API Token auth requires "user" config
...
API Token authentication requires the `user ` to be defined in the config
2019-03-26 09:49:29 +01:00
Julian Swagemakers
d8189f0a01
docs: update pass documentation with password-name
...
This will update the README.md to include setting the configuration
option password-name when using pass.
2019-03-13 07:48:50 +01:00
CodeLingo Bot
23ac11872b
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io >
2019-02-28 21:20:03 +00:00
coryb
514c1491c7
Merge pull request #220 from ejsuncy/master
...
docs: Fix grammar typos (#1 )
2018-11-29 19:52:02 -08:00
Dan Bunker
9258d4df15
Fix grammar typos ( #1 )
2018-11-29 11:20:55 -07:00
Cory Bennett
ee69afadd0
[ #201 ] update required library, failing to populate cookiejar from cookies file
2018-08-04 14:20:03 -07:00
Cory Bennett
a87bdf4038
version bump
v1.0.19
2018-08-02 23:07:00 -07:00
Cory Bennett
68c2588153
Updated Changelog
2018-08-02 23:07:00 -07:00
Cory Bennett
0cba806942
[ #199 ] [ #198 ] update http client library, fix issues with internal login retries
2018-08-02 23:05:01 -07:00
Cory Bennett
df9dbe65b4
update amp in pom, prevents dumb prompt at jira startup
2018-08-02 23:05:01 -07:00
coryb
492754f059
Merge pull request #197 from kojiromike/spellcheck
...
Fix Spelling
2018-07-30 08:32:49 -07:00
Michael A. Smith
97d8c5f6e0
Fix Spelling
2018-07-30 09:20:04 -04:00
Cory Bennett
1e619ea690
version bump
v1.0.18
2018-07-29 14:56:46 -07:00
Cory Bennett
b7d8a9c324
Updated Changelog
2018-07-29 14:56:46 -07:00
Cory Bennett
8b717de870
Updated Usage
2018-07-29 14:56:46 -07:00
Cory Bennett
f5921077ca
[ #196 ] add jira session command to show session information if user is authenticated
2018-07-29 14:54:21 -07:00
Cory Bennett
c9a4e30606
[ #192 ] fix template usage for 'fixVersions' in transition template
2018-07-29 13:24:19 -07:00
Cory Bennett
ef9b731bac
move HandleExit to the jiracli package
2018-07-28 17:21:18 -07:00
Cory Bennett
62303ed81b
add missing vendored files
2018-07-28 16:55:36 -07:00
Cory Bennett
7191c7751b
they broke golang.org/x/net: ERROR: vendor/golang.org/x/net/proxy/socks5.go:11:2: use of internal package not allowed
2018-07-28 16:41:16 -07:00
Cory Bennett
d16bcc2f51
udpate deps
2018-07-28 16:29:51 -07:00
Cory Bennett
07ba74b34a
udpate for figtree api changes
2018-07-28 15:50:13 -07:00
Cory Bennett
462ef1c485
udpate to use latest dep, update figtree
2018-07-28 15:49:57 -07:00
Cory Bennett
eead13aef1
Merge branch 'pr/171'
2018-05-25 21:52:44 -07:00
Cory Bennett
213a7e04af
[ #171 ] change proposed PasswordPath to PasswordName
2018-05-25 21:50:28 -07:00
Cory Bennett
49e44670d9
fix usage generation after #178
2018-05-24 00:23:29 -07:00