amine
ab935674a2
repository: config interface and implementation rework
2019-10-31 15:46:09 +01:00
Michael Muré
2b14bb253c
Merge pull request #205 from seeduvax/issue-178
...
issue 178: fetch the repo dir with rev-parse --git-dir
2019-08-31 13:23:26 +02:00
Michael Muré
6a0336e04b
git: minor cleanup
2019-08-31 13:21:44 +02:00
Sebastien Devaux
1dc106279a
issue 178: refined git command cwd setting.
...
For unknown reason setting .git as current directory for the called
git command fails when git-bug is called from a git hook (and it was
observed only in this case). Forcing use of current dir when the
repo path is ".git" restore the expected behavior.
2019-08-28 21:11:29 +02:00
Sebastien Devaux
ddcbd8d022
issue 178: adding required changes to InitGitRepo and CleanupTestRepos
2019-08-27 21:35:04 +02:00
Sebastien Devaux
7e123fbfca
issue 178: fetch the repo dir with rev-parse --git-dir
...
Since is returns the .git dir directly, it is not more needed to
concatenate .git.
2019-08-24 22:42:25 +02:00
Michael Muré
91e4a183bd
repo: fix git version parsing with broken version
2019-08-24 15:32:11 +02:00
Amine Hilaly
fb50d47048
repository: RmConfigs usage of git version lt 2.18
2019-07-08 23:57:19 +02:00
Michael Muré
76db2f42eb
repository: rework how RmConfigs works with git
2019-07-08 12:14:41 +02:00
Amine Hilaly
bb68b391a0
Check git version before removing config section
...
update git config tests
2019-07-07 13:57:15 +02: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é
c7abac388a
repo: refactor how test repo are created/cleaned
2019-05-27 21:14:55 +02:00
Michael Muré
475b7b4c49
a round of cleanup
2019-03-01 22:52:53 +01:00
Michael Muré
839b241f0c
git: fix RmConfigs
2019-03-01 22:40:29 +01:00
Michael Muré
71f9290fda
identity: store the times properly
2019-03-01 22:40:27 +01:00
Michael Muré
d2483d83dd
identity: I can compile again !!
2019-03-01 22:40:24 +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é
8a03853869
repo: workaround for git returning no path when inside a .git dir
2018-09-21 11:57:45 +02:00
Michael Muré
bf11c08f5a
lamport: better perf by ensuring that the folder is created only once
2018-09-13 16:05:27 +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é
f136bf6a82
cmds: various cleaning
2018-09-06 21:42:05 +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é
e5a6a71b78
graphql: implement the missing mutations
2018-08-01 21:57:12 +02:00
Michael Muré
5751cd8f6b
allow to run commands from lower than the root of a git repo
2018-07-26 12:53:31 +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é
49c90eab26
git: fix fetch not working
2018-07-25 18:00:41 +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é
f8e0774874
add TreeEntry to manage the talking with git mktree and git ls-tree
2018-07-14 22:11:38 +02:00
Michael Muré
55aef8c387
implement AddComment
2018-07-13 22:53:53 +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é
deff9e0a41
add basic tests for Bug and OperationIterator
2018-07-13 16:48:55 +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