aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug.go
Commit message (Collapse)AuthorAgeFilesLines
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-179/+0
|
* core: generalized resolvers to resolve any entity time when unmarshalling an ↵Michael Muré2022-08-181-9/+15
| | | | operation
* bug: fix an issue where Id would be used, then changed due to metadataMichael Muré2022-07-311-3/+3
|
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-251-7/+3
| | | | | | | | - reduce boilerplace necessary to implement an operation - consolidate what an operation is in the core, which in turn pave the way for a generic cache layer mechanism - avoid the previously complex unmarshalling process - support operation metadata from the core - simplified testing
* Fix a bunch of comments and documentationsMichael Muré2022-03-101-1/+1
|
* bug: migrate to the DAG entity structure!Michael Muré2021-02-141-519/+75
|
* WIPMichael Muré2021-02-141-2/+2
|
* bug: don't store the id in Bug, match how it's done for IdentityMichael Muré2021-02-141-33/+9
|
* bug: debugMichael Muré2021-02-141-0/+2
|
* bug: Id from first operation data, not git + remove root linkMichael Muré2021-02-141-160/+73
|
* add remove identity featurevince2020-11-221-18/+3
| | | | | | also adds: - listlocalidentities - refactors refstoids into entity package
* cache,bug,identity: structural changeMichael Muré2020-10-041-44/+38
| | | | | | - 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
* bug: code cleanup for the rm featureMichael Muré2020-07-281-15/+13
|
* Fix bug testsvince2020-07-281-7/+48
|
* Remove need to specify remotevince2020-07-281-9/+12
| | | | 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.
* Allow user to delete remote bugsvince2020-07-281-0/+7
|
* Add functionality to remove bugs from a local repository. (#423)Vincent Tiu2020-07-091-0/+5
| | | | | Add functionality to remove bugs from a local repository. This adds a function to remove git references in the repo and another one to remove bugs.
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-011-4/+3
|
* repo: more testsMichael Muré2020-06-271-1/+1
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-4/+23
| | | | | | | | | - 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.
* graphql: use the cache in priority for fast browsing at < 20ms instead of ↵Michael Muré2020-02-091-3/+0
| | | | seconds
* bug: make sure there is no Operation's hash collisionMichael Muré2019-11-191-0/+6
|
* bug: use NeedCommit() in the interface, drop HasPendingOp()Michael Muré2019-11-191-7/+2
|
* repo: esthetism renameMichael Muré2019-11-191-2/+2
|
* bug: don't forget to assign the new packs after a mergeMichael Muré2019-11-191-0/+2
| | | | fix #235
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-121-11/+5
|
* bug,entity: use a dedicated type to store IDsMichael Muré2019-08-111-32/+27
|
* bug: fix Bug's Lamport edit time potentially wrong due to rebaseMichael Muré2019-06-191-2/+6
|
* graphql: Implement `Authored` whenever possibleQuentin Gliech2019-05-221-0/+3
| | | | webui: Use a fragment for Authored nodes
* identity: I can compile again !!Michael Muré2019-03-011-1/+18
|
* identity: wipMichael Muré2019-03-011-2/+2
|
* identity: wip push/pullMichael Muré2019-03-011-2/+2
|
* identity: more refactoring progressMichael Muré2019-03-011-0/+9
|
* identity: implement the loading from gitMichael Muré2019-03-011-7/+7
|
* bug: custom error for the different error case when loading a bugMichael Muré2018-10-011-2/+10
|
* bug: apply an operation with a pointer to the snapshotMichael Muré2018-09-291-1/+1
|
* merge package operations into bug, they are tightly coupled anywayMichael Muré2018-09-291-2/+2
|
* repo: split the Repo interface to avoid abstraction leak in RepoCacheMichael Muré2018-09-211-8/+8
|
* commands: fix a panic on merge invalidMichael Muré2018-09-191-1/+5
|
* bug: readBug returns better errorsMichael Muré2018-09-181-15/+11
|
* commands: add a package to handle implicit bug selectionMichael Muré2018-09-181-4/+5
|
* docs & cleaningMichael Muré2018-09-161-0/+1
|
* bug: add a data validation process to avoid merging incorrect operationsMichael Muré2018-09-151-12/+16
|
* bug: change the OperationPack serialization format for JsonMichael Muré2018-09-121-4/+6
| | | | See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
* reorganize package for a more idomatic goMichael Muré2018-09-111-10/+11
|
* fix english grammarMichael Muré2018-09-091-4/+4
|
* cache: refactor to handle bug changes during PullMichael Muré2018-09-081-5/+1
|
* bug: make sure the lamport values are set properly after a commitMichael Muré2018-09-031-4/+4
|
* bug: add a new BugExerpt that hold a subset of a bug state for efficient ↵Michael Muré2018-08-231-0/+10
| | | | sorting and retrieval
* bug: introduce WithSnapshot to maintain incrementally and effitiently a ↵Michael Muré2018-08-231-8/+12
| | | | snapshot