Commit Graph

44 Commits

Author SHA1 Message Date
Michael Muré
44f61b6677 update keyring and migrate to github.com/ProtonMail/go-crypto 2022-02-15 21:35:49 +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é
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é
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é
bca9ae8274
repo: more work towards RepoStorage 2020-12-05 21:41:10 +01:00
Michael Muré
71b7eb1401 repo: implement local/global/any config everywhere 2020-09-29 20:42:21 +02:00
Michael Muré
aa8055e27e repo: split mocks into smaller reusable components 2020-09-29 20:42:21 +02:00
Michael Muré
d4f1d5659b repo: fix some go-git implementation 2020-09-29 20:42:21 +02:00
Michael Muré
b127481364 repository: add access to the system keyring, with fallback on a file 2020-09-29 20:42:21 +02:00
Vincent Tiu
f3304bdc1c
Add functionality to remove bugs from a local repository. (#423)
Add functionality to remove bugs from a local repository.

This adds a function to remove git references in the repo and another one to remove bugs.
2020-07-09 14:40:44 +02:00
Michael Muré
3cf31fc404
repository: merge git.Hash in for one less /util package 2020-07-01 19:39:02 +02:00
Michael Muré
939bcd57b9
repo: more tests 2020-06-27 22:00:15 +02:00
Michael Muré
88ad7e606f
repository: remove tie to Bug, improved and reusable testing
- allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code.
- generalize the memory-only and persisted Lamport clocks behind a common interface
- rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily
- test previously untested components with those new tests

Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
2020-06-26 19:14:22 +02:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials 2019-12-08 21:28:27 +01:00
Michael Muré
a9b32e6bda
repo: esthetism rename 2019-11-19 00:27:40 +01:00
amine
60c6bd360f bridge: use new repository configuration interface
commands/webui: use new repository configuration interface
2019-11-01 22:44:11 +01:00
amine
7f177c4750 repository: add ReadTimestamp methods and improve naming 2019-10-31 19:05:50 +01:00
amine
ab935674a2 repository: config interface and implementation rework 2019-10-31 15:46:09 +01:00
Amine
acfd8ffdd7
Update repository/mock_repo.go
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-19 18:02:16 +02:00
Amine Hilaly
ee2ca519e6
Changes to Repo.RmConfigs
RmConfigs try to remove key/value or section from keyPrefix
2019-06-17 23:33:32 +02:00
Sladyn
2c4c0132bf
Add GetRemotes functionalities 2019-05-29 22:58:01 +02:00
Michael Muré
d564e37b31 repository: add ReadConfigBool and ReadConfigString functions 2019-05-27 21:39:55 +02:00
Michael Muré
71f9290fda
identity: store the times properly 2019-03-01 22:40:27 +01:00
Michael Muré
061e83d4b4
commands: add "bridge rm" 2018-09-24 16:24:38 +02:00
Michael Muré
666586c5b9
repo: add functions to read/write git config 2018-09-24 15:21:34 +02:00
Michael Muré
82eaceffc1
repo: split the Repo interface to avoid abstraction leak in RepoCache 2018-09-21 18:53:37 +02:00
Michael Muré
3605887345 reorganize package for a more idomatic go 2018-09-11 22:14:46 +02:00
Michael Muré
b58812136e
bug: remove use of the too recent %(refname:lstrip=-1) of git
fix #24
2018-08-19 13:58:55 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull 2018-08-12 21:09:30 +02:00
Michael Muré
435be2b693
bug: add a Lamport logical clock to be able to sort bugs by creation time and edit time without having to rely on a timestamp 2018-08-06 20:31:20 +02:00
Michael Muré
6a12373965
more refactoring to have reusable bug action across different UI 2018-07-25 18:01:32 +02:00
Michael Muré
17e2ec8f56
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs 2018-07-23 00:04:46 +02:00
Michael Muré
25fb88d749
fix dependencies 2018-07-19 13:49:26 +02:00
Michael Muré
0180b68cb0
implement pull/merge 2018-07-17 01:52:56 +02:00
Michael Muré
da470993d1
complete the storage/read process + tests (!) 2018-07-14 22:17:37 +02:00
Michael Muré
35d64e4f9e
fix push/pull 2018-07-13 21:51:27 +02:00
Michael Muré
1779a0f3b9
serialize a Bug to git as a blob+tree+commit+ref 2018-07-13 21:21:24 +02:00
Michael Muré
c498674718
add the new bug command with a very primitive bug datastructure 2018-07-12 12:44:46 +02:00
Michael Muré
d044365912
more experiment 2018-07-12 09:55:13 +02:00