Josh Bialkowski
4e64c834e2
codereview #5 : reverse-map and ImportWarning
...
* Fix git config reader can't read values with spaces
* Add bug-id-revmap config option for the reverse map, and use this
in the importer
* Add NewImportWarning for things that aren't exactly errors.
Use this for unhandled changelog events.
* Add NewExportWarning for things that aren't exactly errors.
Use this for un-exportable status changes.
* Strip newlines from titles on import
2019-12-18 07:42:16 -08: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
Michael Muré
e2445edcb9
bridge: various improvement on the global token PR
2019-11-10 14:53:40 +01:00
Amine
3433fa5def
commands: use token value as identifier
2019-11-09 13:25:07 +01:00
Amine
56551b6a22
bridge/core: comment token functionalities
2019-11-09 13:24:44 +01:00
Michael Muré
57e23c8ada
bridge: improvement on the import resume feature
2019-11-03 17:23:05 +01:00
amine
f9f82957a7
repository: fix ineffectual assignment in git test
2019-11-01 22:51:37 +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
b85b2c57a7
repository: improve documentation and fix typo mistake
2019-11-01 21:47:34 +01:00
amine
9304808070
repository: use repo.runGitCommand
and flagLocality
instead of execFn
2019-11-01 21:37:16 +01:00
amine
104224c9f0
repository: add StoreTimestamp/StoreBool to the config interface
...
repository: move the gitVersion logic to *gitConfig struct
2019-11-01 18:39:45 +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
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