aboutsummaryrefslogtreecommitdiffstats
path: root/cache
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-125-87/+62
|
* bug,entity: use a dedicated type to store IDsMichael Muré2019-08-111-3/+4
|
* fix everything following the hash-->id changeMichael Muré2019-08-081-12/+8
|
* [misc] update man docs and completion scriptsAmine Hilaly2019-06-241-1/+1
| | | | | | [cache] BugCache: Fix set metadata raw [bridge/github] Fix graphql input objects
* [cache] BugCache: Add set metadata methodsAmine Hilaly2019-06-241-0/+18
| | | | | | [bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo
* cache: consistently use "ref" to fetch a repositoryMichael Muré2019-06-231-1/+1
|
* fix testsMichael Muré2019-06-161-4/+4
|
* graphql: change mutations to respect the Relay specificationMichael Muré2019-06-161-2/+2
| | | | | | | https://facebook.github.io/relay/graphql/mutations.htm This specification also allow to expose a mutationId for fire and forget, as well as the created operation.
* 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
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-4/+6
|
* Add ForceLabelChange functionalitiesAmine Hilaly2019-05-051-0/+27
|
* doc: add an architecture overviewMichael Muré2019-04-182-2/+2
|
* commands: fix ls not displaying the new Identities properlyMichael Muré2019-04-111-0/+14
|
* implement identityExcerpt match method and integrate it into filtersAmine Hilaly2019-04-052-12/+11
| | | | Update docs
* Support query with identity ID and truncated IDAmine Hilaly2019-04-051-1/+5
|
* improve docsAmine Hilaly2019-04-051-6/+6
|
* Improve actor/participant query filtersAmine Hilaly2019-04-041-18/+26
| | | | Lower case identity login
* Expose actors and participants in snapshot and bug excerptAmine Hilaly2019-04-044-10/+79
| | | | | | | | Append operations authors to each list on Apply() call Expose actors and participants in graphql Add actor/participant query filter and documentation
* cache: add a push/pull testMichael Muré2019-04-022-0/+76
|
* cache/filter.go: Fix and match for labelsSladyn2019-03-311-1/+1
| | | | | | | Fixed filter query for multiple labels from `OR` to `AND` according to github conventions. Fixed https://github.com/MichaelMure/git-bug/issues/115
* cache: properly push/pull identities and bugsMichael Muré2019-03-271-14/+46
|
* cache: add basic unit testingMichael Muré2019-03-252-0/+114
|
* cache: make the title filter case insensitiveMichael Muré2019-03-032-3/+40
|
* Commit to chane the description of functionSladyn2019-03-031-1/+1
|