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

Adding format config option for GitHub. #164

Open
junaruga opened this issue Dec 3, 2018 · 3 comments
Open

Adding format config option for GitHub. #164

junaruga opened this issue Dec 3, 2018 · 3 comments

Comments

@junaruga
Copy link

junaruga commented Dec 3, 2018

Thanks for the great product.

I would like to customize the output format for github, because while below is a default output for github,

(venv2) $ did month --since=2018-11-01
Status report for given date range (2018-11-01 to 2018-12-03).
...
* Issues created on github: 16
    * junaruga/rpm-py-installer#166 - Travis: Add notification email with...
...
* Pull requests created on github: 21
    * trinityrnaseq/trinityrnaseq#608 - Add .pyc files to .gitignore.

I would prefer below format with clickable URL and full title.

* Issues created on github: 16
...
   * Travis: Add notification email with secure way
      https://github.com/junaruga/rpm-py-installer/issues/166
    * ...
* Pull requests created on github: 21
    * Add .pyc files to .gitignore.
      https://github.com/trinityrnaseq/trinityrnaseq/pull/608

How about adding format item like this, (default is {owner}/{project}#{issue or pull-request id} - {title} like current behavior)?

[github]
type = github
url = https://api.github.com/
login = junaruga
format =  "{title}\n  {url}"
@psss
Copy link
Owner

psss commented Dec 19, 2018

Thanks for the feedback. This sounds like a nice improvement! Patches are welcome.

@hrw
Copy link
Contributor

hrw commented Aug 8, 2022

From quick check that would require changing all plugins to provide not only short text definition of item but also long one and url.

@SgtPooki
Copy link

SgtPooki commented Sep 20, 2022

could we use a --github-urls CLI option and then return the URL instead of the text?


edit: that wouldn't solve the request to support a format option, but it could provide a solution for getting URLs which would work for my needs

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

4 participants