aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
Commit message (Collapse)AuthorAgeFilesLines
* feat: update references to the git-bug organization (#1249)sudoforge2024-08-241-4/+4
| | | | | | | | The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
* execenv: fix some cache building progress bar artifactMichael Muré2023-03-181-0/+5
| | | | Still one issue remaining: the last bar doesn't dissapear. Looks like a mbp issue.
* Merge pull request #987 from MichaelMure/cache-progress-barMichael Muré2023-01-141-16/+11
|\ | | | | commands: add a nice terminal progress bar when building the cache
| * commands: add a nice terminal progress bar when building the cacheMichael Muré2023-01-111-16/+11
| | | | | | | | One issue remaining is that writing the cache takes significant time, but I don't know how to reflect that nicely to the user.
* | add wipe sub-command that remove local bugs and identitiesKalin Staykov2023-01-111-0/+1
|/
* properly close files in edge cases in various placesMichael Muré2023-01-111-7/+10
|
* make go1.19 fmt happyMichael Muré2023-01-111-8/+8
|
* cache: simplify cache building events handlingMichael Muré2022-12-271-23/+24
|
* cache: tie the last printf in an event to make the core print freeMichael Muré2022-12-271-46/+44
|
* cache: fix some bugs after refactorMichael Muré2022-12-231-7/+27
|
* cache: tie up the refactor up to compilingMichael Muré2022-12-211-27/+22
|
* WIPMichael Muré2022-12-191-64/+22
|
* WIPMichael Muré2022-12-151-16/+73
|
* WIPMichael Muré2022-11-291-32/+43
|
* WIPMichael Muré2022-11-281-16/+13
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-2/+2
|
* core: generalized resolvers to resolve any entity time when unmarshalling an ↵Michael Muré2022-08-181-8/+6
| | | | operation
* bug: fix an issue where Id would be used, then changed due to metadataMichael Muré2022-07-311-3/+3
|
* cache: many fixes following the dag entity migrationMichael Muré2021-04-081-1/+1
|
* 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.