aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
Commit message (Collapse)AuthorAgeFilesLines
* bug: migrate to the DAG entity structure!Michael Muré2021-02-141-1/+1
|
* deal with the previous changesMichael Muré2021-02-141-1/+2
|
* repo: move bleve thereMichael Muré2020-12-081-8/+6
|
* repo: finish RepoStorage moveMichael Muré2020-12-081-23/+8
|
* Add full-text search support in the ls commandMike Goldin2020-11-171-19/+2
|
* Create a search cache index when git-bug starts up if none existsMike Goldin2020-11-171-0/+36
|
* identity: remove support for legacy identityMichael Muré2020-10-041-1/+2
|
* cache,bug,identity: structural changeMichael Muré2020-10-041-2/+2
| | | | | | - bug doesn't commit identities anymore, only make sure they are commit - cache use an IdentityResolver to load bugs with identities from the cache (deps injection) - IdentityCache now are identity.Interface
* repo: implement local/global/any config everywhereMichael Muré2020-09-291-0/+2
|
* Fix bugs and cleanup codevince2020-08-261-2/+2
|
* cache: simplify cache evictionMichael Muré2020-08-251-11/+19
|
* Implement cache eviction and testingvince2020-08-251-12/+4
|
* Implement the LRU Cachevince2020-08-201-2/+18
|
* cache: fix BugExcerpt's timestamp not properly storedMichael Muré2020-07-281-2/+1
| | | | fix #426
* cache: split into multiple files for readabilityMichael Muré2020-07-031-846/+14
|
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-011-5/+4
|
* Reorganize the webUI and API codeMichael Muré2020-06-271-0/+10
| | | | | | | | | | Included in the changes: - create a new /api root package to hold all API code, migrate /graphql in there - git API handlers all use the cache instead of the repo directly - git API handlers are now tested - git API handlers now require a "repo" mux parameter - lots of untangling of API/handlers/middleware - less code in commands/webui.go
* 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
|