aboutsummaryrefslogtreecommitdiffstats
path: root/repository
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|