DZone
DevOps Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > DevOps Zone > wring.io, a Dispatcher of Github Notifications

wring.io, a Dispatcher of Github Notifications

A brand new tool from the prolific Yegor365 should help anyone managing multiple GitHub repos with multiple contributors

Yegor Bugayenko user avatar by
Yegor Bugayenko
·
Mar. 24, 16 · DevOps Zone · Opinion
Like (2)
Save
Tweet
2.76K Views

Join the DZone community and get the full member experience.

Join For Free
badge

i'm taking participation in over 50 repositories in github. we manage all of our projects there. github is sending me hundreds of emails every day. i'm serious. hundreds! i tried to filter them somehow in gmail, but it's not really possible. gmail filters are not powerful enough to understand the difference between different types of notifications, and there are many other problems. i decided to create my own simple filtering machine. it's called wring.io .

the idea of wring.io is simple. first, i'm registering my sources of notifications (called "pipes"), such as github. then i'm giving wring.io permission to connect to github on my behalf and fetch whatever is new there.

then i'm configuring what should be filtered out, using text matching and/or regular expressions. right after a new pipe is created, wring.io starts pulling all my sources and updating my inbox. all i need to do is delete new messages from my inbox when i'm done with them. that's it.

let's see an example. first i'm creating a new pipe:

figure

it's a json object. property class must be set to io.wring.agents.github.aggithub . this is the name of the javaclass that will be pulling my notifications from github. the project isopen source, so you can see how the class actually works: aggithub .

property token must be set to the personal access token that i should create first in github. the server will connect to github on my behalf and under my credentials:

figure

property ignore must have an array of strings. each item is a matching pattern. i can use a text or a regular expression. by default, it's a text. if exactly the same text is found in a notification, it will be ignored. to use a regular expression, i need to wrap it in slashes (for example /[a-z]+/ ).you may skip that property and just specify this json:

{
  "class": "io.wring.agents.github.aggithub",
  "token": "your-personal-access-token"
}

then i go to my inbox and read what's there.

this solution literally saves me hours of time now. feel free to use it, it's absolutely free. moreover, it's open source, so feel free to contribute.

GitHub

Published at DZone with permission of Yegor Bugayenko. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • JUnit 5 Tutorial: Nice and Easy [Video]
  • How to Upload/Download a File To and From the Server
  • After COVID, Developers Really Are the New Kingmakers
  • The Evolution of Configuration Management: IaC vs. GitOps

Comments

DevOps Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo