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

GitHub: publish tag-of posts to add labels to issues #811

Closed
tantek opened this issue Apr 18, 2018 · 4 comments
Closed

GitHub: publish tag-of posts to add labels to issues #811

tantek opened this issue Apr 18, 2018 · 4 comments
Labels

Comments

@tantek
Copy link
Contributor

@tantek tantek commented Apr 18, 2018

Problem: Currently you have to use GitHub’s web UI to add (and remove) labels from issues.

The indieweb has nascent 'tag-reply' post type using 'u-tag-of' markup. See this minimal set of markup inside an h-entry.

I realize it would be even more helpful to have a real-live tag-of post permalink to refer to (preferably to a GitHub issue), so I will work on that next. I’m hoping this is enough to at least get started though.

It would be great if Bridgy Publish could 1. recognize that tag-of post to a GitHub issue, 2. add the respective label to the issue.

Label(s): publish

(Originally published at: http://tantek.com/2018/108/b1/bridgy-publish-should-posse-tag-of)

@snarfed snarfed added the publish label Apr 18, 2018
@tantek
Copy link
Contributor Author

@tantek tantek commented Apr 18, 2018

There is also the counterpart: 'untag-of' posts (https://indieweb.org/untag) which are more of a brainstorm at this point, but I figured worth pointing out as a future enhancement, in case that helps generalize the code for 'tag-of' support.

Problem: currently you have to use Github’s web UI to remove a label from an issue.

If you could post an 'untag-of' response to a GitHub issue, and Bridgy Publish recognized that, it could call the GitHub API to (attempt to) remove the respective label from that issue.

The current brainstormed markup is similar to that for a 'tag-of' post, but with class name 'untag-of' instead.

Feedback and contributions welcome on https://indieweb.org/untag

Also reasonable to consider 'untag-of' support a potential future separate issue rather than as part of implementing 'tag-of' support.

(Originally published at: http://tantek.com/2018/108/t2/untag-of-bridgy-publish-github-label)

@snarfed
Copy link
Owner

@snarfed snarfed commented Apr 18, 2018

thanks! agreed.

add/remove label aren't in the v4 GraphQL API afaict, but are in the v3 REST API.

@snarfed snarfed changed the title Enhancement: Bridgy Publish to GitHub should POSSE tag-of posts to add labels to issues GitHub: publish tag-of posts to add labels to issues May 9, 2018
@snarfed
Copy link
Owner

@snarfed snarfed commented Jul 3, 2018

interestingly, this would be the first bridgy publish feature for editing an existing post, in any silo, as opposed to creating a new one. (likes don't really count. :P)

snarfed added a commit to snarfed/granary that referenced this issue Jul 6, 2018
...to reuse when adding/removing labels from an issue. snarfed/bridgy#811
@snarfed snarfed added now and removed now labels Jul 6, 2018
snarfed added a commit to snarfed/granary that referenced this issue Jul 6, 2018
snarfed added a commit that referenced this issue Jul 6, 2018
for #811
@snarfed snarfed removed the now label Jul 6, 2018
snarfed added a commit that referenced this issue Jul 6, 2018
@snarfed
Copy link
Owner

@snarfed snarfed commented Jul 6, 2018

deployed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants