New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

git-compose

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-compose

Compose GIT branches and cascade merge updates

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

GIT Compose

Compose GIT branches and cascade merge updates

Assumes your project is using the IIP™ branching pattern:

  • Isolation Branches
  • Integration Branches
  • Package Branches

Isolation Branch

A single technology in isolation, prefixed with iso__.

read more ...

Integration Branch

Integration between multiple technologies (ie. composed branches), prefixed with int__.

read more ...

Package Branch

Isolation, muliple Isolation and/or Integration Branches on their own or composed to create a foundation upon which a reusable package (eg. NPM package) is built, prefixed with pkg__.

read more ...

Other Branches

All other branches can be named whatever you want so long as they do not start with iso__, int__ or feat__ they will not be touched, by the commands below.

Quick Start

  • Install

    npm i -D git-compose
    
  • Make sure your branches follow the IIP™ branch naming conventions.

  • Use the commands below

Commands

  • print project branch hierarchy
    npx git-compose print_heirarchy
    
    verbose mode (shows full branch names)
    npx git-compose print_heirarchy -v
    
    fetch remotes
    npx git-compose print_heirarchy -f
    
  • build an integration branch
    npx git-compose build_integration_branch <branch>
    
    name must be prefixed with int__ and must contain existing branches eg. int__branch1--branch_sub2--branch_sub2_subsub1
  • cascade merge updates through all branches
    npx git-compose cascade_merge
    

Env file

Add an .env file to your project to configure this script. eg.

ROOT_BRANCH=iso__base
ERROR_LOG_PATH=git-branch-errors.txt

Complete Indemnity

The IIP™ standard is an experiment, use with discretion. I take no responsibility for any damage or loss resulting from the use of this package.

FAQs

Package last updated on 31 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts