| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Fixes #402.
|
|\
| |
| | |
repo: more tests
|
|/ |
|
|\
| |
| | |
Repository rework
|
|/
|
|
|
|
|
|
|
| |
- allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code.
- generalize the memory-only and persisted Lamport clocks behind a common interface
- rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily
- test previously untested components with those new tests
Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
|
|\
| |
| | |
Add formatting options to the 'show' and 'user ls' commands
|
| | |
|
| |
| |
| |
| | |
This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This fixes some bugs experienced when using the new formatting options:
- org-mode indents not working properly
- print statements missing contents
|
| | |
|
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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
|
|\
| |
| | |
[ls] add support for different output formats
|
| |
| |
| |
| | |
This prints all the bugs in a JSON array instead of one by one.
|
| |
| |
| |
| | |
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'.
|
|\ \
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
|/| |
doc: fix typos
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
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>
|
| |
|
|\
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
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>
|
|\
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/ |
|
|\
| |
| | |
Include FreeBSD package section.
|
| | |
|
|/ |
|
|\
| |
| | |
DOC: README.md: is/are
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \ |
|
| | |/
| |/| |
|
|/ / |
|
|\ \
| | |
| | | |
Update README.md
|
|/ /
| |
| | |
Display Homebrew option to install git-bug on macOS.
|
|\ \
| |/
|/| |
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
|
|\
| |
| | |
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.
|
|\
| |
| |
| |
| | |
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
|