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.3.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for mono2repo-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cd5253d9a5f401eba859e91c76e2499ae8a9b0cfe1831a3c7706b7b1fb3678 |
|
MD5 | 2bb3cb8e24b99a3344d6c409e7d99f40 |
|
BLAKE2b-256 | b3758384d6127fd29739319fbbd04e67903578d1c15941cc5e7c57a1ecea83cb |