Comments (11)
I think a good approach is to just add a special comment when we add them to the repo (it's only 1 time per user, so not too spammy), letting them know that they've been subscribed and they may want to edit their notification settings for the repo to just include issues they're following, and not the full firehose.
from zulipbot.
@lonerz I wonder if those have to be run as the (un)subscribed user, rather than as the bot.
It's probably specified in those docs, so I apologize in advance (I just made a quick skim).
I would be happy to work on this after I finish with my current PRs, but if anyone else is willing to fix this, feel free to take over :)
from zulipbot.
@YagoGG there should be a function in the node-github api to deal with this problem: http://mikedeboer.github.io/node-github/
from zulipbot.
@YagoGG I'm almost certain that when you are added as a collaborator, then you are automatically subscribed.
from zulipbot.
@lonerz Yup, that's the theory.
However, I wonder if there's anything we can do to avoid it, or at least undo it. If it's completely impossible, I guess that a friendly message pointing to the notification settings (https://github.com/zulip/<repo>/subscription
) would do the trick.
from zulipbot.
@YagoGG Unfortunately, I don't think zulipbot can remove your automatic subscription to a repository when you're added as a collaborator; the GitHub API only allows you to modify the notifications of the user you are authenticated as.
from zulipbot.
Sounds good! Will add that in my next push.
from zulipbot.
@YagoGG Oh, turns out you're not automatically subscribed to a repository's events when you're given push settings.
If you have the Automatically watch repositories option selected in https://github.com/settings/notifications, you'll automatically watch a repository when you are given push access to it, but you won't get notifications or watch the repo if you disable that setting. I've tested this out personally and confirmed that this issue doesn't apply to everyone.
@timabbott @lonerz Do you still think that a warning comment should be added even though this isn't an issue for everyone?
from zulipbot.
Hmmm, interesting. Nice catch, @synicalsyntax!
I don't remember having modified those settings. Could you guys check whether you have that setting activated by default or not?
from zulipbot.
That setting is activated by default.
from zulipbot.
Yep, it is most definitely default.
from zulipbot.
Related Issues (20)
- problem: unhandled promise rejection HOT 12
- Features for the zulip-mobile repository. HOT 12
- Improve installation documentation HOT 7
- Limit the number of issues a contributor can claim HOT 1
- Unassigned before 14 days and without notifying
- Not ignoring updates to pull requests with "WIP" in the title
- Replacing "travis updates" label feature with a similar one for circile
- "no assignee" spam HOT 6
- Comment a good public stream to discuss the issue after an `area` tag is applied.
- Removes all assignees incorrectly
- Get rid of "Hello @____ members" issue comments
- Command to move issues to other repos
- Support default branch names other than master HOT 1
- Block non-member from adding labels to issues.
- Block issues from being claimed that are already closed
- Wrongful assignation when explaining how Zulipbot works HOT 4
- Bot does not respond to "quote" messages
- Fix zulipbot unassign operation.
- `zulipbot` does not respond to check-in comment. HOT 1
- contributors still limited when claiming issues when repository has a large number of contributors.
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 zulipbot.