gitlabber 1.2.6__tar.gz → 1.2.7__tar.gz
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.
- {gitlabber-1.2.6/gitlabber.egg-info → gitlabber-1.2.7}/PKG-INFO +24 -8
- {gitlabber-1.2.6 → gitlabber-1.2.7}/README.rst +6 -1
- gitlabber-1.2.7/gitlabber/__init__.py +2 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/cli.py +1 -2
- {gitlabber-1.2.6 → gitlabber-1.2.7/gitlabber.egg-info}/PKG-INFO +24 -8
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber.egg-info/SOURCES.txt +1 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber.egg-info/requires.txt +6 -0
- gitlabber-1.2.7/pyproject.toml +57 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/setup.cfg +1 -1
- gitlabber-1.2.7/setup.py +90 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/gitlab_test_utils.cpython-311.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_cli.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_git.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_gitlab_tree.cpython-311-pytest-8.2.2.pyc +0 -0
- gitlabber-1.2.6/gitlabber/__init__.py +0 -1
- gitlabber-1.2.6/setup.py +0 -89
- {gitlabber-1.2.6 → gitlabber-1.2.7}/LICENSE.txt +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/MANIFEST.in +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/__main__.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/archive.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/format.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/git.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/gitlab_tree.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/method.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/naming.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber/progress.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber.egg-info/dependency_links.txt +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber.egg-info/entry_points.txt +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/gitlabber.egg-info/top_level.txt +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__init__.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/__init__.cpython-311.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/io_test_util.cpython-311.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_archive.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_e2e.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_format.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_integration.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_method.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_naming.cpython-311-pytest-8.2.2.pyc +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/gitlab_test_utils.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/io_test_util.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test-input.yaml +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test-output.json +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test-output.tree +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test-output.yaml +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_archive.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_cli.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_e2e.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_format.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_git.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_gitlab_tree.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_integration.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_method.py +0 -0
- {gitlabber-1.2.6 → gitlabber-1.2.7}/tests/test_naming.py +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: gitlabber
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
4
4
|
Summary: A Gitlab clone/pull utility for backing up or cloning Gitlab groups
|
|
5
|
-
|
|
6
|
-
Download-URL: https://github.com/ezbz/gitlabber/archive/main.zip
|
|
7
|
-
Author: Erez Mazor
|
|
8
|
-
Author-email: erezmazor@gmail.com
|
|
5
|
+
Author-email: Erez Mazor <erezmazor@gmail.com>
|
|
9
6
|
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/ezbz/gitlabber
|
|
8
|
+
Project-URL: Download, https://github.com/ezbz/gitlabber/archive/main.zip
|
|
10
9
|
Keywords: gitlab,python,cli
|
|
11
10
|
Classifier: Development Status :: 4 - Beta
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
@@ -15,14 +14,26 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
15
14
|
Classifier: Natural Language :: English
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
22
|
Requires-Python: >=3
|
|
24
23
|
Description-Content-Type: text/x-rst
|
|
25
24
|
License-File: LICENSE.txt
|
|
25
|
+
Requires-Dist: docopt
|
|
26
|
+
Requires-Dist: anytree
|
|
27
|
+
Requires-Dist: globre
|
|
28
|
+
Requires-Dist: pyyaml
|
|
29
|
+
Requires-Dist: tqdm
|
|
30
|
+
Requires-Dist: GitPython
|
|
31
|
+
Requires-Dist: python-gitlab
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: coverage; extra == "test"
|
|
34
|
+
Requires-Dist: pytest; extra == "test"
|
|
35
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
36
|
+
Requires-Dist: pytest-integration; extra == "test"
|
|
26
37
|
|
|
27
38
|
.. image:: https://github.com/ezbz/gitlabber/actions/workflows/python-app.yml/badge.svg?branch=master
|
|
28
39
|
:target: https://github.com/ezbz/gitlabber/actions/workflows/python-app.yml
|
|
@@ -104,7 +115,7 @@ Usage
|
|
|
104
115
|
|
|
105
116
|
* To see how to use glob patterns and regex to filter tree nodes, see the `globre project page <https://pypi.org/project/globre/#details>`_.
|
|
106
117
|
|
|
107
|
-
* Include/Exclude patterns do not work at the API level but work on the results returned from the API, for large Gitlab installations this can take a lot of time, if you need to reduce the amound of API calls for such projects use the ``--group-search`` parameter to search only for the top level groups the interest you using the `Gitlab Group Search API <https://docs.gitlab.com/ee/api/groups.html#search-for-group>` which allows you to do a partial like query for a Group's path or name
|
|
118
|
+
* Include/Exclude patterns do not work at the API level but work on the results returned from the API, for large Gitlab installations this can take a lot of time, if you need to reduce the amound of API calls for such projects use the ``--group-search`` parameter to search only for the top level groups the interest you using the `Gitlab Group Search API <https://docs.gitlab.com/ee/api/groups.html#search-for-group>`_ which allows you to do a partial like query for a Group's path or name
|
|
108
119
|
|
|
109
120
|
* Cloning vs Pulling: when running Gitlabber consecutively with the same parameters, it will scan the local tree structure; if the project directory exists and is a valid git repository (has .git folder in it) Gitlabber will perform a git pull in the directory, otherwise the project directory will be created and the GitLab project will be cloned into it.
|
|
110
121
|
|
|
@@ -201,3 +212,8 @@ Known Limitations
|
|
|
201
212
|
* Renaming, moving and deleting projects: Gitlabber doesn't maintain local tree state (projects and groups). For that reason is does not rename move or delete local projects when they are modified on the server. When projects are moved or renamed, Gitlabber will clone them again under their new name or location. When deleted, Gitlabber will not delete the local project.
|
|
202
213
|
* Folder naming strategy: Consecutively running Gitlabber with different values for the ``-n`` parameter will produce undesirable results. Use the same value as previous runs, or simply don't change it from the default (project name).
|
|
203
214
|
* If you're going to clone a large number of projects, observe rate limits `for gitlab.com <https://docs.gitlab.com/ee/user/gitlab_com/index.html#gitlabcom-specific-rate-limits/>`_, and `for on-premise installations <https://docs.gitlab.com/ee/security/rate_limits.html>`_.
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
Links
|
|
218
|
+
-----
|
|
219
|
+
* Gitlabber `tutorial <https://medium.com/@natskvi/clone-all-your-gitlab-groups-repos-before-starting-to-code-dd559ec5c8d6>`_ by nsk
|
|
@@ -78,7 +78,7 @@ Usage
|
|
|
78
78
|
|
|
79
79
|
* To see how to use glob patterns and regex to filter tree nodes, see the `globre project page <https://pypi.org/project/globre/#details>`_.
|
|
80
80
|
|
|
81
|
-
* Include/Exclude patterns do not work at the API level but work on the results returned from the API, for large Gitlab installations this can take a lot of time, if you need to reduce the amound of API calls for such projects use the ``--group-search`` parameter to search only for the top level groups the interest you using the `Gitlab Group Search API <https://docs.gitlab.com/ee/api/groups.html#search-for-group>` which allows you to do a partial like query for a Group's path or name
|
|
81
|
+
* Include/Exclude patterns do not work at the API level but work on the results returned from the API, for large Gitlab installations this can take a lot of time, if you need to reduce the amound of API calls for such projects use the ``--group-search`` parameter to search only for the top level groups the interest you using the `Gitlab Group Search API <https://docs.gitlab.com/ee/api/groups.html#search-for-group>`_ which allows you to do a partial like query for a Group's path or name
|
|
82
82
|
|
|
83
83
|
* Cloning vs Pulling: when running Gitlabber consecutively with the same parameters, it will scan the local tree structure; if the project directory exists and is a valid git repository (has .git folder in it) Gitlabber will perform a git pull in the directory, otherwise the project directory will be created and the GitLab project will be cloned into it.
|
|
84
84
|
|
|
@@ -175,3 +175,8 @@ Known Limitations
|
|
|
175
175
|
* Renaming, moving and deleting projects: Gitlabber doesn't maintain local tree state (projects and groups). For that reason is does not rename move or delete local projects when they are modified on the server. When projects are moved or renamed, Gitlabber will clone them again under their new name or location. When deleted, Gitlabber will not delete the local project.
|
|
176
176
|
* Folder naming strategy: Consecutively running Gitlabber with different values for the ``-n`` parameter will produce undesirable results. Use the same value as previous runs, or simply don't change it from the default (project name).
|
|
177
177
|
* If you're going to clone a large number of projects, observe rate limits `for gitlab.com <https://docs.gitlab.com/ee/user/gitlab_com/index.html#gitlabcom-specific-rate-limits/>`_, and `for on-premise installations <https://docs.gitlab.com/ee/security/rate_limits.html>`_.
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
Links
|
|
181
|
+
-----
|
|
182
|
+
* Gitlabber `tutorial <https://medium.com/@natskvi/clone-all-your-gitlab-groups-repos-before-starting-to-code-dd559ec5c8d6>`_ by nsk
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import os
|
|
3
2
|
import sys
|
|
4
3
|
import logging
|
|
@@ -73,7 +72,7 @@ def config_logging(args):
|
|
|
73
72
|
|
|
74
73
|
|
|
75
74
|
def parse_args(argv=None):
|
|
76
|
-
example_text = '''examples:
|
|
75
|
+
example_text = r'''examples:
|
|
77
76
|
|
|
78
77
|
clone an entire gitlab tree using a url and a token:
|
|
79
78
|
gitlabber -t <personal access token> -u <gitlab url>
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: gitlabber
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
4
4
|
Summary: A Gitlab clone/pull utility for backing up or cloning Gitlab groups
|
|
5
|
-
|
|
6
|
-
Download-URL: https://github.com/ezbz/gitlabber/archive/main.zip
|
|
7
|
-
Author: Erez Mazor
|
|
8
|
-
Author-email: erezmazor@gmail.com
|
|
5
|
+
Author-email: Erez Mazor <erezmazor@gmail.com>
|
|
9
6
|
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/ezbz/gitlabber
|
|
8
|
+
Project-URL: Download, https://github.com/ezbz/gitlabber/archive/main.zip
|
|
10
9
|
Keywords: gitlab,python,cli
|
|
11
10
|
Classifier: Development Status :: 4 - Beta
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
@@ -15,14 +14,26 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
15
14
|
Classifier: Natural Language :: English
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
22
|
Requires-Python: >=3
|
|
24
23
|
Description-Content-Type: text/x-rst
|
|
25
24
|
License-File: LICENSE.txt
|
|
25
|
+
Requires-Dist: docopt
|
|
26
|
+
Requires-Dist: anytree
|
|
27
|
+
Requires-Dist: globre
|
|
28
|
+
Requires-Dist: pyyaml
|
|
29
|
+
Requires-Dist: tqdm
|
|
30
|
+
Requires-Dist: GitPython
|
|
31
|
+
Requires-Dist: python-gitlab
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: coverage; extra == "test"
|
|
34
|
+
Requires-Dist: pytest; extra == "test"
|
|
35
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
36
|
+
Requires-Dist: pytest-integration; extra == "test"
|
|
26
37
|
|
|
27
38
|
.. image:: https://github.com/ezbz/gitlabber/actions/workflows/python-app.yml/badge.svg?branch=master
|
|
28
39
|
:target: https://github.com/ezbz/gitlabber/actions/workflows/python-app.yml
|
|
@@ -104,7 +115,7 @@ Usage
|
|
|
104
115
|
|
|
105
116
|
* To see how to use glob patterns and regex to filter tree nodes, see the `globre project page <https://pypi.org/project/globre/#details>`_.
|
|
106
117
|
|
|
107
|
-
* Include/Exclude patterns do not work at the API level but work on the results returned from the API, for large Gitlab installations this can take a lot of time, if you need to reduce the amound of API calls for such projects use the ``--group-search`` parameter to search only for the top level groups the interest you using the `Gitlab Group Search API <https://docs.gitlab.com/ee/api/groups.html#search-for-group>` which allows you to do a partial like query for a Group's path or name
|
|
118
|
+
* Include/Exclude patterns do not work at the API level but work on the results returned from the API, for large Gitlab installations this can take a lot of time, if you need to reduce the amound of API calls for such projects use the ``--group-search`` parameter to search only for the top level groups the interest you using the `Gitlab Group Search API <https://docs.gitlab.com/ee/api/groups.html#search-for-group>`_ which allows you to do a partial like query for a Group's path or name
|
|
108
119
|
|
|
109
120
|
* Cloning vs Pulling: when running Gitlabber consecutively with the same parameters, it will scan the local tree structure; if the project directory exists and is a valid git repository (has .git folder in it) Gitlabber will perform a git pull in the directory, otherwise the project directory will be created and the GitLab project will be cloned into it.
|
|
110
121
|
|
|
@@ -201,3 +212,8 @@ Known Limitations
|
|
|
201
212
|
* Renaming, moving and deleting projects: Gitlabber doesn't maintain local tree state (projects and groups). For that reason is does not rename move or delete local projects when they are modified on the server. When projects are moved or renamed, Gitlabber will clone them again under their new name or location. When deleted, Gitlabber will not delete the local project.
|
|
202
213
|
* Folder naming strategy: Consecutively running Gitlabber with different values for the ``-n`` parameter will produce undesirable results. Use the same value as previous runs, or simply don't change it from the default (project name).
|
|
203
214
|
* If you're going to clone a large number of projects, observe rate limits `for gitlab.com <https://docs.gitlab.com/ee/user/gitlab_com/index.html#gitlabcom-specific-rate-limits/>`_, and `for on-premise installations <https://docs.gitlab.com/ee/security/rate_limits.html>`_.
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
Links
|
|
218
|
+
-----
|
|
219
|
+
* Gitlabber `tutorial <https://medium.com/@natskvi/clone-all-your-gitlab-groups-repos-before-starting-to-code-dd559ec5c8d6>`_ by nsk
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=45", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "gitlabber"
|
|
7
|
+
version = "1.2.7"
|
|
8
|
+
description = "A Gitlab clone/pull utility for backing up or cloning Gitlab groups"
|
|
9
|
+
readme = "README.rst"
|
|
10
|
+
requires-python = ">=3"
|
|
11
|
+
license = {text = "MIT"}
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Erez Mazor", email = "erezmazor@gmail.com"},
|
|
14
|
+
]
|
|
15
|
+
keywords = ["gitlab", "python", "cli"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Topic :: Utilities",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Natural Language :: English",
|
|
22
|
+
"Operating System :: OS Independent",
|
|
23
|
+
"Programming Language :: Python :: 3",
|
|
24
|
+
"Programming Language :: Python :: 3.9",
|
|
25
|
+
"Programming Language :: Python :: 3.10",
|
|
26
|
+
"Programming Language :: Python :: 3.11",
|
|
27
|
+
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Programming Language :: Python :: 3.13",
|
|
29
|
+
]
|
|
30
|
+
dependencies = [
|
|
31
|
+
"docopt",
|
|
32
|
+
"anytree",
|
|
33
|
+
"globre",
|
|
34
|
+
"pyyaml",
|
|
35
|
+
"tqdm",
|
|
36
|
+
"GitPython",
|
|
37
|
+
"python-gitlab",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[project.optional-dependencies]
|
|
41
|
+
test = [
|
|
42
|
+
"coverage",
|
|
43
|
+
"pytest",
|
|
44
|
+
"pytest-cov",
|
|
45
|
+
"pytest-integration",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[project.urls]
|
|
49
|
+
Homepage = "https://github.com/ezbz/gitlabber"
|
|
50
|
+
Download = "https://github.com/ezbz/gitlabber/archive/main.zip"
|
|
51
|
+
|
|
52
|
+
[project.scripts]
|
|
53
|
+
gitlabber = "gitlabber.cli:main"
|
|
54
|
+
|
|
55
|
+
[tool.setuptools]
|
|
56
|
+
packages = ["gitlabber"]
|
|
57
|
+
include-package-data = true
|
gitlabber-1.2.7/setup.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
setup()
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# """Packaging settings."""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# from codecs import open
|
|
10
|
+
# from os.path import abspath, dirname, join
|
|
11
|
+
# from subprocess import call
|
|
12
|
+
|
|
13
|
+
# from setuptools import Command, find_packages, setup
|
|
14
|
+
|
|
15
|
+
# this_dir = abspath(dirname(__file__))
|
|
16
|
+
# with open(join(this_dir, 'README.rst'), encoding='utf-8') as file:
|
|
17
|
+
# long_description = file.read()
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# class RunTests(Command):
|
|
21
|
+
# """Run all tests."""
|
|
22
|
+
# description = 'run tests'
|
|
23
|
+
# user_options = []
|
|
24
|
+
|
|
25
|
+
# def initialize_options(self):
|
|
26
|
+
# pass
|
|
27
|
+
|
|
28
|
+
# def finalize_options(self):
|
|
29
|
+
# pass
|
|
30
|
+
|
|
31
|
+
# def run(self):
|
|
32
|
+
# """Run all tests!"""
|
|
33
|
+
# errno = call(['py.test'])
|
|
34
|
+
# raise SystemExit(errno)
|
|
35
|
+
# setup(
|
|
36
|
+
# python_requires='>=3',
|
|
37
|
+
# name = 'gitlabber',
|
|
38
|
+
# packages = find_packages(include=['gitlabber']),
|
|
39
|
+
# version = '1.2.7',
|
|
40
|
+
# description = 'A Gitlab clone/pull utility for backing up or cloning Gitlab groups',
|
|
41
|
+
# long_description = long_description,
|
|
42
|
+
# long_description_content_type="text/x-rst",
|
|
43
|
+
# url = 'https://github.com/ezbz/gitlabber',
|
|
44
|
+
# download_url = 'https://github.com/ezbz/gitlabber/archive/main.zip',
|
|
45
|
+
# author = 'Erez Mazor',
|
|
46
|
+
# author_email = 'erezmazor@gmail.com',
|
|
47
|
+
# license = 'MIT',
|
|
48
|
+
# keywords = ['gitlab', 'python', 'cli'],
|
|
49
|
+
# include_package_data = True,
|
|
50
|
+
|
|
51
|
+
# classifiers = [
|
|
52
|
+
# 'Development Status :: 4 - Beta',
|
|
53
|
+
# 'Intended Audience :: Developers',
|
|
54
|
+
# 'Topic :: Utilities',
|
|
55
|
+
# 'License :: OSI Approved :: MIT License',
|
|
56
|
+
# 'Natural Language :: English',
|
|
57
|
+
# 'Operating System :: OS Independent',
|
|
58
|
+
# 'Programming Language :: Python :: 3',
|
|
59
|
+
# 'Programming Language :: Python :: 3.9',
|
|
60
|
+
# 'Programming Language :: Python :: 3.10',
|
|
61
|
+
# 'Programming Language :: Python :: 3.11',
|
|
62
|
+
# 'Programming Language :: Python :: 3.12',
|
|
63
|
+
# 'Programming Language :: Python :: 3.13'
|
|
64
|
+
# ],
|
|
65
|
+
# setup_requires = [
|
|
66
|
+
# 'docopt',
|
|
67
|
+
# 'anytree',
|
|
68
|
+
# 'globre',
|
|
69
|
+
# 'pyyaml',
|
|
70
|
+
# 'tqdm',
|
|
71
|
+
# 'GitPython',
|
|
72
|
+
# 'python-gitlab'
|
|
73
|
+
# ],
|
|
74
|
+
# install_requires = [
|
|
75
|
+
# 'docopt',
|
|
76
|
+
# 'anytree',
|
|
77
|
+
# 'globre',
|
|
78
|
+
# 'pyyaml',
|
|
79
|
+
# 'tqdm',
|
|
80
|
+
# 'GitPython',
|
|
81
|
+
# 'python-gitlab'
|
|
82
|
+
# ],
|
|
83
|
+
# tests_require= ['coverage', 'pytest', 'pytest-cov', 'pytest-integration'],
|
|
84
|
+
# entry_points = {
|
|
85
|
+
# 'console_scripts': [
|
|
86
|
+
# 'gitlabber=gitlabber.cli:main',
|
|
87
|
+
# ],
|
|
88
|
+
# },
|
|
89
|
+
# cmdclass = {'test': RunTests},
|
|
90
|
+
# )
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
{gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_gitlab_tree.cpython-311-pytest-8.2.2.pyc
RENAMED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.2.6'
|
gitlabber-1.2.6/setup.py
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"""Packaging settings."""
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
from codecs import open
|
|
5
|
-
import os
|
|
6
|
-
from os.path import abspath, dirname, join
|
|
7
|
-
from subprocess import call
|
|
8
|
-
|
|
9
|
-
from setuptools import Command, find_packages, setup
|
|
10
|
-
|
|
11
|
-
from gitlabber import __version__
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this_dir = abspath(dirname(__file__))
|
|
15
|
-
with open(join(this_dir, 'README.rst'), encoding='utf-8') as file:
|
|
16
|
-
long_description = file.read()
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class RunTests(Command):
|
|
20
|
-
"""Run all tests."""
|
|
21
|
-
description = 'run tests'
|
|
22
|
-
user_options = []
|
|
23
|
-
|
|
24
|
-
def initialize_options(self):
|
|
25
|
-
pass
|
|
26
|
-
|
|
27
|
-
def finalize_options(self):
|
|
28
|
-
pass
|
|
29
|
-
|
|
30
|
-
def run(self):
|
|
31
|
-
"""Run all tests!"""
|
|
32
|
-
errno = call(['py.test'])
|
|
33
|
-
raise SystemExit(errno)
|
|
34
|
-
setup(
|
|
35
|
-
python_requires='>=3',
|
|
36
|
-
name = 'gitlabber',
|
|
37
|
-
packages = ['gitlabber'],
|
|
38
|
-
version = __version__,
|
|
39
|
-
description = 'A Gitlab clone/pull utility for backing up or cloning Gitlab groups',
|
|
40
|
-
long_description = long_description,
|
|
41
|
-
long_description_content_type="text/x-rst",
|
|
42
|
-
url = 'https://github.com/ezbz/gitlabber',
|
|
43
|
-
download_url = 'https://github.com/ezbz/gitlabber/archive/main.zip',
|
|
44
|
-
author = 'Erez Mazor',
|
|
45
|
-
author_email = 'erezmazor@gmail.com',
|
|
46
|
-
license = 'MIT',
|
|
47
|
-
keywords = ['gitlab', 'python', 'cli'],
|
|
48
|
-
include_package_data = True,
|
|
49
|
-
|
|
50
|
-
classifiers = [
|
|
51
|
-
'Development Status :: 4 - Beta',
|
|
52
|
-
'Intended Audience :: Developers',
|
|
53
|
-
'Topic :: Utilities',
|
|
54
|
-
'License :: OSI Approved :: MIT License',
|
|
55
|
-
'Natural Language :: English',
|
|
56
|
-
'Operating System :: OS Independent',
|
|
57
|
-
'Programming Language :: Python :: 3',
|
|
58
|
-
'Programming Language :: Python :: 3.8',
|
|
59
|
-
'Programming Language :: Python :: 3.9',
|
|
60
|
-
'Programming Language :: Python :: 3.10',
|
|
61
|
-
'Programming Language :: Python :: 3.11',
|
|
62
|
-
'Programming Language :: Python :: 3.12'
|
|
63
|
-
],
|
|
64
|
-
setup_requires = [
|
|
65
|
-
'docopt',
|
|
66
|
-
'anytree',
|
|
67
|
-
'globre',
|
|
68
|
-
'pyyaml',
|
|
69
|
-
'tqdm',
|
|
70
|
-
'GitPython',
|
|
71
|
-
'python-gitlab'
|
|
72
|
-
],
|
|
73
|
-
install_requires = [
|
|
74
|
-
'docopt',
|
|
75
|
-
'anytree',
|
|
76
|
-
'globre',
|
|
77
|
-
'pyyaml',
|
|
78
|
-
'tqdm',
|
|
79
|
-
'GitPython',
|
|
80
|
-
'python-gitlab'
|
|
81
|
-
],
|
|
82
|
-
tests_require= ['coverage', 'pytest', 'pytest-cov', 'pytest-integration'],
|
|
83
|
-
entry_points = {
|
|
84
|
-
'console_scripts': [
|
|
85
|
-
'gitlabber=gitlabber.cli:main',
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
cmdclass = {'test': RunTests},
|
|
89
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_archive.cpython-311-pytest-8.2.2.pyc
RENAMED
|
File without changes
|
|
File without changes
|
{gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_format.cpython-311-pytest-8.2.2.pyc
RENAMED
|
File without changes
|
{gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_integration.cpython-311-pytest-8.2.2.pyc
RENAMED
|
File without changes
|
{gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_method.cpython-311-pytest-8.2.2.pyc
RENAMED
|
File without changes
|
{gitlabber-1.2.6 → gitlabber-1.2.7}/tests/__pycache__/test_naming.cpython-311-pytest-8.2.2.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|