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

POD update #51

Merged
merged 1 commit into from Nov 25, 2018
Merged

POD update #51

merged 1 commit into from Nov 25, 2018

Conversation

genio
Copy link
Contributor

@genio genio commented Jun 4, 2014

Suggestions of given/when shouldn't be there. Maybe Switch::Plain or something could be suggested, or just leave it off?

Suggestions of given/when shouldn't be there.  Maybe Switch::Plain or something could be suggested, or just leave it off?
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)
@nthykier nthykier merged commit 30c9934 into Dual-Life:master Nov 25, 2018
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.

None yet

2 participants