aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #411 from MichaelMure/repo-reworkMichael Muré2020-06-2639-511/+563
|\ | | | | Repository rework
| * repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-2639-511/+563
|/ | | | | | | | | - 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.
* Merge pull request #410 from MichaelMure/output-formatting-2Michael Muré2020-06-2625-147/+457
|\ | | | | Add formatting options to the 'show' and 'user ls' commands
| * fix cache not rebuilding properlyMichael Muré2020-06-261-20/+3
| |
| * bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-2516-128/+142
| | | | | | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
| * cmds: cleanup and re-generate filesMichael Muré2020-06-2412-236/+104
| |
| * Fix bugsvince2020-06-242-9/+11
| | | | | | | | | | | | This fixes some bugs experienced when using the new formatting options: - org-mode indents not working properly - print statements missing contents
| * Clean up code and fix suggestionsvince2020-06-243-83/+110
| |
| * Add org-mode formatting optionvince2020-06-233-8/+187
| | | | | | | | 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.
| * Add output formatting support to the 'show' and 'user ls' commandsvince2020-06-213-27/+264
|/ | | | | | 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
* Merge pull request #403 from MichaelMure/ls-dumpVincent Tiu2020-06-186-6/+136
|\ | | | | [ls] add support for different output formats
| * Print JSON as a well-formed objectvince2020-06-181-4/+6
| | | | | | | | This prints all the bugs in a JSON array instead of one by one.
| * ls: Add support to ls dump bug information in specific formatsvince2020-06-166-6/+134
| | | | | | | | 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'.
* | Merge pull request #405 from ↵Michael Muré2020-06-172-1/+3
|\ \ | | | | | | | | | | | | 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
| * | build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3dependabot-preview[bot]2020-06-172-1/+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>
* | Merge pull request #404 from tbm/typosMichael Muré2020-06-177-18/+18
|\ \ | |/ |/| doc: fix typos
| * doc: fix typosMartin Michlmayr2020-06-167-18/+18
|/
* generate docs and completion concurrently for a faster "make"Michael Muré2020-06-149-184/+146
|
* CLI: enable Fish completionMichael Muré2020-06-144-0/+164
|
* update cobraMichael Muré2020-06-143-1/+69
|
* Merge pull request #401 from ↵Michael Muré2020-06-141-86/+11
|\ | | | | | | | | 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
| * build(deps): [security] bump minimist from 1.2.0 to 1.2.5 in /webuidependabot-preview[bot]2020-06-141-86/+11
|/ | | | | | | 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>
* webui: update some depsMichael Muré2020-06-142-3446/+6445
|
* Merge pull request #398 from ↵Michael Muré2020-06-142-1/+3
|\ | | | | | | | | 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
| * build(deps): bump github.com/go-errors/errors from 1.0.2 to 1.1.1dependabot-preview[bot]2020-06-142-1/+3
|/ | | | | | | 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>
* Merge pull request #400 from ↵Michael Muré2020-06-142-1/+6
|\ | | | | | | | | 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
| * build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1dependabot-preview[bot]2020-06-082-1/+6
| | | | | | | | | | | | | | 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>
* | bug: make sure to disable label color escape when not on a terminalMichael Muré2020-06-141-44/+50
|/
* Merge pull request #388 from bsdlcook/freebsd-portMichael Muré2020-05-151-0/+14
|\ | | | | Include FreeBSD package section.
| * Fix intendation for FreeBSD package/port section.Lewis Cook2020-05-151-1/+1
| |
| * Add FreeBSD package/port section.Lewis Cook2020-05-151-0/+14
|/
* Merge pull request #382 from westurner/patch-2Michael Muré2020-05-011-1/+1
|\ | | | | DOC: README.md: is/are
| * DOC: README.md: is/areWes Turner2020-04-301-1/+1
| |
* | Merge pull request #375 from ↵Michael Muré2020-05-012-1/+3
|\ \ | | | | | | | | | | | | 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
| * | build(deps): bump github.com/go-errors/errors from 1.0.1 to 1.0.2dependabot-preview[bot]2020-04-142-1/+3
| | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge branch 'patch-1'Michael Muré2020-05-013-3/+3
|\ \ \
| * | | DOC: commands/root.go: syntaxWes Turner2020-05-013-3/+3
| | |/ | |/|
* / | identity: actually test the mutatorMichael Muré2020-05-012-6/+19
|/ /
* | Merge pull request #380 from ogirginc/masterMichael Muré2020-04-241-0/+9
|\ \ | | | | | | Update README.md
| * | Update README.mdOgulcan Girginc2020-04-231-0/+9
|/ / | | | | Display Homebrew option to install git-bug on macOS.
* | Merge pull request #378 from vojta001/masterMichael Muré2020-04-161-0/+4
|\ \ | |/ |/| termui: fix a crash when trying to open a bug when there are none
| * termui: fix a crash when trying to open a bug when there are noneVojtěch Káně2020-04-161-0/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #371 from mindriot101/config-reads-includesMichael Muré2020-04-121-2/+2
|\ | | | | Supports git config includes
| * Supports git config includesSimon Walker2020-04-111-2/+2
|/ | | | | | | | | | | | | | 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.
* Merge pull request #364 from ↵Michael Muré2020-04-102-1/+3
|\ | | | | | | | | 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
| * build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7dependabot-preview[bot]2020-03-302-1/+3
| | | | | | | | | | | | | | 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>
* | readme: better phrasingMichael Muré2020-04-041-1/+1
| |
* | readme: fix image linksMichael Muré2020-04-041-3/+3
| |
* | readme: document workflowsMichael Muré2020-04-042-0/+31
| |
* | Merge pull request #363 from MichaelMure/gitlab-iterator0.7.1Michael Muré2020-04-046-290/+425
|\ \ | |/ |/| gitlab: refactor the iterator, fix bug