Mike Pountney
3984d0d484
Fixes #228 : make ':' gpg files temporary to fix go mod
2019-10-01 21:29:45 -07:00
Matthias Bethke
0037a21a95
fix worklog template to allow multiline comments
2019-10-01 21:29:45 -07:00
Justin Ko
b99dfbfbf6
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-10-01 21:29:45 -07:00
Cory Bennett
8e4245e5bb
add CODEOWNERS file
2019-10-01 21:29:45 -07:00
Daniel Martí
bb9790f287
all: unindent some code
2019-10-01 21:29:45 -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
Daniel Martí
dc9a9de165
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-10-01 21:29:45 -07:00
Daniel Martí
30998cbb18
start making staticcheck happier
2019-10-01 21:29:45 -07:00
Daniel Martí
89fe2ecf16
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-10-01 21:29:45 -07:00
Daniel Martí
8994b42f71
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-10-01 21:29:45 -07:00
Daniel Martí
80743e4da8
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-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
Julien Graglia
bca064be1f
API Token auth requires "user" config
...
API Token authentication requires the `user ` to be defined in the config
2019-10-01 21:29:45 -07:00
Julian Swagemakers
48c15e2daa
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-10-01 21:29:45 -07:00
CodeLingo Bot
3cf2e56e1f
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io >
2019-10-01 21:29:45 -07:00
Cory Bennett
c270f20d21
add test for --limit
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
Cory Bennett
954a97eca3
version bump
2019-10-01 21:29:45 -07:00
Cory Bennett
dd6901b2cd
Updated Changelog
2019-10-01 21:29:45 -07:00
Miles Maddox
9186205b9e
add pagination to search
2019-10-01 21:29:45 -07:00
David Arena
410df68354
Returning upstream
2019-02-05 17:21:51 +01:00
David Arena
aaa72012a7
Adding ProjectVersion
2019-02-04 18:36:11 +01: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
Cory Bennett
5503e53168
Updated Changelog
2018-05-24 00:23:15 -07:00
Cory Bennett
9ebd2cd64e
fix IsTerminal usage for windows
2018-05-24 00:23:15 -07:00
Cory Bennett
84b6155b0d
version bump
2018-05-24 00:23:15 -07:00
Cory Bennett
c23ad75957
Updated Changelog
2018-05-24 00:23:15 -07:00
coryb
3c478004d2
Merge pull request #178 from vergenzt/patch-1
...
Move usage info higher up in readme
2018-05-24 00:22:51 -07:00