Giter Site home page Giter Site logo

cryo's Introduction

CRYO tool - provide means of creating branch somewhat automatically with minial interaction with engineer.

#Use case

CRYO is simple tool that can use existing pull requests in order to create 'future' or 'frozen'. It will use current branch at target repo, fetch available pull requests and attempt to merge. In case of failure of TS, it will perform bisect on pull requests and vet unpure and unworthy. Result should be branch that pass TS and possibly can be used as next release.

#Configuration

##merge.sh

CRYO use external script to perform merge magic( in order to align with existing tooling). Script is locate at root of repository. At runtime this script has to be available through $PATH.

##Authentication

User running script or CI machine has to be authenticated with github in order to perform all operations. This can be achieved in any way. CRYO does not care.

##Aphrodite

CRYO depends on aphrodie. Thus it requires valid configuration present. It has to be accessible as value of '-Daphrodite.config' proprety passed at runtime.

##Logging

In order to make logging more transparent, it is encouraged to run CRYO with '-Djava.util.logging.SimpleFormatter.format='%4$s %5$s%6$s%n''.

##Command Line

-r


Points to local clone of git repository. It is the one CRYO will work on

-o


Switch operation source. Default to mvn, it can be used to switch to harmonia, ie: export HARMONIA_BUILD_SCRIPT=/opt/harmonia-build-script java -jar ..... -o HarmoniaOperationCenter

-d


Flag to turn on dry run - CRYO wont push brach to remote end. User can do that after verifying. Default: false

-i


Invert PRs in local storage. Github return newest PRs as first. Usually applying older ones is better solution. Default: false, no inversion.

-e


Comma separated list of pull request URLs( as they appear in github UI) that should not be part of process.

-s


Branch suffix that will be used to create new branch. Default: .future

-f


Switch on fast logging. By default CRYO will process output to at least at timestamp. In cases it's not needed this flag can alter it, so parts of build that create big logs, CRYO wont interfere. Default: false

cryo's People

Contributors

baranowb avatar gaol avatar

Watchers

 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.