aboutsummaryrefslogtreecommitdiffstats
path: root/repository
Commit message (Collapse)AuthorAgeFilesLines
* repo: fix various config issues around case insentivityMichael Muré2021-03-283-4/+56
|
* repo: fix security issue that could lead to arbitrary code executionMichael Muré2021-03-212-4/+5
| | | | see https://blog.golang.org/path-security for details
* commands: minor fixes for the webui open with queryMichael Muré2021-03-071-1/+1
| | | | | | - go fmt - add a shorthand - fix displayed webUI URL in the terminal
* repo: close before deletingMichael Muré2020-12-082-0/+10
|
* repo: move bleve thereMichael Muré2020-12-084-8/+215
|
* repo: simpler clock mutex lockingMichael Muré2020-12-083-12/+11
|
* repo: remove the memory-only repo for nowMichael Muré2020-12-081-32/+3
|
* repo: finish RepoStorage moveMichael Muré2020-12-086-75/+105
|
* repo: more work towards RepoStorageMichael Muré2020-12-058-50/+97
|
* Move new RepoStorage interface to GoGitRepo, revert repoTestMark2020-12-052-13/+7
|
* Add RepoStorage interface (for draft PR)Mark2020-12-051-0/+13
|
* read name from both global and local configKarl Semich2020-10-301-12/+2
|
* repository: fix edge case in git config read, affecting bridgesMichael Muré2020-10-251-0/+1
|
* repository: workaround a go-git bug and ensure sorted tree objectMichael Muré2020-10-251-1/+17
|
* repository: fix incorrect git dir on the git CLI implementationMichael Muré2020-10-241-1/+1
|
* repo: minor cleanupMichael Muré2020-10-041-6/+6
|
* repo: fix missing keyring on the go-git repoMichael Muré2020-10-041-6/+18
|
* repo: use go-git in more places, fix pushMichael Muré2020-10-042-3/+9
|
* repo: fallback editor list by looking if the binary existMichael Muré2020-09-291-1/+17
|
* repo: fix wrong ordering in gogit's ListCommitMichael Muré2020-09-292-9/+7
|
* repo: implement GetCoreEditor for go-gitMichael Muré2020-09-291-1/+23
|
* repo: more testing for an edge caseMichael Muré2020-09-291-0/+5
|
* repo: ReadTree must accept either a commit or a tree hashMichael Muré2020-09-292-3/+25
|
* repo: more config related bug fixesMichael Muré2020-09-293-47/+90
|
* repo: fix manu bugs in go-git configMichael Muré2020-09-292-54/+133
|
* repo: implement local/global/any config everywhereMichael Muré2020-09-299-216/+400
|
* repo: only use the file backend for the keyringMichael Muré2020-09-291-27/+4
|
* repo: split mocks into smaller reusable componentsMichael Muré2020-09-291-48/+104
|
* 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
|