A library for managing git repositories in a directory.
Project description
Not gitmodules
Why this?
- This is how simple gitmodules should be. Add and remove modules without caring about irrelevant stuff. No shitshow, just simplicity.
- Production-use friendly. Which is documented in the LISENSE.
- No third-party libs needed, only built-in tools used.
- OS-agnostic. Written in Python, which means this can be used in any type of projects that are supposed to run on Linux.
Installation
- Git clone
- Pip install
pip install not-gitmodules
Usage
Create a notgitmodules.yaml file in your root directory
- Example with code:
repos:
# directory: url (ssh or https)
# example
file_reader: https://github.com/Free-Apps-for-All/file_manager_git_module
Then pass it to initializer function:
from not_gitmodules import initializer
initializer('/path/to/notgitmodules.yaml')
- Example with CLI
Possible issues with private repositories
If cloning failed, but you have access to the repository, try to provide HTTPS repo-url instead of SSH
in notgitmodules.yaml.
That's it!
No more waste of time with index, .git, metadata, which actually offer no trade.
Author
Armen-Jean Andreasian, 2024
License
This project is licensed under the Custom License. See the LICENSE file for details.
- You may use the project for commercial or personal purposes.
- You may not claim ownership of the project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file not_gitmodules-0.1.1.tar.gz.
File metadata
- Download URL: not_gitmodules-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d2508bf0e0be5c6f648b4524916f50876cba91f768c9e043470540c6251bade
|
|
| MD5 |
97bb8902005520cc9bc66827e53362eb
|
|
| BLAKE2b-256 |
cc545086c419ab9195e16d04afde9a2761038be33622552b2f16fe7cd0145004
|
File details
Details for the file not_gitmodules-0.1.1-py3-none-any.whl.
File metadata
- Download URL: not_gitmodules-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2bf7a744138958f0ccdaf02eebccaed51adc97ad740507fcdee519286de873
|
|
| MD5 |
5f0a16615725772016660cbc4baadc8f
|
|
| BLAKE2b-256 |
27c648d88b0e8170eb0b98a9c1e74633351e4dd3d01443551116357c5962035a
|