Commit Graph

141 Commits

Author SHA1 Message Date
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
Mark
28adf41af6
Move new RepoStorage interface to GoGitRepo, revert repoTest 2020-12-05 21:41:10 +01:00
Mark
ecf1215ac9
Add RepoStorage interface (for draft PR) 2020-12-05 21:41:09 +01:00
Karl Semich
9f1d0e6f8b read name from both global and local config 2020-10-30 17:20:19 -04:00
Michael Muré
8a158d1f94
repository: fix edge case in git config read, affecting bridges 2020-10-25 23:35:36 +01:00
Michael Muré
ca4020f4fa
repository: workaround a go-git bug and ensure sorted tree object 2020-10-25 00:24:26 +02:00
Michael Muré
064a96f808
repository: fix incorrect git dir on the git CLI implementation 2020-10-24 22:19:56 +02:00
Michael Muré
5d1fc3ff39
repo: minor cleanup 2020-10-04 20:46:38 +02:00
Michael Muré
1eb1317318
repo: fix missing keyring on the go-git repo 2020-10-04 20:03:44 +02:00
Michael Muré
1a0c86a12d
repo: use go-git in more places, fix push 2020-10-04 19:56:16 +02:00
Michael Muré
db20bc34e5 repo: fallback editor list by looking if the binary exist 2020-09-29 22:00:35 +02:00
Michael Muré
4055495c8b repo: fix wrong ordering in gogit's ListCommit 2020-09-29 20:43:54 +02:00
Michael Muré
0acb3505ff repo: implement GetCoreEditor for go-git 2020-09-29 20:43:54 +02:00
Michael Muré
736d0a2f09 repo: more testing for an edge case 2020-09-29 20:42:21 +02:00