batchfetch 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- batchfetch/__init__.py +23 -0
- batchfetch/batchfetch_base.py +192 -0
- batchfetch/batchfetch_cli.py +249 -0
- batchfetch/batchfetch_git.py +329 -0
- batchfetch/helpers.py +116 -0
- batchfetch-1.0.0.dist-info/LICENSE +674 -0
- batchfetch-1.0.0.dist-info/METADATA +76 -0
- batchfetch-1.0.0.dist-info/RECORD +11 -0
- batchfetch-1.0.0.dist-info/WHEEL +5 -0
- batchfetch-1.0.0.dist-info/entry_points.txt +2 -0
- batchfetch-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: batchfetch
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Home-page: https://github.com/jamescherti/batchfetch
|
|
5
|
+
Author: James Cherti
|
|
6
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
7
|
+
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
|
|
8
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
11
|
+
Classifier: Operating System :: POSIX :: Other
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
14
|
+
Classifier: Topic :: Utilities
|
|
15
|
+
Requires-Python: >=3.6, <4
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: colorama
|
|
19
|
+
Requires-Dist: schema
|
|
20
|
+
Requires-Dist: setproctitle
|
|
21
|
+
Requires-Dist: PyYAML
|
|
22
|
+
|
|
23
|
+
# Batchfetch - Efficiently clone or pull multiple Git repositories.
|
|
24
|
+
|
|
25
|
+
## Introduction
|
|
26
|
+
|
|
27
|
+
Efficiently clone or pull multiple Git repositories in parallel. Ideal for developers managing multiple projects or for downloading plugins or packages in bulk.
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
sudo pip install git+https://github.com/jamescherti/batchfetch
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Example
|
|
36
|
+
|
|
37
|
+
Here is an example of a `batchfetch.yaml` file:
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
tasks:
|
|
43
|
+
# Clone the default branch of the general.el repository to the
|
|
44
|
+
# './general.el' directory
|
|
45
|
+
- git: https://github.com/noctuid/general.el
|
|
46
|
+
|
|
47
|
+
# Clone the tag 1.5 of the consult repository to the './consult'
|
|
48
|
+
# directory
|
|
49
|
+
- git: https://github.com/minad/consult
|
|
50
|
+
branch: "1.5"
|
|
51
|
+
|
|
52
|
+
# Clone the s.el repository to the './another-name.el' directory
|
|
53
|
+
- git: https://github.com/magnars/s.el
|
|
54
|
+
path: another-name.el
|
|
55
|
+
branch: dda84d38fffdaf0c9b12837b504b402af910d01d
|
|
56
|
+
|
|
57
|
+
# Delete './impatient-mode'
|
|
58
|
+
- git: https://github.com/skeeto/impatient-mode
|
|
59
|
+
delete: true
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Execute the `batchfetch` command from the same directory as `batchfetch.yml` to make it clone or update the local copies of the repositories above.
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
Copyright (c) [James Cherti](https://www.jamescherti.com)
|
|
67
|
+
|
|
68
|
+
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
69
|
+
|
|
70
|
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
71
|
+
|
|
72
|
+
You should have received a copy of the GNU General Public License along with this program.
|
|
73
|
+
|
|
74
|
+
## Links
|
|
75
|
+
|
|
76
|
+
- [The batchfetch Git repository](https://github.com/jamescherti/batchfetch)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
batchfetch/__init__.py,sha256=9LhKzgwN1ADZ5eAZzPsoW0Eu5fsP02gYj1iuaKhqMx4,883
|
|
2
|
+
batchfetch/batchfetch_base.py,sha256=YawZJTIT3lWjcGiOP4LiwwwNSV7OpXpfplhgm3cZ83M,5541
|
|
3
|
+
batchfetch/batchfetch_cli.py,sha256=LumeJOiuvqy9DzHNT2R_8zjV_fMroag4mw079P2tyog,8249
|
|
4
|
+
batchfetch/batchfetch_git.py,sha256=C3_Z2mtjoPFdQXiNPtjfElhBmBxwcxZ6tiLU_qFxH_A,11874
|
|
5
|
+
batchfetch/helpers.py,sha256=CV0QLx1qmEU2yuQ3DjINAPc3SEW1XzYyj3WeF-JKA5s,4081
|
|
6
|
+
batchfetch-1.0.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
7
|
+
batchfetch-1.0.0.dist-info/METADATA,sha256=6_QLLRc6I4IgIwbsq8s8Wp7phTVyHlsw-gM6GJsks-0,2661
|
|
8
|
+
batchfetch-1.0.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
9
|
+
batchfetch-1.0.0.dist-info/entry_points.txt,sha256=0OUGPlhEW6-CbIT7rPwwhzGJnkSaV7e3klQ8PN5bAMA,74
|
|
10
|
+
batchfetch-1.0.0.dist-info/top_level.txt,sha256=JnTT76c5-6ZHOmbAZb35PwHYV7ojy17kmi82dPGO40s,11
|
|
11
|
+
batchfetch-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
batchfetch
|