aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
Commit message (Collapse)AuthorAgeFilesLines
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-0/+6
| | | | | | | | | - 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.
* fix cache not rebuilding properlyMichael Muré2020-06-261-20/+3
|
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-4/+8
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* query: no need for an ast packageMichael Muré2020-03-281-11/+11
|
* cache: replace the all-in-one query parser by a complete one with ↵Michael Muré2020-03-281-6/+14
| | | | AST/lexer/parser
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-5/+5
| | | | informational)
* graphql: expose the name of RepositoryMichael Muré2020-02-121-0/+12
|
* cache: add proper locking to avoid concurrent accessMichael Muré2020-02-091-1/+86
|
* graphql: use the cache in priority for fast browsing at < 20ms instead of ↵Michael Muré2020-02-091-22/+86
| | | | seconds
* more more wipMichael Muré2020-02-081-11/+20
|
* cache: rework resolving of bugs, identityMichael Muré2020-02-081-42/+30
|
* cmd: "user create" only assign the user identity if not setMichael Muré2019-12-101-0/+4
|
* cache: update RepoCache and identity to use new repository Configamine2019-11-011-25/+10
|
* issue 178: fetch the repo dir with rev-parse --git-dirSebastien Devaux2019-08-241-3/+3
| | | | | Since is returns the .git dir directly, it is not more needed to concatenate .git.
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bridge/core: add ImportResult objects to stream import events bridge/core: launchpad support asynchronous import bridge/github: cancellable export and import functions bridge/gitlab: cancellable export and import functions commands: bridge pull/push gracefull kill bridge/github: fix github import bridge/github: use simple context for imports bridge/core: name parameters in interfaces github/core: Add EventError to export and import events types bridge/gitlab: add context support in gitlab requests functions bridge/gitlab: remove imported events count from importer logic bridge/github: remove imported events count from importer logic bridge/github: add context support in query and muration requets bridge/github: fix bug duplicate editions after multiple calls bridge/core: import import and export events String methods bridge/gitlab: fix error handling in note import events commands/bridge: Add statistics about imports and exports bridge/gitlab: properly handle context cancellation bridge/github: improve error handling bridge: break iterators on context cancel or timeout bridge: add context timeout support bridge: improve event formating and error handling commands: handle interrupt and switch cases bridge/github: add export mutation timeouts bridge: fix race condition bug in the github and gitlab importers bridge/github: improve context error handling
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-121-37/+37
|
* cache: expose the operation when creating a new bugMichael Muré2019-06-161-9/+9
|
* Add GetRemotes functionalitiesSladyn2019-05-291-1/+6
|
* repository: add ReadConfigBool and ReadConfigString functionsMichael Muré2019-05-271-0/+12
|
* doc: add an architecture overviewMichael Muré2019-04-181-1/+1
|
* cache: add a push/pull testMichael Muré2019-04-021-0/+21
|
* cache: properly push/pull identities and bugsMichael Muré2019-03-271-14/+46
|
* cache: add basic unit testingMichael Muré2019-03-251-0/+13
|
* cache: better API to access excerptsMichael Muré2019-03-011-12/+20
|
* identity: another round of cleanupsMichael Muré2019-03-011-4/+0
|
* commands: add a super-fast "user ls" commandMichael Muré2019-03-011-0/+12
|
* cache: fix ResolveIdentityImmutableMetadata byt storing metadata in ↵Michael Muré2019-03-011-2/+2
| | | | IdentityExcerpt
* identity: store the times properlyMichael Muré2019-03-011-1/+1
|
* identity: working identity cacheMichael Muré2019-03-011-8/+129
|
* identity: wip cachingMichael Muré2019-03-011-24/+64
|
* identity: work on higher level now, cache, first two identity commandsMichael Muré2019-03-011-16/+52
|
* identity: all tests green o/Michael Muré2019-03-011-1/+1
|
* identity: wip push/pullMichael Muré2019-03-011-1/+1
|
* identity: more cleaning and fixes after a code reviewMichael Muré2019-03-011-1/+1
|
* identity: more progress and fixesMichael Muré2019-03-011-45/+93
|
* identity: more progress and fixesMichael Muré2019-03-011-0/+70
|
* WIP identity in gitMichael Muré2019-03-011-2/+3
|
* cache: fix unhandled errorMichael Muré2019-02-281-1/+1
|
* cache: output the build info message on stderr to avoid breaking scriptsMichael Muré2019-02-201-2/+2
|
* github: working incremental + comment history for the first commentMichael Muré2018-10-011-1/+25
|
* bug: in op convenience function, return the new op to be able to set ↵Michael Muré2018-10-011-2/+2
| | | | metadata later
* add documentationMichael Muré2018-10-011-0/+3
|
* merge package operations into bug, they are tightly coupled anywayMichael Muré2018-09-291-2/+1
|
* cache: add raw edit functions to allow setting up the author, the timestamp ↵Michael Muré2018-09-251-1/+13
| | | | and the metadatas
* commands: add "bridge rm"Michael Muré2018-09-241-0/+7
|
* repo: add functions to read/write git configMichael Muré2018-09-241-0/+8
|
* repo: split the Repo interface to avoid abstraction leak in RepoCacheMichael Muré2018-09-211-6/+20
|
* commands: add a "ls-labels" command that output valid labelsMichael Muré2018-09-211-0/+30
|
* cache: relay early the merge eventsMichael Muré2018-09-191-4/+2
|
* cache: don't ignore error when building the cacheMichael Muré2018-09-181-2/+10
|