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

Personal log classifying agent #50

Open
pjf opened this issue May 1, 2014 · 0 comments
Open

Personal log classifying agent #50

pjf opened this issue May 1, 2014 · 0 comments

Comments

@pjf
Copy link
Owner

pjf commented May 1, 2014

I've realised most of the personal logging I want to do are things I'm pushing out to social media already. Consequently, I want a frictionless logging classifier. The rule is simple:

  • If I see a status (Measurement::Social) containing the #log tag, then add that to my personal log. (Possibly with a note indicating its source).

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1927389-personal-log-classifying-agent?utm_campaign=plugin&utm_content=tracker%2F347315&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F347315&utm_medium=issues&utm_source=github).
pjf added a commit to pjf/bugwarrior that referenced this issue 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
Projects
None yet
Development

No branches or pull requests

1 participant