Skip to content

Notification/subscription system #2534

Open

Description

@Bartvds

Now we can have our own webhook service (#2533) we could make this happen.

The problem it solves is getting more people into the review-loop without having the full DT fire-hose open in their mailbox.

My idea was to map popular files (or directories) on DT to some sort of subscribe-able channels so people can watch changes to libraries that interest them.

I'm not sure what a good outlet would be, we have some options (anything with an API really).

  • Gitter (integrates nicely with Github, first choice)
  • Slack (cool but a little too closed-off)
  • Github issue tracker in separate repo (maybe break TOS but would totally work)
  • IRC (meh, so ancient)
  • Twitter (not really suited)
  • ... ?

The only requirement is ease of subscription and unlimited channels: user subscription should ideally use Github-auth so users can just click stuff to subscribe (Gitter does this nicely)

For the mapping we can revive the old idea of manifest/meta file in a directory, and set a channel element. This way we can re-use channels and add all angularjs related libraries to one channel, all jquery modules etc. The webhook can read/monitor these and keep track of what files/folders map to which channel.

We could also opt to add a channel url it to the file headers, not sure if that's desirable, but would look cool and can easily be parsed by definition-header.

Note that not every def needs a channel, it's mostly about the popular high quality stuff.

I think the channels would be hard-coded in the webhook, but freely mappable once defined.

What say you?

Activity

  1. Diullei commented on Jul 19, 2014

    @Diullei
    Member

    I like the idea and I think Gitter a good choice! I think the channel info
    could be put in a separate file at the definition directory or in a unique
    file at the repo root with all channel's info.
    Em 19/07/2014 08:35, "Bart van der Schoor" [email protected]
    escreveu:

    Now we can have our own webhook service (#2533
    #2533) we could
    make this happen.

    The problem it solves is getting more people into the review-loop without
    having the full DT fire-hose open in their mailbox.

    My idea was to map popular files (or directories) on DT to some sort of
    subscribe-able channels so people can watch changes to libraries that
    interest them.

    I'm not sure what a good outlet would be, we have some options (anything
    with an API really).

    The only requirement is ease of subscription and unlimited channels: user
    subscription should ideally use Github-auth so users can just click stuff
    to subscribe (Gitter does this nicely)

    For the mapping we can revive the old idea of manifest/meta file in a
    directory, and set a channel element. This way we can re-use channels and
    add all angularjs related libraries to one channel, all jquery modules etc.
    The webhook can read/monitor these and keep track of what files/folders map
    to which channel.

    We could also opt to add a channel url it to the file headers, not sure if
    that's desirable, but would look cool and can easily be parsed by
    definition-header.

    Note that not every def needs a channel, it's mostly about the popular
    high quality stuff.

    I think the channels would be hard-coded in the webhook, but freely
    mappable once defined.

    What say you?

    —
    Reply to this email directly or view it on GitHub
    #2534.

  2. johnnyreilly commented on Jul 19, 2014

    @johnnyreilly
    Member

    Sounds like a plan @Bartvds - I think Gitter sounds like a winner

  3. omidkrad commented on Jul 19, 2014

    @omidkrad
    Contributor

    This is great if people can subscribe to PRs that modify the definitions they are interested in, or a group of them. In Gitter you can enable browser notifications and have to have the browser open to get them but couldn't find a way to enable email notifications. Maybe we should set up webhook to email too?

  4. Bartvds commented on Jul 19, 2014

    @Bartvds
    CollaboratorAuthor

    Yea it's pretty neat: you can post messages to the API in markdown, and it does some clever stuff with formatting & linking github urls and @mentions and such.

    And it automatically does a email notification if you joined a room but closed the tab/browser, you get and email with 'Activity on Gitter' and all the rooms that had stuff happening while you were away, and it tracks+highlights read/unread etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions