Skip to content

Commit e04a094

Browse files
committed
feat: use partial clone for submodules too
- Follow up of #22. - Bump version to 20240721. - Doc updated.
1 parent 04ad2f0 commit e04a094

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

acbs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '20240720'
1+
__version__ = '20240721'

acbs/fetch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def git_processor(package: ACBSPackageInfo, index: int, source_name: str) -> Non
151151
logging.info('Fetching submodules (if any)...')
152152
params = [
153153
'git', '--git-dir', info.source_location, '--work-tree', checkout_location,
154-
'submodule', 'update', '--init'
154+
'submodule', 'update', '--init', '--filter=blob:none'
155155
]
156156
if info.submodule == 2:
157157
params.append('--recursive')

docs/source/appendix.rst

+15-15
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ Appendix
55
Supported VCS
66
-------------
77

8-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
9-
| VCS | Supported? | Fetch | Update | Branch | Revision | URL Check | Note |
10-
+==================+============+=======+========+========+==========+===========+===============================================+
11-
| Git | Y | Y | Y | Y | Y | Y | Automatically fetch submodules |
12-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
13-
| Mercurial (hg) | Y | Y | Y | Y | Y | Y | |
14-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
15-
| Subversion (svn) | Y | Y | Y | Y | Y | N | |
16-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
17-
| Baazar (bzr) | Y | Y | Y | N | Y | N | Some functionalities are not verified |
18-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
19-
| Fossil (fossil) | Y | Y | Y | N | Y | N | |
20-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
21-
| BitKeeper (bk) | N | N | N | N | N | N | Not supported |
22-
+------------------+------------+-------+--------+--------+----------+-----------+-----------------------------------------------+
8+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
9+
| VCS | Supported? | Fetch | Update | Branch | Revision | URL Check | Note |
10+
+==================+============+=======+========+========+==========+===========+===============================================================+
11+
| Git | Y | Y | Y | Y | Y | Y | Automatically fetch submodules, blobless clone when supported |
12+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
13+
| Mercurial (hg) | Y | Y | Y | Y | Y | Y | |
14+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
15+
| Subversion (svn) | Y | Y | Y | Y | Y | N | |
16+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
17+
| Baazar (bzr) | Y | Y | Y | N | Y | N | Some functionalities are not verified |
18+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
19+
| Fossil (fossil) | Y | Y | Y | N | Y | N | |
20+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
21+
| BitKeeper (bk) | N | N | N | N | N | N | Not supported |
22+
+------------------+------------+-------+--------+--------+----------+-----------+---------------------------------------------------------------+
2323

2424
Acceptable Prefixes for ``SRCS``
2525
--------------------------------

0 commit comments

Comments
 (0)