Commit Graph

356 Commits

Author SHA1 Message Date
Michael Muré
5844dd0a6a
commands: share JSON creation 2022-12-29 12:53:06 +01:00
Michael Muré
c9009b5299
commands: don't double build the lamport clocks 2022-12-29 10:26:47 +01:00
Michael Muré
d11ea5c2ad
Merge pull request #962 from MichaelMure/select-completion
commands: generic "select" code, move bug completion in bugcmd
2022-12-27 19:48:19 +01:00
Michael Muré
e920987860
commands: generic "select" code, move bug completion in bugcmd 2022-12-27 19:40:40 +01:00
Michael Muré
b27958758f
cache: simplify cache building events handling 2022-12-27 19:39:09 +01:00
Michael Muré
d5b07f4837
commands: move bug specific input code into commands/bug/input 2022-12-27 17:23:56 +01:00
Michael Muré
13a7a59917
cache: tie the last printf in an event to make the core print free 2022-12-27 11:19:45 +01:00
Steve Moyer
f94616ec76
Merge pull request #936 from MichaelMure/feat/935/disambiguate-config-errors
feat(935): disambiguate config errors
2022-12-23 07:16:36 -05:00
Michael Muré
9591110082
cache: fix some bugs after refactor 2022-12-23 01:41:03 +01:00
Michael Muré
d65e8837aa
cache: generic withSnapshot, some cleanup 2022-12-22 00:48:00 +01:00
Michael Muré
9b98fc0648
cache: tie up the refactor up to compiling 2022-12-21 21:54:36 +01:00
Michael Muré
f2def3a933
WIP 2022-12-19 18:09:59 +01:00
Michael Muré
0ac39a7ab5
WIP 2022-11-28 17:20:25 +01:00
Steve Moyer
64c18b15a4
feat: wrap ErrNoConfigEntry to report missing key
Resolves #935.
2022-11-27 20:51:37 -05:00
Michael Muré
acc9a6f3a6
commands: reorg into different packages 2022-11-20 17:18:09 +01:00
Michael Muré
3c6ebc2bfd core: bubble up the comment ID when created, or edited the first comment 2022-11-13 12:31:38 +01:00
Michael Muré
55a2e8e448 doc: fix incorrect indentation
fix #905
2022-10-22 15:56:36 +02:00
Steve Moyer
0ffa79ef13
feat(530) make label commands consistent 2022-09-25 15:22:03 -04:00
Steve Moyer
6c9a0d77df
test(863): fix test for full id instead of "human" 2022-09-25 09:17:32 -04:00
Steve Moyer
10ba2246f9
refactor(git-bug-863): merge ls-id into ls
The "ls" command allows filtering and sorting and already features different output
formatters.  Merging "ls-id" into "ls" cleans up the command hierarchy and allows
users to take advantage of these querying features.

Resolves #863.
2022-09-25 08:05:48 -04:00
Steve Moyer
ccb71fea57
Merge pull request #855 from MichaelMure/fix-850-ineffective-comment-edit
test(850): add tests for `git-bug comment edit` has no effect
2022-08-23 14:01:44 -04:00
Steve Moyer
c4a4d457f7
fix(850): normalize Windows line endings -> *nix (golden files) 2022-08-23 11:22:42 -04:00
Steve Moyer
0f885d4fb5
fix(850): normalize Windows line endings -> *nix 2022-08-23 11:02:23 -04:00
Steve Moyer
ff1b7448c9
fix(850): merge in CombinedId from 664 2022-08-23 10:40:56 -04:00
Steve Moyer
7ba98bfadc
Merge branch 'master' into fix-850-ineffective-comment-edit 2022-08-23 10:33:19 -04:00
Michael Muré
8d11e620a3
webui: add a flag to log handling errors 2022-08-23 15:09:31 +02:00
Michael Muré
45b04351d8
bug: have a type for combined ids, fix https://github.com/MichaelMure/git-bug/issues/653 2022-08-22 13:25:26 +02:00
Michael Muré
8818d091e8
move bug.Status in entities/common for reuse 2022-08-20 10:52:11 +02:00
Steve Moyer
2c2c449187
fix(850): remove obsolete test logging 2022-08-19 19:09:42 -04:00
Steve Moyer
7a91eb7e1d
tests(850): add tests for comment ls, add and edit 2022-08-19 13:19:02 -04:00
Michael Muré
5511c230b6
move {bug,identity} to /entities, move input to /commands 2022-08-18 23:44:06 +02:00
Steve Moyer
870fe69362
fix(836): revert to older test harness 2022-08-18 06:29:51 -04:00
Steve Moyer
a5802792ec
feat(836): updates default ls formatter for TSV output
Resolves #836
2022-08-18 06:18:55 -04:00
Steve Moyer
d3f2fb0d18
docs(847): add compact to docs and bash for ls command's format flag 2022-08-16 08:01:17 -04:00
Steve Moyer
6fc6a0f0ab
test(809): remove reliance on repo's filesystem 2022-06-22 10:38:09 -04:00
Steve Moyer
f3d316d16c
test(809): remove remaining calls to InitGoRepo in tests
Note that examples still need to shown how a developer would use the library.
2022-06-16 19:45:51 -04:00
Steve Moyer
1d4667c825
refactor(809): eliminate need to defer CleanupTestRepos() 2022-06-16 09:02:52 -04:00
Steve Moyer
d853a6fbc9
test(778): simplify and guarantee backend cleanup 2022-06-15 10:23:33 -04:00
Steve Moyer
0a9aaa9442
refactor(778): test only command implementations 2022-06-15 09:07:00 -04:00
Steve Moyer
941f5b3fc3
chore(808): rearrange imports to git-bug convention 2022-06-07 08:01:19 -04:00
Steve Moyer
6ec7d67ea1
test(808): document getCWD() and clean-up arguments 2022-06-07 07:45:30 -04:00
Steve Moyer
f0f52472dc
test(808): skip root help test that uses a golden file 2022-06-07 07:34:04 -04:00
Steve Moyer
848f72537d
fix(808): remove duplication stderr/stdout set-up 2022-06-06 10:13:42 -04:00
Steve Moyer
54306a8f0a
test(808): make build tag compatible with Go 1.16 2022-06-06 09:49:13 -04:00
Steve Moyer
99669d77b1
test(808): do not run golden file tests on Windows 2022-06-06 09:38:15 -04:00
Steve Moyer
1a504e0522
fix(808): simplify handling of Windows line terminations 2022-06-06 09:01:02 -04:00
Steve Moyer
5982e8fb3c
chore(808): merge in LocalStorage namespace configuration 2022-06-06 08:39:40 -04:00
Steve Moyer
8fc93d8824
Merge branch 'master' into fix/778-git-bug-rm-broken 2022-06-06 08:31:42 -04:00
Steve Moyer
cd1099aac8
fix(808): replace Windows line terminators 2022-06-06 08:25:36 -04:00
Steve Moyer
90208b5f6d
test(778): execute rm bug in testEnv (hangs) 2022-05-28 10:38:04 -04:00