Commit Graph

711 Commits

Author SHA1 Message Date
Thorben Klyn 338da6af7f changed module name 2020-01-16 09:03:15 +01:00
Thorben ac02984956 Update go.mod 2020-01-16 08:56:30 +01:00
Thorben e466a47f27 changed config dir
Changed config dir to use `.config/jira` instead of `.jira.d`
2020-01-16 08:53:37 +01:00
Mike Pountney 57e1c7426e Merge pull request #302 from go-jira/simplify-template-tables
add template functions to handle table output, fixes #176, replaces #296
2019-12-02 18:19:10 -08:00
Cory Bennett 7e9746304a add template functions to handle table output, fixes #176, replaces #296 2019-12-02 14:43:07 -08:00
coryb 7cd34d3698 Merge pull request #292 from pdecat/cache_password
Cache password to avoid invoking password source on each API request with api-token
2019-12-01 20:58:02 -08:00
coryb f5871c5a58 Merge branch 'master' into cache_password 2019-12-01 20:41:49 -08:00
Cory Bennett 01bdea9778 Merge branch 'patrickpichler-make-password-source-binary-exchangeable' 2019-12-01 20:30:11 -08:00
Cory Bennett d6173ce77d use password-source-path to allow overriding binary and/or path to binary 2019-12-01 20:27:00 -08:00
Cory Bennett e26fbfcb14 Merge branch 'make-password-source-binary-exchangeable' of https://github.com/patrickpichler/jira into patrickpichler-make-password-source-binary-exchangeable 2019-12-01 20:16:40 -08:00
coryb b590005aac Merge pull request #301 from go-jira/allow-issue-ints
allow issues on command line to automatically prefix with project when defined
2019-12-01 17:27:59 -08:00
Cory Bennett d002d7fe74 allow issues on command line to automatically prefix with project when defined 2019-12-01 16:29:35 -08:00
colton riffel 789886c68e Forgot you use TAB instead of spaces 2019-12-01 16:21:52 -08:00
colton riffel 8a462152ea Fixed append project to view 2019-12-01 16:21:52 -08:00
colton riffel 9cbd9937be Added a line break removal function 2019-12-01 16:21:52 -08:00
colton riffel db53622548 Pushed Readfile to .jira.d directory instead of pwd 2019-12-01 16:21:52 -08:00
Patrick Decat 0f059a5ed1 Cache password to avoid invoking password source on each API request 2019-11-02 09:46:50 +01:00
Patrick Pichler 659a5c8e74 Add support to switch out password source binary
There is now a new configuration entry option `password-source-binary`,
which allows to use an alternate binary for the gopass/pass password
source.

If the option is not specified, we will fallback to `pass` (for `pass`)
and `gopass` (for `gopass`).
2019-10-21 10:49:38 +02:00
coryb 590244947b Merge pull request #286 from patrickpichler/add-gopass-instructions-to-readme
Add gopass section to README.md
2019-10-04 08:52:05 -07:00
Patrick Pichler 6e87b646ff Add gopass section to README.md 2019-10-04 10:06:02 +02:00
Mike Pountney b045cd74c2 Merge pull request #285 from patrickpichler/add-gopass-support
Add gopass as password source support
2019-10-03 17:04:31 -07:00
Patrick Pichler 3339303e89 Add error handling to pass password-source 2019-10-03 13:43:56 +02:00
Patrick Pichler 3c0a62e74f Add gopass support 2019-10-03 13:24:32 +02:00
coryb 967602392f fix travis build badge 2019-10-02 11:00:02 -07:00
coryb 568f0be821 Merge pull request #283 from go-jira/sprig
add sprig template functions, replaces [#215]
2019-10-02 10:53:09 -07:00
Cory Bennett 719f7a68a7 add sprig template functions, replaces [#215]
http://masterminds.github.io/sprig/
2019-10-02 08:24:04 -07:00
Cory Bennett 979910f8dd Merge branch 'arenstar-feature/projectversion' 2019-10-01 23:50:19 -07:00
Cory Bennett 90f01ce60a [#232] fix api to use common Version schema
also rewrote the schema fetcher to use Go
2019-10-01 23:40:33 -07:00
Cory Bennett 2c9d957304 version bump 2019-10-01 21:33:10 -07:00
Cory Bennett 4445255914 Updated Changelog 2019-10-01 21:33:10 -07:00
Cory Bennett a13b046fad fix syntax 2019-10-01 21:33:10 -07:00
Adriano 997b6e1f24 Add 'pctOf' and 'fit' template functions 2019-10-01 21:33:10 -07:00
Patrick Cockwell 8ede63c37e Address comments for direct name match 2019-10-01 21:33:10 -07:00
Patrick Cockwell 62ccffaf05 Choose exact transition match if available 2019-10-01 21:33:10 -07:00
Mike Pountney 2062dffc60 fix _t/test_binaries.sh to work on Linux + MacOS 2019-10-01 21:33:10 -07:00
Mike Pountney 435747f152 Ensure travis makes and tests binaries 2019-10-01 21:33:10 -07:00
Mike Pountney d343852592 Update from xgo to gox; add basic test for binaries 2019-10-01 21:33:10 -07:00
Mike Pountney 22c72f2351 version bump 2019-10-01 21:33:10 -07:00
Mike Pountney a057957086 Updated Changelog 2019-10-01 21:33:10 -07:00
Mike Pountney 3333859bf0 Updated Changelog 2019-10-01 21:33:10 -07:00
Cory Bennett 8b56ee9fb9 update to more actively supported xgo for module support 2019-10-01 21:33:10 -07:00
Mike Pountney a467a5c5e5 Add 1.13.x build test to travis 2019-10-01 21:33:10 -07:00
Cory Bennett 0d7d4dc4b8 [#277] update figtree to latest 2019-10-01 21:33:10 -07:00
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
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