Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging #55

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Logging #55

wants to merge 7 commits into from

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