vince
4e4ca106ae
Allow user to delete remote bugs
2020-07-28 14:30:05 +02:00
Vincent Tiu
f3304bdc1c
Add functionality to remove bugs from a local repository. ( #423 )
...
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.
2020-07-09 14:40:44 +02:00
Michael Muré
3cf31fc404
repository: merge git.Hash in for one less /util package
2020-07-01 19:39:02 +02:00
Michael Muré
939bcd57b9
repo: more tests
2020-06-27 22:00:15 +02:00
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
Michael Muré
81f5c3e0af
graphql: use the cache in priority for fast browsing at < 20ms instead of seconds
2020-02-09 02:18:44 +01:00
Michael Muré
283e97111b
bug: make sure there is no Operation's hash collision
2019-11-19 19:51:18 +01:00
Michael Muré
ed2ac793e9
bug: use NeedCommit() in the interface, drop HasPendingOp()
2019-11-19 00:28:06 +01:00
Michael Muré
a9b32e6bda
repo: esthetism rename
2019-11-19 00:27:40 +01:00
Michael Muré
0b2a99ab96
bug: don't forget to assign the new packs after a merge
...
fix #235
2019-11-19 00:26:38 +01:00
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Michael Muré
67a3752e17
bug,entity: use a dedicated type to store IDs
2019-08-11 14:08:03 +02:00
Michael Muré
777ccb9c68
bug: fix Bug's Lamport edit time potentially wrong due to rebase
2019-06-19 13:55:22 +02:00
Quentin Gliech
1c2ee10ce7
graphql: Implement Authored
whenever possible
...
webui: Use a fragment for Authored nodes
2019-05-22 21:46:43 +02:00
Michael Muré
d2483d83dd
identity: I can compile again !!
2019-03-01 22:40:24 +01:00
Michael Muré
21048e785d
identity: wip
2019-03-01 22:40:23 +01:00
Michael Muré
328a4e5abf
identity: wip push/pull
2019-03-01 22:40:23 +01:00
Michael Muré
56c6147eb6
identity: more refactoring progress
2019-03-01 22:40:22 +01:00
Michael Muré
06d9c68726
identity: implement the loading from git
2019-03-01 22:35:37 +01:00
Michael Muré
f026f61aaa
bug: custom error for the different error case when loading a bug
2018-10-01 23:27:34 +02:00
Michael Muré
41e61a67b6
bug: apply an operation with a pointer to the snapshot
2018-09-29 11:28:18 +02:00
Michael Muré
1bf268cebc
merge package operations into bug, they are tightly coupled anyway
2018-09-29 00:51:54 +02:00
Michael Muré
82eaceffc1
repo: split the Repo interface to avoid abstraction leak in RepoCache
2018-09-21 18:53:37 +02:00
Michael Muré
d57e2fdd19
commands: fix a panic on merge invalid
2018-09-19 21:45:52 +02:00
Michael Muré
8455567900
bug: readBug returns better errors
2018-09-18 23:36:22 +02:00
Michael Muré
0d5998eb67
commands: add a package to handle implicit bug selection
2018-09-18 12:49:16 +02:00
Michael Muré
6f5d433e33
docs & cleaning
2018-09-16 13:50:53 +02:00
Michael Muré
7bec0b1f13
bug: add a data validation process to avoid merging incorrect operations
2018-09-15 13:15:00 +02:00
Michael Muré
60fcfcdcb0
bug: change the OperationPack serialization format for Json
...
See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
2018-09-12 16:57:46 +02:00
Michael Muré
3605887345
reorganize package for a more idomatic go
2018-09-11 22:14:46 +02:00
Michael Muré
30d4bc2121
fix english grammar
2018-09-09 20:17:12 +02:00
Michael Muré
6d7e79a277
cache: refactor to handle bug changes during Pull
2018-09-08 14:17:08 +02:00
Michael Muré
e2a0d178cf
bug: make sure the lamport values are set properly after a commit
2018-09-03 21:39:10 +02:00
Michael Muré
e7648996c8
bug: add a new BugExerpt that hold a subset of a bug state for efficient sorting and retrieval
2018-08-23 19:19:16 +02:00
Michael Muré
16f55e3f4d
bug: introduce WithSnapshot to maintain incrementally and effitiently a snapshot
2018-08-23 19:15:50 +02:00
Michael Muré
b58812136e
bug: remove use of the too recent %(refname:lstrip=-1) of git
...
fix #24
2018-08-19 13:58:55 +02:00
Michael Muré
a474093774
bug: add "was" on SetTitleOperation to store what the title was
2018-08-15 22:01:45 +02:00
Michael Muré
df144e727a
fix some linting trouble
2018-08-13 15:28:47 +02:00
Michael Muré
5675299c8d
termui: commit the bug when quiting the show bug window
2018-08-09 14:45:02 +02:00
Michael Muré
435be2b693
bug: add a Lamport logical clock to be able to sort bugs by creation time and edit time without having to rely on a timestamp
2018-08-06 20:31:20 +02:00
Michael Muré
90fb85e067
bug: store the referenced media in their own git tree under /media, as per the doc I wrote myself
2018-08-05 15:26:36 +02:00
Michael Muré
d8f89726fe
implement media hosting in git for comments + API for the webui
2018-08-02 23:37:49 +02:00
Michael Muré
c58aa18a2d
graphql: lazy loading for the bug relay connection
2018-07-29 20:58:22 +02:00
Michael Muré
6a12373965
more refactoring to have reusable bug action across different UI
2018-07-25 18:01:32 +02:00
Michael Muré
cbdba92704
bug: fix merge procedure
2018-07-25 17:59:40 +02:00
Michael Muré
a28f325a43
fix remote refs pattern to match default git behavior
2018-07-25 17:58:54 +02:00
Michael Muré
17e2ec8f56
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
2018-07-23 00:04:46 +02:00
Michael Muré
59e6ae872c
NewBug can no longer error
2018-07-19 18:34:25 +02:00
Michael Muré
9f04fc2f7b
bug: replace the uuid based id with the hash of the first commit
2018-07-19 17:58:15 +02:00
Michael Muré
7f5922f905
rework all the commands to use cobra as a parser
2018-07-19 12:36:01 +02:00