Giter Site home page Giter Site logo

tedium's Introduction

Tedium!

A helpful bot for doing mass changes to Polymer team's github repos.

Requirements:

Node v5:

Tedium is written in Typescript and compiled to ES2015, so you want the latest version of node. The easiest way to do this is with nvm:

nvm install v5

Github token

You need to create a github token and place it in a file named token. The token only needs the 'public repos' permission.

Generate a token here: https://github.com/settings/tokens

Building

Just npm install then npm run build. For automatic building as files changes, run npm run build:watch.

Running tedium

After that, just node tedium.js will do the right thing.

Namely it will:

  1. query github for all PolymerElements repos
  2. clone every repo at master
  3. attempt to apply all of its automatic changes to each repo
  4. print out the repos that were changed so that you can inspect them in the repos directory

If you approve of the changes then you can run tedium again with the --max_changes arg, and it will actually push the changes automatically to github.

One important thing to keep in mind is that the repos directory is deleted and regenerated from scratch each time it runs.

tedium has the concept of changes that need review, and changes that don't. If there are any changes that do need review, you'll be assigned to the PRs that are created. Otherwise the changes are just pushed to master.

Before tedium exits it always displays a summary of what it did and what, if anything, was pushed up to github.

tedium's People

Contributors

rictic avatar dfreedm avatar justinfagnani avatar abdonrd avatar

Stargazers

Ismael IC avatar

Watchers

James Cloos avatar  avatar

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.