repo_combiner

Version, currently main branch1 version
  • main branchlatestApr 10, 2022

github.com/sam0x17/repo_combiner

A tool for combining multiple github repo histories together (for analytics purposes typically)

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  repo_combiner:
    github: sam0x17/repo_combiner
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.3.2
License
MIT
Author
Sam Johnson
Target
  • repo_combiner from src/repo_combiner.cr

Dependencies

This version declares no dependencies.

README

RepoCombiner

example workflow

RepoCombiner provides an easy CLI interface for combining multiple unrelated git histories (whether they originate from branches within the same repository, or entirely separate repositories) into one consolidated repository with a shared git history. This is extremely useful for taking advantage of analytics services such as GitHub Insights which are unable to perform any useful analysis on a multi-repo or whole-organization basis (ironically this is true even for GitHub Enterprise customers!).

Installation

Add the following to the dependencies section of your shard.yml file:

dependencies:
  repo_combiner:
    github: sam0x17/repo_combiner

Usage

The following will combine the assert.cr repo and the sepectator repo in an output directory called output:

./repo_combiner output https://github.com/sam0x17/assert.cr.git https://github.com/icy-arctic-fox/spectator.git

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/repo_combiner/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors