extract a monorepo subdir
Project description
mono2repo
This module (and related script) creates a new stand alone repo out of monorepo subtree, including all the subtree history and commits.
Install
pip intall mono2repo
Example
This is the pelican git source tree:
https://github.com/getpelican/pelican-plugins.git
....
└ summary/
├── Readme.rst
└── summary.py
We want to extract the summary subdir and git log related entries.
Create a new repo
Create a new repo out of the pelican summary subtree:
mono2repo init summary-extracted \
https://github.com/getpelican/pelican-plugins.git/summary
Update the repo
Update the summary-extracted with the latest summary related changes:
mono2repo update summary-extracted
(see https://blog.getpelican.com/namespace-plugin-migration.html for more details)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mono2repo-0.0.3b7.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for mono2repo-0.0.3b7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ec73496f71ef2e7915566e8819d112b47b0fcbc8cb5f425ead1c8ed87f1c18 |
|
MD5 | b266ea4c927356abcaa40f4260eb1b99 |
|
BLAKE2b-256 | d9c991094a79efc16926301492a63ce06322fa4fbbfb959ae1fd61147cd40e94 |