git-bug/bug
Michael Muré 88ad7e606f
repository: remove tie to Bug, improved and reusable testing
- 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.
2020-06-26 19:14:22 +02:00
..
bug_actions_test.go repository: remove tie to Bug, improved and reusable testing 2020-06-26 19:14:22 +02:00
bug_actions.go finish the refactoring for the dedicated identifier type 2019-08-12 16:12:14 +02:00
bug_test.go bug: make sure there is no Operation's hash collision 2019-11-19 19:51:18 +01:00
bug.go repository: remove tie to Bug, improved and reusable testing 2020-06-26 19:14:22 +02:00
clocks.go repository: remove tie to Bug, improved and reusable testing 2020-06-26 19:14:22 +02:00
comment.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
identity.go identity: more refactoring progress 2019-03-01 22:40:22 +01:00
interface.go various cleanups suggested by golang-ci 2020-02-08 16:17:15 +01:00
label_test.go bug: fix tests 2019-10-15 21:03:27 +02:00
label.go bug: make sure to disable label color escape when not on a terminal 2020-06-14 18:06:42 +02:00
op_add_comment_test.go finish the refactoring for the dedicated identifier type 2019-08-12 16:12:14 +02:00
op_add_comment.go graphql: use the cache in priority for fast browsing at < 20ms instead of seconds 2020-02-09 02:18:44 +01:00
op_create_test.go bug: harmonize how time are used, fix some issues in command special formats 2020-06-25 23:18:17 +02:00
op_create.go bug: harmonize how time are used, fix some issues in command special formats 2020-06-25 23:18:17 +02:00
op_edit_comment_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
op_edit_comment.go Merge remote-tracking branch 'origin/master' into cheshirekow-jira 2020-02-09 20:23:38 +01:00
op_label_change_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
op_label_change.go graphql: use the cache in priority for fast browsing at < 20ms instead of seconds 2020-02-09 02:18:44 +01:00
op_noop_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
op_noop.go graphql: use the cache in priority for fast browsing at < 20ms instead of seconds 2020-02-09 02:18:44 +01:00
op_set_metadata_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
op_set_metadata.go graphql: use the cache in priority for fast browsing at < 20ms instead of seconds 2020-02-09 02:18:44 +01:00
op_set_status_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
op_set_status.go graphql: use the cache in priority for fast browsing at < 20ms instead of seconds 2020-02-09 02:18:44 +01:00
op_set_title_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
op_set_title.go graphql: use the cache in priority for fast browsing at < 20ms instead of seconds 2020-02-09 02:18:44 +01:00
operation_iterator_test.go bug: make sure there is no Operation's hash collision 2019-11-19 19:51:18 +01:00
operation_iterator.go bug: introduce WithSnapshot to maintain incrementally and effitiently a snapshot 2018-08-23 19:15:50 +02:00
operation_pack_test.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
operation_pack.go bug: compute op's ID based on the serialized data on disk 2019-08-08 19:02:46 +02:00
operation_test.go repository: remove tie to Bug, improved and reusable testing 2020-06-26 19:14:22 +02:00
operation.go bug: harmonize how time are used, fix some issues in command special formats 2020-06-25 23:18:17 +02:00
snapshot.go bug: harmonize how time are used, fix some issues in command special formats 2020-06-25 23:18:17 +02:00
sorting.go bug: add "was" on SetTitleOperation to store what the title was 2018-08-15 22:01:45 +02:00
status.go more more wip 2020-02-08 17:19:57 +01:00
timeline.go bug,entity: use a dedicated type to store IDs 2019-08-11 14:08:03 +02:00
with_snapshot.go bug: apply an operation with a pointer to the snapshot 2018-09-29 11:28:18 +02:00