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
(or you can just download the mono2repo.py module)
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.4b10.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for mono2repo-0.0.4b10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dfdfd393e66503b10213bdd99922dc8929ae41d99440e6c30a30455997494d5 |
|
MD5 | 748b4d295a5da61ddf1e35eb09e9dd84 |
|
BLAKE2b-256 | e93aeac46f6beb217ec83870d687fc95bed42cbd82da3e07bbc6efd270a00976 |