aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
Commit message (Collapse)AuthorAgeFilesLines
* repo: implement local/global/any config everywhereMichael Muré2020-09-291-58/+25
|
* repo: fix some go-git implementationMichael Muré2020-09-291-2/+2
|
* repository: add access to the system keyring, with fallback on a fileMichael Muré2020-09-291-2/+14
|
* Add functionality to remove bugs from a local repository. (#423)Vincent Tiu2020-07-091-0/+7
| | | | | 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.
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-011-19/+18
|
* repo: more testsMichael Muré2020-06-271-2/+2
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-127/+75
| | | | | | | | | - 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.
* git: fix GetRemote to not break when there is no remotesMichael Muré2020-03-011-1/+4
|
* repo: esthetism renameMichael Muré2019-11-191-4/+4
|
* commands: use token value as identifierAmine2019-11-091-4/+8
|
* repository: improve documentation and fix typo mistakeamine2019-11-011-2/+2
|
* repository: add StoreTimestamp/StoreBool to the config interfaceamine2019-11-011-40/+0
| | | | repository: move the gitVersion logic to *gitConfig struct
* repository: add ReadTimestamp methods and improve namingamine2019-10-311-2/+2
|
* repository: config interface and implementation reworkamine2019-10-311-148/+27
|
* Merge pull request #205 from seeduvax/issue-178Michael Muré2019-08-311-8/+18
|\ | | | | issue 178: fetch the repo dir with rev-parse --git-dir
| * issue 178: refined git command cwd setting.Sebastien Devaux2019-08-281-2/+11
| | | | | | | | | | | | | | 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.
| * issue 178: adding required changes to InitGitRepo and CleanupTestReposSebastien Devaux2019-08-271-1/+1
| |
| * issue 178: fetch the repo dir with rev-parse --git-dirSebastien Devaux2019-08-241-5/+6
| | | | | | | | | | Since is returns the .git dir directly, it is not more needed to concatenate .git.
* | repo: fix git version parsing with broken versionMichael Muré2019-08-241-2/+11
|/
* repository: RmConfigs usage of git version lt 2.18Amine Hilaly2019-07-081-10/+48
|
* repository: rework how RmConfigs works with gitMichael Muré2019-07-081-15/+18
|
* Check git version before removing config sectionAmine Hilaly2019-07-071-2/+36
| | | | update git config tests
* Changes to Repo.RmConfigsAmine Hilaly2019-06-171-0/+5
| | | | RmConfigs try to remove key/value or section from keyPrefix
* Add GetRemotes functionalitiesSladyn2019-05-291-0/+22
|
* repository: add ReadConfigBool and ReadConfigString functionsMichael Muré2019-05-271-0/+35
|
* git: fix RmConfigsMichael Muré2019-03-011-1/+1
|
* identity: store the times properlyMichael Muré2019-03-011-0/+12
|
* identity: I can compile again !!Michael Muré2019-03-011-1/+1
|
* repo: minor cleaningMichael Muré2018-12-251-1/+1
|
* commands: add "bridge rm"Michael Muré2018-09-241-1/+14
|
* repo: add functions to read/write git configMichael Muré2018-09-241-6/+35
|
* repo: more documentationMichael Muré2018-09-241-0/+8
|
* repo: workaround for git returning no path when inside a .git dirMichael Muré2018-09-211-1/+3
|
* lamport: better perf by ensuring that the folder is created only onceMichael Muré2018-09-131-8/+28
|
* reorganize package for a more idomatic goMichael Muré2018-09-111-29/+30
|
* fix english grammarMichael Muré2018-09-091-6/+6
|
* cmds: various cleaningMichael Muré2018-09-061-1/+1
|
* bug: remove use of the too recent %(refname:lstrip=-1) of gitMichael Muré2018-08-191-19/+0
| | | | fix #24
* fix some linting troubleMichael Muré2018-08-131-2/+5
|
* termui: implement push/pullMichael Muré2018-08-121-8/+8
|
* bug: add a Lamport logical clock to be able to sort bugs by creation time ↵Michael Muré2018-08-061-3/+94
| | | | and edit time without having to rely on a timestamp
* graphql: implement the missing mutationsMichael Muré2018-08-011-1/+2
|
* allow to run commands from lower than the root of a git repoMichael Muré2018-07-261-6/+8
|
* more refactoring to have reusable bug action across different UIMichael Muré2018-07-251-8/+44
|
* git: fix fetch not workingMichael Muré2018-07-251-1/+1
|
* bug: refactor to limit abstraction leak and to have a more reusable code for ↵Michael Muré2018-07-231-6/+6
| | | | the UIs
* implement pull/mergeMichael Muré2018-07-171-7/+43
|
* complete the storage/read process + tests (!)Michael Muré2018-07-141-5/+64
|
* implement AddCommentMichael Muré2018-07-131-6/+0
|
* fix push/pullMichael Muré2018-07-131-4/+16
|