Giter Club home page Giter Club logo

funnel's Introduction

Funnel

A little CI service that makes sure your pull request is ready according to the git practices of your team.

Image of Vaporeon

Using funnel on a project

  1. Visit the Funnel app listing: https://github.com/apps/funnel

  2. Click Configure

  3. Select the organization and project(s) you want to use Funnel on

  4. Go to https://funnel-c5.herokuapp.com/repositories to configure your repositories.

That's it! ๐Ÿ˜„ Now, funnel will check and watch open pull requests to see if they are ready for merging. It can check to see if your PR is squashed into a single commit, rebased on the base branch, or both!

Developing

Local Setup

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install

Now you can visit localhost:4000 from your browser.

Environment

See .envrc-sample for en example.

source .envrc

Running

Start Phoenix server with mix phx.server

Testing

mix test

Deploying

git push heroku master

See it live at https://funnel-c5.herokuapp.com.

References

GitHub API

funnel's People

Contributors

dependabot[bot] avatar dopatraman avatar hannahhoward avatar outofambit avatar seport avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hannahhoward

funnel's Issues

Remove phoenix boilerplate html

let's just do something really simple like "Funnel" in Arial bold for the header and a link to the repositories index on the homepage.

Bug: Appears to have trouble with forked repos

Steps to reproduce:

  1. Install funnel on a repo
  2. Fork that repo to another person/organization
  3. Make a properly rebased and squashed branch on the forked repo
  4. Submit a PR from the forked repo to the original

Pretty sure Funnel will fail

See current status on #28 - I believe it's rebased and squashed.

Feature Proposal: lock/unlock action buttons

While this tool is great, there are still several valid reasons for the Swell team to use the "lock-unlock" system in Slack. I wonder if it would be possible to streamline that process by adding a lock/unlock action button at the right of the funnel bar. If this would be a sensible amount of work, I would expect it to work like this:

  1. If my PR has a green checkmark, and the lock is available, I can click on the lock action button to reserve the lock. This means that nobody else can merge to development while I have reserved the lock.
  2. Once my PR is merged to development (even better if we check that CI passes), the lock is automatically unlocked.
  3. Not necessary but maybe a nice to have: messaging to our #dev-status Slack channel.

implement auth for end users

basically, we need to be able to associate an installation with a GitHub user that can change settings stored on funnel for use with that installation.

google? github?

verify is_notable_action? is working

i think i keep seeing my pr status get reevaluated when i make non-code changes to the pr

if there's a bug, its likely in https://github.com/carbonfive/funnel/blob/f0ab433e3d424955754e3eaed470ff4a567c616a/lib/funnel/investigator/helpers.ex#L55-57

we need to make sure that this function only returns true for "opened", "reopened", and "synchronize". and that Investigator is using that value to skip investigation when is_notable_action? returns false.

more context from the GitHub API docs: https://developer.github.com/v3/activity/events/types/#pullrequestevent

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.