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é
c884d557bf
repo: move bleve there
2020-12-08 14:42:13 +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
Michael Muré
d8b49e025a
repo: ReadTree must accept either a commit or a tree hash
2020-09-29 20:42:21 +02:00
Michael Muré
71b7eb1401
repo: implement local/global/any config everywhere
2020-09-29 20:42:21 +02:00
Michael Muré
cedcc2772c
repo: smaller interfaces
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é
30d1640bf4
repository: some light shuffling of code
2020-09-29 20:42:21 +02:00
Michael Muré
3ecbf8db28
bridge: store credentials in the Keyring instead of the git config
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
56551b6a22
bridge/core: comment token functionalities
2019-11-09 13:24:44 +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
ab935674a2
repository: config interface and implementation rework
2019-10-31 15:46:09 +01: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é
bdbe9e7e82
identity: more progress and fixes
2019-03-01 22:35:37 +01:00
Michael Muré
96f514168f
repo: minor cleaning
2018-12-25 16:35:37 +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é
c3a5213f82
repo: more documentation
2018-09-24 12:46:39 +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é
30d4bc2121
fix english grammar
2018-09-09 20:17:12 +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é
4c850b5989
cleanup go imports
2018-08-13 18:39:19 +02:00
Michael Muré
df144e727a
fix some linting trouble
2018-08-13 15:28:47 +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é
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é
3087a472bf
move Hash in /util/
2018-07-12 21:32:10 +02:00
Michael Muré
cda8114fda
store user info in the datastore
2018-07-12 21:32:09 +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