aboutsummaryrefslogtreecommitdiffstats
path: root/cache
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #532 from MichaelMure/dag-entityMichael Muré2021-04-048-25/+84
|\ | | | | Work towards a reusable entity datastructure + commit signature
| * Merge remote-tracking branch 'origin/master' into dag-entityMichael Muré2021-03-293-3/+56
| |\
| * | bug: wrap dag.Entity into a full Bug in MergeAllMichael Muré2021-02-141-1/+1
| | |
| * | bug: migrate to the DAG entity structure!Michael Muré2021-02-146-11/+18
| | |
| * | entity: readAll and more testingMichael Muré2021-02-141-1/+1
| | |
| * | entity: more progress on merging and signingMichael Muré2021-02-141-4/+1
| | |
| * | entity: generalize the combined Ids, use 64 lengthMichael Muré2021-02-141-1/+1
| | |
| * | Change the comment ID to use both bug and comment ID references.vince2021-02-141-0/+47
| | | | | | | | | | | | | | | Add comment edit command This commit adds the comment edit command, which provides a CLI tool that allows a user to edit a comment.
| * | deal with the previous changesMichael Muré2021-02-143-8/+16
| | |
* | | cache: fix no-label filter not properly wiredMichael Muré2021-03-291-0/+3
| |/ |/|
* | cache: test for FTS bub with long descriptionMichael Muré2021-03-291-0/+20
| |
* | cache: only FTS index token < 100 charactersMichael Muré2021-03-281-3/+18
| |
* | Add ability to search by arbitrary metadataMiklos Vajna2021-02-211-0/+18
|/ | | | | | | | | | | | Example: ~/git/git-bug/git-bug ls --metadata github-url=https://github.com/author/myproject/issues/42 or ~/git/git-bug/git-bug ls metadata:github-url:\"https://github.com/author/myproject/issues/42\" Fixes the cmdline part of <https://github.com/MichaelMure/git-bug/issues/567>.
* repo: move bleve thereMichael Muré2020-12-083-46/+32
|
* repo: finish RepoStorage moveMichael Muré2020-12-085-53/+27
|
* 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
|