aboutsummaryrefslogtreecommitdiffstats
path: root/commands
Commit message (Collapse)AuthorAgeFilesLines
* fix[WIP]: more updatesbug-exportMatěj Cepl43 hours2-24/+45
|
* fix[WIP]: adjust importMatěj Cepl44 hours1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | According to https://github.com/git-bug/git-bug/pull/501#issuecomment-2453233379 the package bug has been moved into entities. Still remaining: ``` mitmanek:git-bug (bug-export *) $ go build commands/export.go:13:2: undefined: queryOptions commands/export.go:17:9: undefined: newEnv commands/export.go:29:13: undefined: loadBackend commands/export.go:30:13: undefined: closeBackend commands/export.go:39:33: options.statusQuery undefined (type exportOptions has no field or method statusQuery) commands/export.go:41:33: options.authorQuery undefined (type exportOptions has no field or method authorQuery) commands/export.go:43:33: options.participantQuery undefined (type exportOptions has no field or method participantQuery) commands/export.go:45:33: options.actorQuery undefined (type exportOptions has no field or method actorQuery) commands/export.go:47:33: options.labelQuery undefined (type exportOptions has no field or method labelQuery) commands/export.go:61:21: undefined: Env commands/export.go:47:33: too many errors mitmanek:git-bug (bug-export *) $ ```
* Update depsMatěj Cepl3 days1-2/+2
|
* commands: add a command to export bugs as raw operations (NDJSON)Michael Muré3 days2-0/+106
|
* core: make label a common type, in a similar fashion as for status (#1252)Michael Muré2024-08-253-25/+25
| | | This will be useful for Board, and likely code review support later
* feat: update references to the git-bug organization (#1249)sudoforge2024-08-2459-167/+166
| | | | | | | | The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
* chore: remove refs to deprecated io/ioutilguoguangwu2024-07-231-4/+4
| | | | | | | | Signed-off-by: guoguangwu <guoguangwug@gmail.com> chore: remove refs to deprecated io/ioutil Signed-off-by: guoguangwu <guoguangwug@gmail.com>
* execenv: fix some cache building progress bar artifactMichael Muré2023-03-181-2/+6
| | | | Still one issue remaining: the last bar doesn't dissapear. Looks like a mbp issue.
* webui: also teardown cleanly on SIGTERMMichael Muré2023-03-041-1/+2
|
* Merge pull request #1001 from MichaelMure/style/clean-up-linter-issuesMichael Muré2023-01-2214-18/+17
|\ | | | | style: clean up linter complaints
| * docs(commands): try to make cleaned argument use more obviousSteve Moyer2023-01-203-3/+6
| |
| * style: resolve PR commentsSteve Moyer2023-01-194-10/+4
| |
| * style: clean up linter complaintsSteve Moyer2023-01-1810-11/+13
| |
* | commands: add a helper to generate testing regex for CLI outputMichael Muré2023-01-223-23/+146
| |
* | Merge pull request #991 from vasser/fix/issue-928-version-infoMichael Muré2023-01-191-8/+57
|\ \ | | | | | | Fixed version info be set when go install
| * | version: code cleanup, fix some edge casesMichael Muré2023-01-191-36/+38
| | |
| * | dirty should be boolvasser2023-01-181-5/+6
| | |
| * | address PR reviewvasser2023-01-181-10/+14
| | |
| * | New approach to define the versionvasser2023-01-151-29/+29
| | |
| * | Fixed version info be set when go installvasser2023-01-131-0/+42
| | |
* | | commands: different pattern to detect changed flagsMichael Muré2023-01-182-18/+22
| |/ |/|
* | fix(commands): replace missing importSteve Moyer2023-01-171-0/+1
| |
* | Merge branch 'master' of github.com:MichaelMure/git-bugSteve Moyer2023-01-175-94/+95
|\ \
| * | commands: remove compact style for "bug", as the width adaptive default ↵Michael Muré2023-01-173-88/+53
| | | | | | | | | | | | renderer cover that usage
| * | command: adapt the output of the bug list to the terminal sizeMichael Muré2023-01-173-7/+43
| | |
* | | fix(commands): create env.Env once for all Cobra commandsSteve Moyer2023-01-1739-141/+81
|/ / | | | | | | Resolves #996
* | execenv: move terminal detection to Out, introduce the compagnion InMichael Muré2023-01-174-228/+273
| |
* | feat: use isatty to detect a Termios insteadSteve Moyer2023-01-173-46/+28
| |
* | feat: detect os.Stdin/os.Stdout modeSteve Moyer2023-01-162-3/+91
| |
* | Merge pull request #987 from MichaelMure/cache-progress-barMichael Muré2023-01-143-25/+62
|\ \ | | | | | | commands: add a nice terminal progress bar when building the cache
| * | commands: add a nice terminal progress bar when building the cacheMichael Muré2023-01-113-25/+62
| |/ | | | | | | One issue remaining is that writing the cache takes significant time, but I don't know how to reflect that nicely to the user.
* / add wipe sub-command that remove local bugs and identitiesKalin Staykov2023-01-112-0/+59
|/
* properly close files in edge cases in various placesMichael Muré2023-01-111-8/+10
|
* make go1.19 fmt happyMichael Muré2023-01-112-5/+5
|
* fix(commands): run tests in ./commands/... without ANSI colorSteve Moyer2023-01-071-0/+17
| | | | Resolves #926
* commands: share JSON creationMichael Muré2022-12-297-126/+156
|
* commands: don't double build the lamport clocksMichael Muré2022-12-292-5/+5
|
* Merge pull request #962 from MichaelMure/select-completionMichael Muré2022-12-2719-302/+327
|\ | | | | commands: generic "select" code, move bug completion in bugcmd
| * commands: generic "select" code, move bug completion in bugcmdMichael Muré2022-12-2719-302/+327
| |
* | cache: simplify cache building events handlingMichael Muré2022-12-272-10/+3
|/
* commands: move bug specific input code into commands/bug/inputMichael Muré2022-12-276-243/+252
|
* cache: tie the last printf in an event to make the core print freeMichael Muré2022-12-272-26/+24
|
* Merge pull request #936 from MichaelMure/feat/935/disambiguate-config-errorsSteve Moyer2022-12-231-1/+2
|\ | | | | feat(935): disambiguate config errors
| * feat: wrap ErrNoConfigEntry to report missing keySteve Moyer2022-11-271-1/+2
| | | | | | | | Resolves #935.
* | cache: fix some bugs after refactorMichael Muré2022-12-235-33/+27
| |
* | cache: generic withSnapshot, some cleanupMichael Muré2022-12-222-5/+19
| |
* | cache: tie up the refactor up to compilingMichael Muré2022-12-2118-59/+66
| |
* | WIPMichael Muré2022-12-191-1/+20
| |
* | WIPMichael Muré2022-11-281-3/+3
|/
* commands: reorg into different packagesMichael Muré2022-11-2087-1722/+1813
|