Giter VIP home page Giter VIP logo

git-split's Introduction

split.sh

My attempt at automate @fabpot monorepo to multirepo stragegy
according to what he describe in his keynote symfony live paris
2016

All advanced features @fabpot talked about
  * performance issues
  * volume on hard drive
  * tagging

Are not implemented yet. It is just a way to have a feel for it

Some stuff TO DO
  * propagate tags to mulitrepo
  * build a smart merge commit message
  * setup config in a rc file
  * nicer logs and error reporting
  * build better checks for each steps to avoid bad pushes

Advanced tasks would be
  * maintaining multiple branches

Quotes from @fabpot
@see http://paris2016.live.symfony.com/speakers#session-1728
  Google and Facebook store their codebase into one giant code repository.
  Symfony has been doing the same thanks to Git and some secret sauce with great
  success since 2010.

  Having only one repository makes code management much easier for end users and
  core contributors: one central place to submit pull requests and report bugs,
  simple cross-project atomic changes, fast releases, and more.

  But what about users wanting to use only one component? Enter "repository
  splitting". After learning some theory about subtree splits and how to create
  them with the Git built-in but slow "subtree" command, I will talk about the
  tool I developed using libgit2 and Go to make the process almost real time.

  If you have a microservice oriented architecture and manage one repository per
  microservice, you could probably benefit from using the same technique with
  one repository for development and read-only splits for packaging and
  deployment.

git-split's People

Contributors

meshenka avatar

Stargazers

Christopher Hopper avatar  avatar

Watchers

 avatar

Forkers

volhov

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.