summaryrefslogtreecommitdiffstatshomepage
path: root/bridge/core/import.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 19:03:38 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-19 19:13:15 +0100
commit67c82f4a2d683e746df5f8af9e0725acd252d29d (patch)
tree6656383e3f48200c0c8ea7c86c5dd23010daf393 /bridge/core/import.go
parentabae3c245e1f844ebadb79eb5d7b19412f67f886 (diff)
downloadgit-bug-67c82f4a2d683e746df5f8af9e0725acd252d29d.tar.gz
git-bug-67c82f4a2d683e746df5f8af9e0725acd252d29d.zip
bridge/core: document import/export events
Diffstat (limited to 'bridge/core/import.go')
-rw-r--r--bridge/core/import.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/bridge/core/import.go b/bridge/core/import.go
index cff30f61..e4771d2c 100644
--- a/bridge/core/import.go
+++ b/bridge/core/import.go
@@ -10,14 +10,26 @@ type ImportEvent int
const (
_ ImportEvent = iota
+
+ // Bug has been created
ImportEventBug
+ // Comment has been created
ImportEventComment
+ // Comment has been edited
ImportEventCommentEdition
+ // Bug's status has changed
ImportEventStatusChange
+ // Bug's title has changed
ImportEventTitleEdition
+ // Bug's labels changed
ImportEventLabelChange
- ImportEventIdentity
+ // Nothing happened on a Bug
ImportEventNothing
+
+ // Identity has been created
+ ImportEventIdentity
+
+ // Error happened during import
ImportEventError
)