Michael Muré
2dd0dbb134
Merge pull request #410 from MichaelMure/output-formatting-2
...
Add formatting options to the 'show' and 'user ls' commands
2020-06-26 01:02:27 +02:00
Michael Muré
c326007d01
fix cache not rebuilding properly
2020-06-26 00:58:38 +02:00
Michael Muré
aab3a04d0c
bug: harmonize how time are used, fix some issues in command special formats
...
This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
2020-06-25 23:18:17 +02:00
Michael Muré
1d06244c82
cmds: cleanup and re-generate files
2020-06-24 15:10:57 +02:00
vince
ebd1030cde
Fix bugs
...
This fixes some bugs experienced when using the new formatting options:
- org-mode indents not working properly
- print statements missing contents
2020-06-24 14:34:36 +08:00
vince
8eb004b405
Clean up code and fix suggestions
2020-06-24 10:22:32 +08:00
vince
fc3f6540b8
Add org-mode formatting option
...
This adds an option to the formatting flag on the ls, show and user ls commands that allows the user to specify the format of the output in org-mode. This will be useful for emacs users to read it in the editor.
2020-06-23 17:51:42 +08:00
vince
cd8352edde
Add output formatting support to the 'show' and 'user ls' commands
...
This adds options to specify an output format for the commands in question. Supported formats are currently:
- 'plain': plaintext, stripped of all colors
- 'json': prints output as a json object
2020-06-21 13:51:48 +08:00
Vincent Tiu
f790083fb2
Merge pull request #403 from MichaelMure/ls-dump
...
[ls] add support for different output formats
2020-06-18 20:37:00 +08:00
vince
87eeba413d
Print JSON as a well-formed object
...
This prints all the bugs in a JSON array instead of one by one.
2020-06-18 20:12:26 +08:00
Michael Muré
7aed987040
Merge pull request #405 from MichaelMure/dependabot/go_modules/golang.org/x/text-0.3.3
...
build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3
2020-06-17 17:39:17 +02:00
Michael Muré
36b45c7e42
Merge pull request #404 from tbm/typos
...
doc: fix typos
2020-06-17 17:30:04 +02:00
dependabot-preview[bot]
c536b8e85e
build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 04:59:13 +00:00
Martin Michlmayr
ff0ff86336
doc: fix typos
2020-06-16 21:32:03 +08:00
vince
de5565b5f9
ls: Add support to ls dump bug information in specific formats
...
This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'.
2020-06-16 15:05:48 +02:00
Michael Muré
6352d6aa23
generate docs and completion concurrently for a faster "make"
2020-06-14 22:26:47 +02:00
Michael Muré
78f39c4077
CLI: enable Fish completion
2020-06-14 19:46:24 +02:00
Michael Muré
6fd7934f53
update cobra
2020-06-14 19:43:58 +02:00
Michael Muré
4f15c87b4d
Merge pull request #401 from MichaelMure/dependabot/npm_and_yarn/webui/minimist-1.2.5
...
build(deps): [security] bump minimist from 1.2.0 to 1.2.5 in /webui
2020-06-14 18:47:21 +02:00
dependabot-preview[bot]
882f6890c1
build(deps): [security] bump minimist from 1.2.0 to 1.2.5 in /webui
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.0 to 1.2.5. **This update includes security fixes.**
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 16:43:36 +00:00
Michael Muré
c9e4a356a9
webui: update some deps
2020-06-14 18:39:58 +02:00
Michael Muré
bdab0d6b67
Merge pull request #398 from MichaelMure/dependabot/go_modules/github.com/go-errors/errors-1.1.1
...
build(deps): bump github.com/go-errors/errors from 1.0.2 to 1.1.1
2020-06-14 18:27:10 +02:00
dependabot-preview[bot]
522503c523
build(deps): bump github.com/go-errors/errors from 1.0.2 to 1.1.1
...
Bumps [github.com/go-errors/errors](https://github.com/go-errors/errors ) from 1.0.2 to 1.1.1.
- [Release notes](https://github.com/go-errors/errors/releases )
- [Commits](https://github.com/go-errors/errors/compare/v1.0.2...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 16:12:07 +00:00
Michael Muré
76189f05c7
Merge pull request #400 from MichaelMure/dependabot/go_modules/github.com/stretchr/testify-1.6.1
...
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1
2020-06-14 18:09:06 +02:00
Michael Muré
9a00ffb72e
bug: make sure to disable label color escape when not on a terminal
2020-06-14 18:06:42 +02:00
dependabot-preview[bot]
1f66bb6de8
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 04:58:41 +00:00
Michael Muré
5029cc1e76
Merge pull request #388 from bsdlcook/freebsd-port
...
Include FreeBSD package section.
2020-05-15 22:43:54 +02:00
Lewis Cook
2926310033
Fix intendation for FreeBSD package/port section.
2020-05-15 21:33:18 +01:00
Lewis Cook
76b55c6168
Add FreeBSD package/port section.
2020-05-15 21:28:37 +01:00
Michael Muré
966edfc232
Merge pull request #382 from westurner/patch-2
...
DOC: README.md: is/are
2020-05-01 00:37:58 +02:00
Michael Muré
f9452e3816
Merge pull request #375 from MichaelMure/dependabot/go_modules/github.com/go-errors/errors-1.0.2
...
build(deps): bump github.com/go-errors/errors from 1.0.1 to 1.0.2
2020-05-01 00:37:38 +02:00
Michael Muré
e49b15db3a
Merge branch 'patch-1'
2020-05-01 00:36:13 +02:00
Wes Turner
25d633d5b0
DOC: commands/root.go: syntax
2020-05-01 00:36:01 +02:00
Michael Muré
fb31f80120
identity: actually test the mutator
2020-05-01 00:35:00 +02:00
Wes Turner
fe6e3ef48d
DOC: README.md: is/are
2020-04-30 16:25:41 -04:00
Michael Muré
0434d9203a
Merge pull request #380 from ogirginc/master
...
Update README.md
2020-04-24 23:46:44 +02:00
Ogulcan Girginc
ce8802be6b
Update README.md
...
Display Homebrew option to install git-bug on macOS.
2020-04-23 17:01:13 +03:00
Michael Muré
4242150173
Merge pull request #378 from vojta001/master
...
termui: fix a crash when trying to open a bug when there are none
2020-04-16 22:06:09 +02:00
Vojtěch Káně
8a81b9fec7
termui: fix a crash when trying to open a bug when there are none
...
Nothing prevented you from pressing Enter in bug listing even when there
were no open bugs. Doing so resulted in:
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/MichaelMure/git-bug/termui.(*bugTable).openBug(0xc00007aa80, 0xc000354000, 0xc00036c120, 0x2, 0x2)
/build/source/termui/bug_table.go:440 +0x17f
github.com/awesome-gocui/gocui.(*Gui).execKeybinding(0xc000354000, 0xc00036c120, 0xc0003102a0, 0xc00007a001, 0xc000225b2c, 0xc000000180)
/build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:808 +0x65
github.com/awesome-gocui/gocui.(*Gui).execKeybindings(0xc000354000, 0xc00036c120, 0xc000225b38, 0x3, 0x4, 0x3)
/build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:787 +0xed
github.com/awesome-gocui/gocui.(*Gui).onKey(0xc000354000, 0xc000225b38, 0x2, 0x0)
/build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:745 +0x164
github.com/awesome-gocui/gocui.(*Gui).handleEvent(...)
/build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:506
github.com/awesome-gocui/gocui.(*Gui).MainLoop(0xc000354000, 0x0, 0x0)
/build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:466 +0x202
github.com/MichaelMure/git-bug/termui.initGui(0x0)
/build/source/termui/termui.go:113 +0x12c
github.com/MichaelMure/git-bug/termui.Run(0xc000228000, 0xc000078b30, 0x0)
/build/source/termui/termui.go:66 +0x185
github.com/MichaelMure/git-bug/commands.runTermUI(0x1211bc0, 0x12478e0, 0x0, 0x0, 0x0, 0x0)
/build/source/commands/termui.go:18 +0xd5
github.com/spf13/cobra.(*Command).execute(0x1211bc0, 0x12478e0, 0x0, 0x0, 0x1211bc0, 0x12478e0)
/build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:840 +0x453
github.com/spf13/cobra.(*Command).ExecuteC(0x1210960, 0x0, 0x0, 0x0)
/build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x317
github.com/spf13/cobra.(*Command).Execute(...)
/build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885
github.com/MichaelMure/git-bug/commands.Execute()
/build/source/commands/root.go:54 +0x2d
main.main()
/build/source/git-bug.go:14 +0x20
2020-04-16 18:59:42 +02:00
dependabot-preview[bot]
308810c827
build(deps): bump github.com/go-errors/errors from 1.0.1 to 1.0.2
...
Bumps [github.com/go-errors/errors](https://github.com/go-errors/errors ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/go-errors/errors/releases )
- [Commits](https://github.com/go-errors/errors/compare/v1.0.1...v1.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 05:03:55 +00:00
Michael Muré
d3fc94a650
Merge pull request #371 from mindriot101/config-reads-includes
...
Supports git config includes
2020-04-12 19:40:54 +02:00
Simon Walker
e062d9aedf
Supports git config includes
...
I like to have "private" settings in a git include file, and store the
main .gitconfig under version control. I do not want any authentication
keys or tokens (even if encrypted) in version control, so I have by main
.gitconfig include another file which is local and not tracked.
The current implementation calls `git config --global --get-regexp
<keyPrefix>` and for some reason, this command does not follow git
include files.
The changes suggested in this PR add the `--includes` flag to the
command, which then reads any included files.
2020-04-11 23:49:01 +01:00
Michael Muré
28c3ee3b71
Merge pull request #364 from MichaelMure/dependabot/go_modules/github.com/spf13/cobra-0.0.7
...
build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7
2020-04-10 12:04:56 +02:00
Michael Muré
a8aecec6ee
readme: better phrasing
2020-04-04 18:15:54 +02:00
Michael Muré
e43920bc87
readme: fix image links
2020-04-04 14:09:27 +02:00
Michael Muré
685a4fdc0c
readme: document workflows
2020-04-04 14:05:53 +02:00
Michael Muré
2d64b85db7
Merge pull request #363 from MichaelMure/gitlab-iterator
...
gitlab: refactor the iterator, fix bug
2020-04-04 12:48:24 +02:00
Michael Muré
903549cadf
gitlab: fix iterator (paginate with first index 1) and avoid the trailing API call
2020-04-04 12:42:08 +02:00
dependabot-preview[bot]
53038648a5
build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 05:06:13 +00:00
Michael Muré
f4ca533fe1
gitlab: refactor the iterator, fix bugs
...
Notably, properly reset sub iterators when changing to the next issue
2020-03-28 21:23:18 +01:00