aboutsummaryrefslogtreecommitdiffstats
path: root/repository
Commit message (Collapse)AuthorAgeFilesLines
* repo: split Config into 2 smaller interfacesMichael Muré2020-09-291-8/+15
|
* repo: test both plain and bare, test clocksMichael Muré2020-09-291-127/+157
|
* repo: smaller interfacesMichael Muré2020-09-291-4/+12
|
* repo: fix gogit clock pathMichael Muré2020-09-291-2/+2
|
* fix ListCommits implementationvince2020-09-292-9/+27
|
* repo: fix some go-git implementationMichael Muré2020-09-294-10/+24
|
* Add more function implementationsvince2020-09-291-11/+111
|
* repository: more go-git implementationMichael Muré2020-09-291-2/+31
|
* repository: fix a todo in the gogit repoMichael Muré2020-09-291-20/+31
|
* repository: some light shuffling of codeMichael Muré2020-09-292-39/+42
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-292-6/+17
|
* repository: add access to the system keyring, with fallback on a fileMichael Muré2020-09-296-7/+126
|
* repository: partial impl of a go-git backed RepoMichael Muré2020-09-294-0/+679
|
* Add functionality to remove bugs from a local repository. (#423)Vincent Tiu2020-07-094-2/+20
| | | | | 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.
* repo: fix test chocking on randomized element in repo.ListRefs()Michael Muré2020-07-031-1/+1
|
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-017-69/+111
|
* repo: more testsMichael Muré2020-06-274-24/+176
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-2612-292/+280
| | | | | | | | | - 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.
* Supports git config includesSimon Walker2020-04-111-2/+2
| | | | | | | | | | | | | | I like to have "private" settings in a git include file, and store the main .gitconfig under version control. I do not want any authentication keys or tokens (even if encrypted) in version control, so I have by main .gitconfig include another file which is local and not tracked. The current implementation calls `git config --global --get-regexp <keyPrefix>` and for some reason, this command does not follow git include files. The changes suggested in this PR add the `--includes` flag to the command, which then reads any included files.
* git: fix GetRemote to not break when there is no remotesMichael Muré2020-03-011-1/+4
|
* * Fix git config reader can't read values with spacesJosh Bialkowski2020-01-041-5/+1
| | | | | | | * 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.
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-083-29/+36
|
* repo: esthetism renameMichael Muré2019-11-193-10/+10
|
* bridge: various improvement on the global token PRMichael Muré2019-11-102-2/+2
|
* commands: use token value as identifierAmine2019-11-091-4/+8
|
* bridge/core: comment token functionalitiesAmine2019-11-091-2/+4
|
* bridge: improvement on the import resume featureMichael Muré2019-11-033-12/+11
|
* repository: fix ineffectual assignment in git testamine2019-11-011-0/+2
|
* bridge: use new repository configuration interfaceamine2019-11-014-70/+21
| | | | commands/webui: use new repository configuration interface
* repository: improve documentation and fix typo mistakeamine2019-11-012-7/+7
|
* repository: use `repo.runGitCommand` and `flagLocality` instead of execFnamine2019-11-011-15/+12
|
* repository: add StoreTimestamp/StoreBool to the config interfaceamine2019-11-016-78/+93
| | | | repository: move the gitVersion logic to *gitConfig struct
* repository: add ReadTimestamp methods and improve namingamine2019-10-316-65/+104
|
* repository: config interface and implementation reworkamine2019-10-318-190/+334
|
* Merge pull request #205 from seeduvax/issue-178Michael Muré2019-08-312-8/+31
|\ | | | | issue 178: fetch the repo dir with rev-parse --git-dir
| * git: minor cleanupMichael Muré2019-08-311-7/+8
| |
| * 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-272-1/+13
| |
| * 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-082-16/+19
|
* Check git version before removing config sectionAmine Hilaly2019-07-071-2/+36
| | | | update git config tests
* Update repository/mock_repo.goAmine2019-06-191-1/+1
| | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Changes to Repo.RmConfigsAmine Hilaly2019-06-173-1/+22
| | | | RmConfigs try to remove key/value or section from keyPrefix
* Add GetRemotes functionalitiesSladyn2019-05-293-0/+32
|
* repository: add ReadConfigBool and ReadConfigString functionsMichael Muré2019-05-274-0/+121
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-0/+80
|
* a round of cleanupMichael Muré2019-03-011-1/+2
|
* git: fix RmConfigsMichael Muré2019-03-011-1/+1
|