Git Product home page Git Product logo

reporobot's Introduction

Reporobot

This is the source code for @reporobot who lives on a server and interacts with repositories on behalf of Git-it. Git-it is a beginners adventure(!) for learning Git and GitHub, of the nodeschool.io series. Through a series of challenges, users learn the basics like committing, working with remotes, branching, forking, pushing, pulling and making pull requests. @reporobot brings fun, not so one-way times to the challenges like adding a collaborators, pulling changes and verifying pull requests to the learning experience.

Reporobot is built with Node.js, lives on a Digital Ocean Droplet and is deployed with maxogden/taco.

Reporobot's Jobs

Verify Git-it Challenges

  • There are two challenges in Git-it that need to be verified with the GitHub API instead of Git itself like the other challenges. A challenge on verifying @reporobot has been added as a collaborator and another verifying that the user submitted a pull request. @reporobot returns a true or false for each.

Collaborate with Git-it Users

  • In one challenge of Git-it, users are asked to add @reporobot as a collaborator. When they do @reporobot is notified via the GitHub email which sends a webhook via cloudmailin. Then it writes to the repository which creates an opportunity for the users to learn about pulling in changes and staying in sync.

Handle Pull Requests

  • When users submit a pull request @reporobot verifies that the pull request is as expected. If it is not, it writes a comment on the pull request describing what was missing. If it is as expected, it merges the pull request.

Builds index

  • After a pull request is merged @reporobot adds that user to a list of users who have completed all of the challenges. From that list and a with a template, it rebuilds and pushes the index.html of jlord/patchwork (the repository Git-it users fork and pull request against) with the latest completer.

Busy robot.

reporobot's People

Contributors

jlord avatar alrra avatar

Watchers

James Cloos avatar Aaron Purtill 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.