Commit Graph

216 Commits

Author SHA1 Message Date
Michael Muré
6e5ea512ac
Merge pull request #987 from MichaelMure/cache-progress-bar
commands: add a nice terminal progress bar when building the cache
2023-01-14 14:49:25 +01:00
Kalin Staykov
fc266b733c
add wipe sub-command that remove local bugs and identities 2023-01-11 14:58:58 +01:00
Michael Muré
7df34aa7a4
commands: add a nice terminal progress bar when building the cache
One issue remaining is that writing the cache takes significant time, but I don't know how to reflect that nicely to the user.
2023-01-11 14:31:22 +01:00
Michael Muré
ace0f05507
properly close files in edge cases in various places 2023-01-11 14:22:58 +01:00
Michael Muré
637071a84b
make go1.19 fmt happy 2023-01-11 13:28:07 +01:00
Michael Muré
70b0c5b81c
cache: fix tests? 2023-01-11 13:19:03 +01:00
Michael Muré
c7662a13ac
Merge pull request #976 from MichaelMure/fix/975/patch-security-vulnerabilities
fix: resolve Go vulnerabilities
2023-01-08 12:11:53 +01:00
Steve Moyer
5c45e70aab
chore(TestCache): cleanup per PR review
Resolves #979
2023-01-05 22:09:51 -05:00
Steve Moyer
0f12b901e7
refactor(TestCache): guarantee test caches are closed when tests finish 2023-01-04 17:32:59 -05:00
Steve Moyer
ea9b3aa060
fix(TestCache): eliminate hanging Windows tests 2023-01-03 20:47:58 -05:00
Steve Moyer
59684d7477
style(TestCache): remove empty trailing line from function 2023-01-03 20:41:57 -05:00
Steve Moyer
4cee3a7278
test(cache): close second instance of RepoCache 2023-01-03 20:17:17 -05:00
Michael Muré
c9009b5299
commands: don't double build the lamport clocks 2022-12-29 10:26:47 +01:00
Michael Muré
b27958758f
cache: simplify cache building events handling 2022-12-27 19:39:09 +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
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é
3b62fe0a4c
WIP 2022-12-15 13:17:03 +01:00
Michael Muré
4a341b5e17
WIP 2022-11-29 13:01:53 +01:00
Michael Muré
0ac39a7ab5
WIP 2022-11-28 17:20:25 +01: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
Steve Moyer
fc44491526
fix: process unused (but assigned) error 2022-10-01 13:08:56 -04:00
Michael Muré
4c074099b8
generalized interface for an Entity 2022-08-25 11:20:36 +02:00
Michael Muré
6ed4b8b7a1
webui: adapt to CombinedId 2022-08-23 14:48:49 +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
Michael Muré
5511c230b6
move {bug,identity} to /entities, move input to /commands 2022-08-18 23:44:06 +02:00
Michael Muré
45f5f852b7
core: generalized resolvers to resolve any entity time when unmarshalling an operation 2022-08-18 15:55:48 +02:00
Michael Muré
d179b8b7ec
bug: fix an issue where Id would be used, then changed due to metadata 2022-07-31 14:38:32 +02:00
Michael Muré
3d454d9dc8
entity/dag: proper base operation for simplified implementation
- reduce boilerplace necessary to implement an operation
- consolidate what an operation is in the core, which in turn pave the way for a generic cache layer mechanism
- avoid the previously complex unmarshalling process
- support operation metadata from the core
- simplified testing
2022-07-25 13:27:17 +02:00
Steve Moyer
fd248de1eb
Merge branch 'master' into refactor/guarantee-test-cleanup 2022-06-22 11:08:20 -04:00
Michael Muré
b694052c46
Merge pull request #807 from MichaelMure/default-repo-name
cache: ensure that the default repo has a non-empty name to make js/apollo happy
2022-06-18 22:44:28 +02:00
Steve Moyer
1d4667c825
refactor(809): eliminate need to defer CleanupTestRepos() 2022-06-16 09:02:52 -04:00
Steve Moyer
eda312f9b1
fix(778): remove extra mutex lock when resolving bug prefix 2022-05-31 21:25:23 -04:00
Michael Muré
295da9c70f cache: ensure that the default repo has a non-empty name to make js/apollo happy 2022-05-31 21:47:57 +02:00
Michael Muré
b11679bc80 Fix a bunch of comments and documentations 2022-03-10 16:30:27 +01:00
Michael Muré
7edb6a2c57
cache: fix empty actors/participants in the index 2021-04-22 15:00:27 +02:00
Michael Muré
51a2c85954
make sure every text input is safe and validated
fix #630
2021-04-17 17:40:11 +02:00
Michael Muré
5549925235
cache: many fixes following the dag entity migration 2021-04-08 16:18:31 +02:00
Michael Muré
fc04af34f5
Merge pull request #532 from MichaelMure/dag-entity
Work towards a reusable entity datastructure + commit signature
2021-04-04 15:49:16 +02:00
Michael Muré
f7dec7e96c
cache: fix no-label filter not properly wired 2021-03-29 11:13:40 +02:00
Michael Muré
aa0449a3ea
Merge remote-tracking branch 'origin/master' into dag-entity 2021-03-29 11:02:08 +02:00
Michael Muré
e985653701
cache: test for FTS bub with long description 2021-03-29 10:08:57 +02:00
Michael Muré
32958b5ca1
cache: only FTS index token < 100 characters 2021-03-28 23:26:58 +02:00
Miklos Vajna
cb61245078 Add ability to search by arbitrary metadata
Example:

~/git/git-bug/git-bug ls --metadata github-url=https://github.com/author/myproject/issues/42

or

~/git/git-bug/git-bug ls metadata:github-url:\"https://github.com/author/myproject/issues/42\"

Fixes the cmdline part of <https://github.com/MichaelMure/git-bug/issues/567>.
2021-02-21 14:15:50 +01:00
Michael Muré
45e540c178
bug: wrap dag.Entity into a full Bug in MergeAll 2021-02-14 12:38:09 +01:00
Michael Muré
3f6ef50883
bug: migrate to the DAG entity structure! 2021-02-14 12:19:50 +01:00