aboutsummaryrefslogtreecommitdiffstats
path: root/bug
Commit message (Collapse)AuthorAgeFilesLines
* expose format versionvince2020-12-151-2/+3
| | | | this commit exposes the format version of the operation pack and identity to reduce the changes needed in vendored code when migrating. This also creates error variables that can be propagated and tested against for migrations.
* repo: finish RepoStorage moveMichael Muré2020-12-081-2/+2
|
* add remove identity featurevince2020-11-221-18/+3
| | | | | | also adds: - listlocalidentities - refactors refstoids into entity package
* identity: remove support for legacy identityMichael Muré2020-10-0411-43/+150
|
* cache,bug,identity: structural changeMichael Muré2020-10-048-89/+112
| | | | | | - 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-043-5/+9
|
* bug: fix testsMichael Muré2020-08-261-5/+5
|
* bug: use sha256 to compute labels color, to use a single hash function in ↵Michael Muré2020-08-261-3/+4
| | | | the codebase
* bug: code cleanup for the rm featureMichael Muré2020-07-282-15/+17
|
* Fix bug testsvince2020-07-282-18/+108
|
* 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
|
* typos and minor readme fixMichael Muré2020-07-151-1/+1
|
* Add functionality to remove bugs from a local repository. (#423)Vincent Tiu2020-07-092-2/+18
| | | | | 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-0110-50/+50
|
* repo: more testsMichael Muré2020-06-271-1/+1
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-264-29/+58
| | | | | | | | | - 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.
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-254-23/+8
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* bug: make sure to disable label color escape when not on a terminalMichael Muré2020-06-141-44/+50
|
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-0912-13/+34
|\
| * graphql: use the cache in priority for fast browsing at < 20ms instead of ↵Michael Muré2020-02-0910-3/+27
| | | | | | | | seconds
| * more more wipMichael Muré2020-02-081-1/+1
| |
| * various cleanups suggested by golang-ciMichael Muré2020-02-082-9/+6
| |
* | codereview #2: some cleanup, correct use of nothing-eventsJosh Bialkowski2019-12-181-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+7
|/
* bug: make sure there is no Operation's hash collisionMichael Muré2019-11-194-18/+27
|
* bug: use NeedCommit() in the interface, drop HasPendingOp()Michael Muré2019-11-194-9/+18
|
* repo: esthetism renameMichael Muré2019-11-192-4/+4
|
* bug: don't forget to assign the new packs after a mergeMichael Muré2019-11-191-0/+2
| | | | fix #235
* bug: fix testsludovicm672019-10-151-9/+8
|
* bug: rename RGBA to Colorludovicm672019-10-151-28/+41
|
* termui: add colors for labelsludovicm672019-10-151-0/+11
|
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-124-17/+16
|
* bug,entity: use a dedicated type to store IDsMichael Muré2019-08-1125-385/+213
|
* fix everything following the hash-->id changeMichael Muré2019-08-081-3/+2
|
* bug: compute op's ID based on the serialized data on diskMichael Muré2019-08-0823-159/+153
|
* bug: add snapshot.SearchComment methodAmine Hilaly2019-07-231-0/+11
|
* [bug] add snapshot.GetCreateMetadata methodAmine Hilaly2019-06-301-0/+45
| | | | | | | | | | [bug] add snapshot.HasParticipant(id string) [bug] add snapshot.HasAnyParticipant(ids ...string) [bug] add snapshot.HasActor(id string) [bug] add snapshot.HasAnyActor(ids ...string) [bridge/github] improve comments [bridge/github] exporter tests: register deleteRepository in cleaner [bridge/github] tests rebase
* [bridge/github] Correcte some types and add commentsAmine Hilaly2019-06-241-1/+2
| | | | | | | | | | | | General improvements Co-Authored-By: Michael Muré <batolettre@gmail.com> empty array check an empty array is not nil Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [bug] Operations: add GetAuthor method for operation interface andAmine Hilaly2019-06-241-0/+6
| | | | BaseOp
* minor cleanupMichael Muré2019-06-235-15/+15
|
* bug: fix Bug's Lamport edit time potentially wrong due to rebaseMichael Muré2019-06-191-2/+6
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-272-13/+17
|
* graphql: Implement `Authored` whenever possibleQuentin Gliech2019-05-227-0/+21
| | | | webui: Use a fragment for Authored nodes
* graphql: expose label colorludovicm672019-05-221-18/+0
|
* core: use RBGA color from image/colorludovicm672019-05-222-44/+39
|
* core: rename Color to RGBColorludovicm672019-05-222-78/+54
|
* test: add some tests for label colorludovicm672019-05-221-0/+60
|
* core: format and add some comments for color labelludovicm672019-05-221-21/+23
|
* core: add color for labelludovicm672019-05-221-0/+40
|