Skip to content

Conversation

@techman83
Copy link

Working logging concept. Service for monitoring the bus and library for easy including in other scripts/libraries.

Changes/suggestions welcome :)

pjf added a commit to pjf/bugwarrior that referenced this pull request Mar 1, 2017
The default strings generated by BugWarrior for github use a short 'PR'
or 'Is' string to indicate if something is a pull-request or issue
respectively. However no UDA exists allowing the user to use these when
specifying their own description_templates in their `.bugwarriorrc`.

This change adds a `githubshorttype` UDA.

Sample config:

    description_template = {{githubrepo}}#{{githubnumber}} ({{githubshorttype}}) {{githubtitle}}

Snippet of resulting output (dry-run):

    INFO:bugwarrior.db:Adding task pjf/exobrain#50 (Is) Personal log classifying agent (not really)
    INFO:bugwarrior.db:Adding task pjf/masterwork-dwarf-fortress#122 (Is) Wild orc traders keep bringing barrels of fire (not really)
    INFO:bugwarrior.db:Adding task pjf/exobrain#55 (PR) Logging (not really)
    INFO:bugwarrior.db:Adding task pjf/masterwork-dwarf-fortress#125 (Is) Simple wood option doesn't apply to orcs. (not really)
    INFO:bugwarrior.db:Adding task Dual-Life/autodie#51 (PR) POD update (not really)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant