Comments (5)
Options:
- polling bot's PR issue comments
Docs: https://developer.github.com/v3/issues/comments/
Example: https://api.github.com/repos/thiagoarrais/personal-toolbox/issues/20/comments
- polling notifications api
Docs: https://developer.github.com/v3/activity/notifications/
Example: https://api.github.com/notifications
- expecting an integration webhook call for a comment on anonydog's relayed pull request
would be awesome. but it simply doesn't work :-)
anything else?
from anonydog.
current planed version:
- Poll https://api.github.com/notifications for any news on the various pull requests opened by the bot
- Upon getting a notification, go to it's
subject/url
(this should be the pull request API URL) - Retrieve the pull request's comments (
_links/comments
) and diffline comments (_links/review_comments
) - Mirror each comment above to the original pull request (and store the original comment ids in some database to avoid re-mirroring).
Bonus points: mirror reviews. These are different from review comments (diffline comments). They can be found on the (experimental, not linked) URL https://api.github.com/repos/thiagoarrais/personal-toolbox/pulls/20/reviews
known drawback: this can't handle edited comments, since the notifications API does not expose those.
from anonydog.
Note to self: Normal comments are covered as of 694cba8. Need to work on review comments (diff comments).
from anonydog.
Review comments to-do list:
- maintainer -> contributor (original)
-
maintainer -> contributor (reply) - contributor -> maintainer (original
+ reply)
from anonydog.
reopened until deployed to prod
from anonydog.
Related Issues (20)
- browser extension HOT 2
- browser extension: cannot use remote images
- browser extension: missing icon
- browser extension: missing privacy policy
- Contributor cannot reference issue number
- Comment from maintainer did not get relayed
- Cannot link to contributor comment (?)
- Rebase did not get synchronized
- Publish extension for Chrome HOT 2
- Notify author when PR gets merged
- Por favor faรงa um logo para a gente HOT 3
- commits don't get added HOT 3
- Replace backers badge with barkers badge HOT 1
- https for webapp and webhook
- multi-server support
- need to change user data (cloud-config.txt) manually HOT 2
- need to start apps manually
- echo reviews HOT 1
- mirror reviews
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anonydog.