Archive git repository with its submodules.
Project Links
Meta
Author: Ilya Kulakov
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6
Classifiers
Development Status
- 5 - Production/Stable
Environment
- Console
Intended Audience
- Developers
- System Administrators
License
- OSI Approved :: MIT License
Natural Language
- English
Programming Language
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
- Python :: 2
- Python :: 2.6
- Python :: 2.7
- Python :: 3
- Python :: 3.4
- Python :: 3.5
- Python :: 3.6
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
Topic
- Software Development :: Version Control
- System :: Archiving
Archive a repository with all its submodules.
git-archive-all [-v] [-C BASE_REPO] [--prefix PREFIX] [--no-export-ignore] [--force-submodules] [--include EXTRA1 ...] [--dry-run] [-0 | ... | -9] OUTPUT_FILE
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose enable verbose mode
--prefix=PREFIX prepend PREFIX to each filename in the archive;
defaults to OUTPUT_FILE name
-C BASE_REPO use BASE_REPO as the main git repository to archive;
defaults to the current directory when empty
--no-export-ignore ignore the [-]export-ignore attribute in .gitattributes
--force-submodules force `git submodule init && git submodule update` at
each level before iterating submodules
--include=EXTRA additional files to include in the archive
--dry-run show files to be archived without actually creating the archive
Questions & Answers
Q: How to exclude files?
A: Mark paths you want to exclude in the .gitattributes file with the export-ignore attribute. Read more on git-scm.com.
Q: What about non-unicode filenames?
A: All filenames that particular version of Python can represent and handle are supported. Extra [en|de]coding is done where appropriate.
Support
If functional you need is missing but you’re ready to pay for it, feel free to contact me. If not, create an issue anyway, I’ll take a look as soon as I can.
1.23.1
Oct 03, 2022
1.23.0
Jan 29, 2021
1.22.0
Aug 04, 2020
1.21.0
Feb 13, 2020
1.20.0
Nov 07, 2019
1.19.4
Dec 08, 2018
1.19.3
Nov 27, 2018
1.19.2
Nov 14, 2018
1.19.1
Nov 01, 2018
1.19.0
Oct 31, 2018
1.18.3
Sep 27, 2018
1.18.2
Sep 20, 2018
1.18.1
Sep 01, 2018
1.18.0
Aug 15, 2018
1.17.1
Feb 13, 2018
1.17
Feb 13, 2018
1.16.4
Mar 17, 2017
1.16.3
Mar 07, 2017
1.15
Sep 01, 2016
1.14
Sep 01, 2016
1.13
Nov 12, 2015
Wheel compatibility matrix
Files in release
No dependencies