]> git.rmz.io Git - dotfiles.git/blobdiff - task/taskrc
task: update home/work contexts to exclude/include gitlab tags
[dotfiles.git] / task / taskrc
index 4a071aee312b22d36b70dcd7fa40e6df032b0aa7..73d2555e5f1eee066ecb6d8d25ac873224dde14c 100644 (file)
@@ -36,8 +36,8 @@ report.in.filter      = ( status:waiting or status:pending ) limit:page (+in)
 report.in.sort        = entry+
 
 report.today.description = Tasks for today
-report.today.columns     = id,start.age,priority,project,tags,scheduled.remaining,due.relative,until.remaining,description,urgency
-report.today.filter      = status:pending (-maybe -BLOCKED) (+ACTIVE or due.by:eod or scheduled.by:eod or +next) limit:page
+report.today.columns     = id,start.age,priority,project,tags,scheduled.relative,due.relative,until.remaining,description,urgency
+report.today.filter      = +READY (+ACTIVE or due.by:eod or scheduled.by:eod or +next) limit:page
 report.today.sort        = urgency-
 report.today.context     = yes
 
@@ -81,18 +81,66 @@ report.recurring.filter  = status:recurring
 #uda.rtype.label=Recur.Type
 #uda.rtype.type=string
 #uda.rtype.values=chained,periodic
-uda.r.label=TwRecurrence
-uda.r.type=string
-uda.rparent.label=Parent task
-uda.rparent.type=string
-uda.rwait.label=Wait (instance)
-uda.rwait.type=date
-uda.runtil.label=Until WIP (instance)
-uda.runtil.type=date
-uda.rscheduled.label=Scheduled (instance)
+uda.r.label=R
+uda.r.type=duration
+uda.rskip.label=rskip
+uda.rskip.type=string
+uda.rskip.values = no,yes
+uda.rparent.label=Parent
+uda.rparent.type=uuid
+uda.rlastinstance.label=Last child
+uda.rlastinstance.type=uuid
+# TODO: Remove the UDAs once they are no longer in use
 uda.rscheduled.type=date
-uda.rlastinstance.label=Last child task
-uda.rlastinstance.type=string
+uda.rnext_due.label=Due (next)
+uda.rnext_due.type=date
+uda.rnext_scheduled.label=Scheduled (next)
+uda.rnext_scheduled.type=date
+uda.rnext_wait.type=Wait (next)
+uda.rnext_wait.type=date
+uda.rnext_until.type=Until (next)
+uda.rnext_until.type=date
+uda.runtil.label=Until (instance)
+uda.runtil.type=date
+
+# Bugwarrior UDAs
+uda.gitlabtitle.type=string
+uda.gitlabtitle.label=Title
+uda.gitlabdescription.type=string
+uda.gitlabdescription.label=Description
+uda.gitlabcreatedon.type=date
+uda.gitlabcreatedon.label=Created
+uda.gitlabupdatedat.type=date
+uda.gitlabupdatedat.label=Updated
+uda.gitlabduedate.type=date
+uda.gitlabduedate.label=Due Date
+uda.gitlabmilestone.type=string
+uda.gitlabmilestone.label=Milestone
+uda.gitlaburl.type=string
+uda.gitlaburl.label=URL
+uda.gitlabrepo.type=string
+uda.gitlabrepo.label=Repo Slug
+uda.gitlabtype.type=string
+uda.gitlabtype.label=Type
+uda.gitlabnumber.type=string
+uda.gitlabnumber.label=Issue/MR #
+uda.gitlabstate.type=string
+uda.gitlabstate.label=Issue/MR State
+uda.gitlabupvotes.type=numeric
+uda.gitlabupvotes.label=Upvotes
+uda.gitlabdownvotes.type=numeric
+uda.gitlabdownvotes.label=Downvotes
+uda.gitlabwip.type=numeric
+uda.gitlabwip.label=MR Work-In-Progress Flag
+uda.gitlabauthor.type=string
+uda.gitlabauthor.label=Author
+uda.gitlabassignee.type=string
+uda.gitlabassignee.label=Assignee
+uda.gitlabnamespace.type=string
+uda.gitlabnamespace.label=Namespace
+uda.gitlabweight.type=numeric
+uda.gitlabweight.label=Weight
+# END Bugwarrior UDAs
 
 # taskd
 taskd.certificate=$XDG_DATA_HOME/task/hactar.cert.pem
@@ -103,7 +151,7 @@ taskd.server=rmz.io:53589
 
 # Context
 ## Combination of work and home related chores/habits
-context.wfh.read   = (work:yes or work:wfh or +habit or +chore)
+context.wfh.read   = (work:yes or work:wfh or +habit or +chore or +gitlab)
 context.wfh.write  = work:yes
 
 ## Work only for planning (maybe not needed?)
@@ -111,11 +159,11 @@ context.work.read  = work.any:
 context.work.write = work:yes
 
 ## Home, no work
-context.home.read  = work.none:
+context.home.read  = (work.none: and -gitlab)
 
 ## Outside, meant to be for checking on phone for other things I should do while out
 context.outside.read=+outside
 
 # NOTE: a context setting may be updated/added automatically on the last line
-news.version=3.0.2
+news.version=3.3.1
 context=home