Commit Graph

154 Commits

Author SHA1 Message Date
Michael Muré
5bf274e64a
repo: don't forget to close a file 2023-01-14 13:23:02 +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é
2664332bfd
repo: check error when closing a repo in tests 2023-01-11 14:22:58 +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é
905c9a90f1
repository: return specific error on object not found, accept multiple namespace to push/pull 2022-12-21 21:42:45 +01:00
Michael Muré
60d40d60e9
repo: proper reduced interface for full-text indexing
Additionally, remove and concentrate quite a lot of complexity from the cache layer
into a "per app" single site where to configure how indexing is done.
2022-12-19 18:09:37 +01:00
Steve Moyer
0cd2f3b4bd
fix: remove repeated use of the same fmt.Errorf() calls 2022-11-28 15:15:41 -05:00
Steve Moyer
49929c034f
feat: wrap ErrMultipleConfigEntry to report duplicate key
References #935.
2022-11-27 20:56:45 -05: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é
3c0fcb7456
gogit: fix incorrect loader handling 2022-11-16 14:41:26 +01:00
Michael Muré
d1744f5ee2
go-git: concurrent loading of clocks 2022-11-15 19:27:01 +01: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é
d179b8b7ec
bug: fix an issue where Id would be used, then changed due to metadata 2022-07-31 14:38:32 +02:00
Steve Moyer
323dd0e293
test(809): do not export function that returns GoGit filesystem 2022-06-22 10:46:52 -04:00
Steve Moyer
52c724a033
test: use testing.TB as common interface 2022-06-21 06:48:28 -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
ccc342e814
refactor: simplify creation of temp dir - after 1.15 2022-05-31 07:47:56 -04:00
Steve Moyer
da9f95e495
fix: remove only t.Parallel() 2022-05-31 07:22:55 -04:00
Michael Muré
50de0306df
gogit: close index before deleting it on disk 2022-05-31 12:24:58 +02:00
Steve Moyer
86dd450aaf
test: clean up temp dir and repo correctly 2022-05-31 12:04:26 +02:00
Steve Moyer
8821b67d1b
test: add verification that localStorage.Root() resolves to the correct absolute filepath 2022-05-26 13:40:52 -04:00
Steve Moyer
e120fdb97e
refactor: use namespace instead of application of applicationName 2022-05-26 13:39:13 -04:00
Steve Moyer
e29f58bf85
chore: clean-up commented code 2022-05-25 07:59:56 -04:00
Steve Moyer
b42fae382a
feat: make local storage configurable 2022-05-25 07:55:28 -04:00
Michael Muré
44f61b6677 update keyring and migrate to github.com/ProtonMail/go-crypto 2022-02-15 21:35:49 +01:00
Michael Muré
7219753136
repo: workaround more go-git concurrency issue 2021-04-22 12:51:07 +02:00
Michael Muré
d000838cfb
repository: workaround a non thread-safe path in go-git
fix https://github.com/MichaelMure/git-bug/issues/497
2021-04-17 20:35:35 +02:00
Michael Muré
5549925235
cache: many fixes following the dag entity migration 2021-04-08 16:18:31 +02:00
Michael Muré
aa0449a3ea
Merge remote-tracking branch 'origin/master' into dag-entity 2021-03-29 11:02:08 +02:00
Michael Muré
890c014d91
repo: fix various config issues around case insentivity 2021-03-28 22:18:01 +02:00
Michael Muré
9434d2ea5c
repo: fix security issue that could lead to arbitrary code execution
see https://blog.golang.org/path-security for details
2021-03-21 22:37:19 +01:00
Michael Muré
5215634d0d
entity: add support for storing files 2021-03-21 18:22:04 +01:00
Michael Muré
3a819525d7
commands: minor fixes for the webui open with query
- go fmt
- add a shorthand
- fix displayed webUI URL in the terminal
2021-03-07 21:44:48 +01:00
Michael Muré
ef05c15f87
entity: implement remove 2021-02-14 12:19:03 +01:00
Michael Muré
2bdb1b60ff
entity: working commit signatures 2021-02-14 12:19:02 +01:00
Michael Muré
e35c7c4d17
entity: more testing and bug fixing 2021-02-14 12:19:01 +01:00
Michael Muré
fe4237df3c
entity: readAll and more testing 2021-02-14 12:19:01 +01:00
Michael Muré
dc5059bc33
entity: more progress on merging and signing 2021-02-14 12:19:00 +01:00
Michael Muré
8d63c983c9
WIP 2021-02-14 12:19:00 +01:00
Michael Muré
5c4e7de012
repository: partially add two new functions to RepoData 2021-02-14 12:18:59 +01:00
Michael Muré
fb0c5fd061
repo: expose all lamport clocks, move clocks in their own folder 2021-02-14 12:15:41 +01:00
Michael Muré
8128bb79b0
repo: close before deleting 2020-12-08 15:09:58 +01:00
Michael Muré
c884d557bf
repo: move bleve there 2020-12-08 14:42:13 +01:00
Michael Muré
71e1303234
repo: simpler clock mutex locking 2020-12-08 13:15:21 +01:00
Michael Muré
be6e653f15
repo: remove the memory-only repo for now 2020-12-08 13:07:53 +01:00
Michael Muré
4ef2c11040
repo: finish RepoStorage move 2020-12-08 13:07:51 +01:00
Michael Muré
bca9ae8274
repo: more work towards RepoStorage 2020-12-05 21:41:10 +01:00