aboutsummaryrefslogtreecommitdiffstats
path: root/cache
Commit message (Collapse)AuthorAgeFilesLines
* query: english specialized indexingMichael Muré2020-11-171-0/+2
|
* ls: fix query quotationMichael Muré2020-11-171-3/+10
|
* Add full-text search support in the ls commandMike Goldin2020-11-172-51/+54
|
* Create a search cache index when git-bug starts up if none existsMike Goldin2020-11-172-1/+102
|
* identity: remove support for legacy identityMichael Muré2020-10-043-23/+7
|
* cache,bug,identity: structural changeMichael Muré2020-10-045-4/+28
| | | | | | - 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: use go-git in more places, fix pushMichael Muré2020-10-041-5/+5
|
* repo: implement local/global/any config everywhereMichael Muré2020-09-292-0/+12
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-3/+2
|
* Update cache/lru_id_cache.goVincent Tiu2020-08-271-1/+1
| | | Co-authored-by: Michael Muré <batolettre@gmail.com>
* Fix bugs and cleanup codevince2020-08-262-3/+3
|
* cache: simplify cache evictionMichael Muré2020-08-254-98/+89
|
* Implement cache eviction and testingvince2020-08-255-75/+73
|
* Implement the LRU Cachevince2020-08-204-29/+220
|
* Fix concurrency errorvince2020-08-181-11/+24
|
* Remove pointer and unnecessary codevince2020-08-132-19/+1
|
* Add mutex to bugCachevince2020-08-132-0/+51
| | | | This adds a mutex to the bugCache to deal with locking.
* cache: fix BugExcerpt's timestamp not properly storedMichael Muré2020-07-282-10/+9
| | | | fix #426
* bug: code cleanup for the rm featureMichael Muré2020-07-281-0/+5
|
* Fix bug testsvince2020-07-281-5/+48
|
* Update docsvince2020-07-281-1/+1
|
* Remove need to specify remotevince2020-07-281-11/+2
| | | | This commit makes the removeBug command use the listRefs repo command to search for the bug, eliminating the need to input the remote the bug came from.
* Move args parsing out of repo cachevince2020-07-282-9/+5
|
* Add test for removing bug from cachevince2020-07-281-0/+5
|
* Allow user to delete remote bugsvince2020-07-281-3/+14
|
* Add the 'rm' commandvince2020-07-281-0/+18
| | | | This commit adds a command that removes a bug from the repository, given a prefix.
* cache: split into multiple files for readabilityMichael Muré2020-07-034-846/+881
|
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-012-8/+7
|
* Reorganize the webUI and API codeMichael Muré2020-06-272-8/+18
| | | | | | | | | | 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-262-3/+9
| | | | | | | | | - 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-252-10/+23
| | | | 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-282-14/+14
|
* cache: replace the all-in-one query parser by a complete one with ↵Michael Muré2020-03-286-251/+52
| | | | AST/lexer/parser
* cache: fix missing login in LegacyAuthorExcerpt causing panicMichael Muré2020-03-051-1/+2
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-254-10/+35
| | | | informational)
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-141-0/+12
|\
| * graphql: expose the name of RepositoryMichael Muré2020-02-121-0/+12
| |
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-097-139/+270
|\|
| * cache: add proper locking to avoid concurrent accessMichael Muré2020-02-093-31/+123
| |
| * 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-086-46/+29
| |
| * wipMichael Muré2020-02-081-1/+1
| |
| * cache: rework resolving of bugs, identityMichael Muré2020-02-081-42/+30
| |
| * identity: rework mutationMichael Muré2020-02-081-2/+2
| |
| * cache: don't store legacy identities IDs in bug excerpt as they are not ↵Michael Muré2020-02-031-6/+10
| | | | | | | | reachable. Fix a panic
* | codereview #2: some cleanup, correct use of nothing-eventsJosh Bialkowski2019-12-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * return error, don't panic * skipping status export is an error * use switch in config.go * move PromptPassword to input * move client construction into getIdentityClient * use non-pointer context throughout client since it is an interface * remove some TODOs * don't emit multiple nothing-events, just one per bug only if nothing happened. * rename EditBody to EditCreateComment * add configuration notes about additional values * store bug id map in a dictionary in the config * some fixes from testing
* | Implement jira bridgeJosh Bialkowski2019-12-181-0/+22
|/
* cmd: "user create" only assign the user identity if not setMichael Muré2019-12-101-0/+4
|
* bridge/github: importer corectly emit eventsamine2019-11-191-0/+4
|