Giter VIP home page Giter VIP logo

devdigest's Introduction

DEPRECATED: NO LONGER IN USE!

Devdigest

Send out Spreedly's GitHub activity on a daily basis. This one repo powers two digests - the devdigest and the opsdigest (detailed further below)

Development

To setup the app locally, copy the sample config (and make appropriate edits for secrets, dev addresses etc...):

$ cp .env.sample .env

Then use heroku local to load up the env and run one of the rake tasks:

$ heroku local:run bundle exec rake digest

Deployment

Assumes you are a collaborator on the spreedly-devdigest and spreedly-opsdigest Heroku app

In order for the heroku CLI to run, you need to have the heroku git remote configured locally. Do so with:

$ heroku git:remote -a spreedly-devdigest -r devdigest
$ heroku git:remote -a spreedly-opsdigest -r opsdigest

To deploy a new version, simply use git push to the correct remote:

$ git push devdigest master
$ git push opsdigest master

Add a new repository

The digest is a ruby script that uses the Github API to list all commits for specific repositories. You must tell the digest which repos to monitor.

To add a new repo to monitor (switch both -r devdigest flags if you need to make an opsdigest change):

$ heroku config:set GITHUB_REPOS="`heroku config:get GITHUB_REPOS -r devdigest`,new-repo-name" -r devdigest

Usage

The app on Heroku is configured to send out an email once per weekday. To manually invoke this task you can run:

$ heroku run bundle exec rake daily_email -r devdigest

If you want to see the (markdown) contents of the digest email without sending an email:

$ heroku run bundle exec rake digest -r devdigest

devdigest's People

Contributors

brandur avatar erichs avatar geemus avatar hgmnz avatar jknipp avatar lmarburger avatar mfine avatar mmcgrana avatar ptere avatar rwdaigle avatar till avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devdigest's Issues

[RFC] Separate out Pushes and Comments

Code pushes seem so much more important, and right now it's hard to scan for them vs code pushes. Could we start with a list of pushes, and then rather than individual comments, instead just highlight things that have been commented on, with a list of those who have commented?

  • core
    • "Something awesome" pushed by Ryan
    • "Even more awesome since it works" pushed by Duff
    • "What's up with that?" commented on by Nathaniel, Ryan, and Adam

This kind of assumes #1.

[RFC] Organize by repo

I find myself wanting to focus on projects, not people, when reviewing the digest for a day. What do we think of organizing work primarily by repo rather than by contributor? Thinking something like:

  • core
    • "Something awesome" pushed by Ryan
    • "What up with that" commented on by Nathaniel

Cuts down on one level of nesting, and just seems easier to zero in on what's worth looking at.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.