GithubHelp home page GithubHelp logo

mikeln / careen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samsung-cnct/careen

0.0 2.0 0.0 6.81 MB

Careen is a utility to __clone__ repositories and __apply__ patches to them.

License: Apache License 2.0

Go 89.83% Makefile 3.87% Shell 6.30%

careen's Introduction

Careen

Careen is a utility to clone repositories and apply patches to them. It does not aim to be a general artifact management system, just to create a consistent set of sources to build from.

Careen is also verb meaning to "turn (a ship) on its side for cleaning, caulking, or repair."

Usage

git clone https://github.com/samsung-cnct/careen.git
cd careen
go build
./careen help
./careen clone -c manifests/docker.yaml
./careen apply -c manifests/docker.yaml

Build instructions vary by package and are expected to be codified by a CI system. For examples, see here https://github.com/samsung-cnct/kraken-ci-jobs (not yet implemented).

Repository Patch Set Specification

Options

Root Options

Key Name Required Type Description
version Required String Version of the repository patch set
packages Required Object Array Array of package

package options

Key Name Required Type Description
name Required String Name of package
repo Required String URL of the repository
revision Recommended String Commit hash from the repository
tag Required String Tag in repository
patches Optional Object Array Array of patch

patch options

Key Name Required Type Description
name Required String Name of patch
filename Required String Filename of patch
hash Required String SHA-1 hash of file referred to by filename
documentation Optional Object Array Optional array of URLs to PR requests, bug reports, or other documentation

Example

---
version: 0.0.1
packages:
  - name: docker
    repo: "https://github.com/docker/docker.git"
    revision: "b9f10c951893f9a00865890a5232e85d770c1087"
    tag: "v1.11.2"
    patches:
      - name: "Add support for setting sysctls"
        filename: docker-19265.patch
        hash: "71705e0fa7d5dc0d9495ce692e7c9b95a8ddf9ff"
        documentation:
          - "https://github.com/docker/docker/pull/19265"

careen's People

Contributors

coffeepac avatar davidewatson 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.