]> git.rmz.io Git - dotfiles.git/commitdiff
bugwarrior: split up mrs/issues/todos into 3 separate targets
authorSamir Benmendil <me@rmz.io>
Sun, 7 Dec 2025 20:16:22 +0000 (20:16 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 7 Dec 2025 21:27:00 +0000 (21:27 +0000)
This allows setting the project accordingly... Maybe setting the project
is not the right way, but this will work for now.

bugwarrior/bugwarrior.toml

index a92e2b304e516b00e477010142f0623f0bebaa5c..92e38f6a453032262854e77acf792b4032cbe20e 100644 (file)
@@ -2,7 +2,7 @@
 
 [general]
 taskrc = "~/.config/task/taskrc"
-targets = ["fpp_gitlab", "fpp_gitlab_todo"]
+targets = ["fpp_gitlab_mr", "fpp_gitlab_issue", "fpp_gitlab_todo"]
 
 shorten      = false
 inline_links = true
@@ -10,22 +10,39 @@ inline_links = true
 annotation_links    = false
 annotation_comments = false
 
-[fpp_gitlab]
+[fpp_gitlab_mr]
 service = "gitlab"
 login   = "samir.fpp"
 token   = "@oracle:eval:pass fpp/gitlab.com/tokens/bugwarrior"
 host    = "gitlab.com"
 
 include_repos = ["fppnt/sgnss/springfield"]
-add_tags = ["work", "gitlab", "{{gitlabtype}}"]
+add_tags = ["gitlab", "mr"]
 
 owned                  = false
-include_issues         = true
+include_issues         = false
 include_merge_requests = true
 include_todos          = false
-default_issue_priority = "L"
 default_mr_priority    = "H"
 
+project_template     = "stm.!{{gitlabnumber}}"
+description_template = "{{gitlabtitle}}"
+
+[fpp_gitlab_issue]
+service = "gitlab"
+login   = "samir.fpp"
+token   = "@oracle:eval:pass fpp/gitlab.com/tokens/bugwarrior"
+host    = "gitlab.com"
+
+include_repos = ["fppnt/sgnss/springfield"]
+add_tags = ["gitlab", "issue"]
+
+owned                  = false
+include_issues         = true
+include_merge_requests = false
+include_todos          = false
+default_issue_priority = "L"
+
 project_template     = "stm.#{{gitlabnumber}}"
 description_template = "{{gitlabtitle}}"
 
@@ -35,7 +52,7 @@ login   = "samir.fpp"
 token   = "@oracle:eval:pass fpp/gitlab.com/tokens/bugwarrior"
 host    = "gitlab.com"
 
-add_tags = ["work", "gitlab", "todo"]
+add_tags = ["gitlab", "todo"]
 
 owned = true
 include_issues         = false