Code Monkey home page Code Monkey logo

rector-ci's Introduction

Rector CI

Build Status

Automated CI service for Rector.

We are looking for early adopters!

After each your commit, Rector CI checks your code for upgrades, if there is any it opens pull request automatically with fixes, all you have to do is accept it!

Sounds great, right? Let us know so we can keep your code upgraded.


Sponsors

Rector grows faster with your help, the more you help the more work it saves you. Check out Rector's Patreon. One-time donation is welcomed trough PayPal.

rector-ci's People

Contributors

janmikes avatar tomasvotruba avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

rector-ci's Issues

Suggestion over PR

After my talk I got this feedback:
https://fixmie.com/

I love that's right in the code, you can deny it and it looks like another human giving you tips :)

How hard would that be?

Sign up with Github

User should be able to sign up with rector-ci.org and activate Rector CI for his repositories.

Deploy via Continuous Integration aka Continuous Delivery

Current manual deployment script in bin/deploy:

#!/usr/bin/env bash
cd ..
docker build -t rector/rector-ci .
docker push
ssh [email protected] "cd /projects/rector-ci.org && ./run.sh"

Anyways docker image rector/rector-ci is built automatically to docker hub, but it is not enough, we need to trigger on server docker-compose up

Brainstorming output

@TomasVotruba

TLDR:

  • Be able to sign up/in on rector-ci.org with github account
  • Change from commit hooks to PR hooks (when PR is opened)
  • Close PR if original PR is closed
  • Configure/activate sets
  • If set is activated then apply this set for PR
  • User should not be able to use Rector CI straight after signing up, user needs an activation, this is CLOSED BETA

IMG_2360

Add per rule commiting feature

Imagine there is PHP 8.0 set and everything is committed in one go. 30 rules with one commit. Very hard to rebase or modify.
In small code bases it cold be ok, but in practice it easier to work with smaller chunks.

Based on talk with @jfrnl

Activation of sets per repository

User should be able to see list of sets and activate them one by one.

Activation of set should send PR to master branch and if accepted, then mark set as activated.

When user opens pull request to repository, his PR will be scanned by all activated sets.

@TomasVotruba i will please need list of sets possible to run which can be used and activated by user for his repository and maybe user readable name of set + features it offers, maybe examples, i do not know what things would user need to know about set ๐Ÿ˜„

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.