swh.loader.mercurial 3.4.3__tar.gz → 3.5.0__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.
- swh.loader.mercurial-3.5.0/.copier-answers.yml +11 -0
- swh.loader.mercurial-3.5.0/.gitignore +16 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/.pre-commit-config.yaml +15 -11
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/PKG-INFO +14 -6
- swh.loader.mercurial-3.5.0/docs/Makefile +1 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/mypy.ini +3 -1
- swh.loader.mercurial-3.5.0/pyproject.toml +60 -0
- swh.loader.mercurial-3.5.0/pytest.ini +8 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/PKG-INFO +14 -6
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/SOURCES.txt +1 -4
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/requires.txt +9 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/tox.ini +18 -25
- swh.loader.mercurial-3.4.3/.gitignore +0 -13
- swh.loader.mercurial-3.4.3/MANIFEST.in +0 -6
- swh.loader.mercurial-3.4.3/docs/Makefile +0 -1
- swh.loader.mercurial-3.4.3/pyproject.toml +0 -11
- swh.loader.mercurial-3.4.3/pytest.ini +0 -7
- swh.loader.mercurial-3.4.3/setup.py +0 -74
- swh.loader.mercurial-3.4.3/swh/__init__.py +0 -3
- swh.loader.mercurial-3.4.3/swh/loader/__init__.py +0 -3
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/.git-blame-ignore-revs +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/AUTHORS +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/CODE_OF_CONDUCT.md +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/CONTRIBUTORS +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/LICENSE +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/Makefile +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/README.rst +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/conftest.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/docs/.gitignore +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/docs/_static/.placeholder +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/docs/_templates/.placeholder +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/docs/conf.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/docs/index.rst +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/requirements-swh.txt +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/requirements-test.txt +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/requirements.txt +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/setup.cfg +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/__init__.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/archive_extract.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/converters.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/directory.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/hgutil.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/identify.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/loader.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/py.typed +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tasks.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/__init__.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/conftest.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/anomad-d.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/build.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/example.json +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/example.sh +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/example.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/hello.json +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/hello.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/missing-filelog.sh +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/missing-filelog.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/multiple-heads.json +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/multiple-heads.sh +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/multiple-heads.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/the-sandbox.json +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/the-sandbox.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/transplant.json +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/transplant.tgz +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/loader_checker.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_converters.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_directory.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_identify.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_loader.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_tasks.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_tasks_directory.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/utils.py +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/dependency_links.txt +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/entry_points.txt +0 -0
- {swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Changes here will be overwritten by Copier
|
|
2
|
+
_commit: v0.1.6
|
|
3
|
+
_src_path: https://gitlab.softwareheritage.org/swh/devel/swh-py-template.git
|
|
4
|
+
description: Software Heritage Mercurial Loader
|
|
5
|
+
distribution_name: swh-loader-mercurial
|
|
6
|
+
have_cli: false
|
|
7
|
+
have_workers: true
|
|
8
|
+
package_root: swh/loader/mercurial
|
|
9
|
+
project_name: swh.loader.mercurial
|
|
10
|
+
python_minimal_version: '3.7'
|
|
11
|
+
readme_format: rst
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
*.egg-info/
|
|
2
|
+
*.pyc
|
|
3
|
+
.coverage
|
|
4
|
+
.eggs/
|
|
5
|
+
.hypothesis
|
|
6
|
+
.mypy_cache
|
|
7
|
+
.tox
|
|
8
|
+
__pycache__
|
|
9
|
+
build/
|
|
10
|
+
dist/
|
|
11
|
+
# these are symlinks created by a hook in swh-docs' main sphinx conf.py
|
|
12
|
+
docs/README.rst
|
|
13
|
+
docs/README.md
|
|
14
|
+
# this should be a symlink for people who want to build the sphinx doc
|
|
15
|
+
# without using tox, generally created by the swh-env/bin/update script
|
|
16
|
+
docs/Makefile.sphinx
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
repos:
|
|
2
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
-
rev: v4.
|
|
3
|
+
rev: v4.4.0
|
|
4
4
|
hooks:
|
|
5
5
|
- id: trailing-whitespace
|
|
6
6
|
- id: check-json
|
|
7
7
|
- id: check-yaml
|
|
8
8
|
|
|
9
|
+
- repo: https://github.com/python/black
|
|
10
|
+
rev: 23.1.0
|
|
11
|
+
hooks:
|
|
12
|
+
- id: black
|
|
13
|
+
|
|
14
|
+
- repo: https://github.com/PyCQA/isort
|
|
15
|
+
rev: 5.12.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: isort
|
|
18
|
+
|
|
9
19
|
- repo: https://github.com/pycqa/flake8
|
|
10
|
-
rev:
|
|
20
|
+
rev: 6.0.0
|
|
11
21
|
hooks:
|
|
12
22
|
- id: flake8
|
|
13
23
|
additional_dependencies: [flake8-bugbear==22.9.23]
|
|
@@ -18,6 +28,9 @@ repos:
|
|
|
18
28
|
- id: codespell
|
|
19
29
|
name: Check source code spelling
|
|
20
30
|
stages: [commit]
|
|
31
|
+
- id: codespell
|
|
32
|
+
name: Check commit message spelling
|
|
33
|
+
stages: [commit-msg]
|
|
21
34
|
|
|
22
35
|
- repo: local
|
|
23
36
|
hooks:
|
|
@@ -29,12 +42,3 @@ repos:
|
|
|
29
42
|
language: system
|
|
30
43
|
types: [python]
|
|
31
44
|
|
|
32
|
-
- repo: https://github.com/PyCQA/isort
|
|
33
|
-
rev: 5.11.5
|
|
34
|
-
hooks:
|
|
35
|
-
- id: isort
|
|
36
|
-
|
|
37
|
-
- repo: https://github.com/python/black
|
|
38
|
-
rev: 22.10.0
|
|
39
|
-
hooks:
|
|
40
|
-
- id: black
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swh.loader.mercurial
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.0
|
|
4
4
|
Summary: Software Heritage Mercurial Loader
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
|
|
5
|
+
Author-email: Software Heritage developers <swh-devel@inria.fr>
|
|
6
|
+
Project-URL: Homepage, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial
|
|
7
|
+
Project-URL: Bug Reports, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial/-/issues
|
|
9
8
|
Project-URL: Funding, https://www.softwareheritage.org/donate
|
|
10
|
-
Project-URL: Source, https://forge.softwareheritage.org/source/swh-loader-mercurial
|
|
11
9
|
Project-URL: Documentation, https://docs.softwareheritage.org/devel/swh-loader-mercurial/
|
|
10
|
+
Project-URL: Source, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial.git
|
|
12
11
|
Classifier: Programming Language :: Python :: 3
|
|
13
12
|
Classifier: Intended Audience :: Developers
|
|
14
13
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -28,6 +27,15 @@ Requires-Dist: swh.storage>=0.37.0
|
|
|
28
27
|
Requires-Dist: swh.scheduler>=0.0.39
|
|
29
28
|
Requires-Dist: swh.loader.core>=5.0.0
|
|
30
29
|
Provides-Extra: testing
|
|
30
|
+
Requires-Dist: click; extra == "testing"
|
|
31
|
+
Requires-Dist: patool; extra == "testing"
|
|
32
|
+
Requires-Dist: python-dateutil; extra == "testing"
|
|
33
|
+
Requires-Dist: python-hglib; extra == "testing"
|
|
34
|
+
Requires-Dist: mercurial; extra == "testing"
|
|
35
|
+
Requires-Dist: swh.model>=2.6.1; extra == "testing"
|
|
36
|
+
Requires-Dist: swh.storage>=0.37.0; extra == "testing"
|
|
37
|
+
Requires-Dist: swh.scheduler>=0.0.39; extra == "testing"
|
|
38
|
+
Requires-Dist: swh.loader.core>=5.0.0; extra == "testing"
|
|
31
39
|
Requires-Dist: pytest; extra == "testing"
|
|
32
40
|
Requires-Dist: pytest-mock; extra == "testing"
|
|
33
41
|
Requires-Dist: swh.core[http]>=0.0.61; extra == "testing"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include Makefile.sphinx
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "swh.loader.mercurial"
|
|
3
|
+
authors = [
|
|
4
|
+
{name="Software Heritage developers", email="swh-devel@inria.fr"},
|
|
5
|
+
]
|
|
6
|
+
|
|
7
|
+
description = "Software Heritage Mercurial Loader"
|
|
8
|
+
readme = {file = "README.rst", content-type = "text/x-rst"}
|
|
9
|
+
requires-python = ">=3.7"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Programming Language :: Python :: 3",
|
|
12
|
+
"Intended Audience :: Developers",
|
|
13
|
+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Development Status :: 4 - Beta",
|
|
16
|
+
]
|
|
17
|
+
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
18
|
+
|
|
19
|
+
[tool.setuptools.packages.find]
|
|
20
|
+
include = ["swh.*"]
|
|
21
|
+
|
|
22
|
+
[tool.setuptools.dynamic]
|
|
23
|
+
dependencies = {file = ["requirements.txt", "requirements-swh.txt"]}
|
|
24
|
+
|
|
25
|
+
[tool.setuptools.dynamic.optional-dependencies]
|
|
26
|
+
testing = {file = ["requirements.txt", "requirements-swh.txt", "requirements-test.txt"]}
|
|
27
|
+
|
|
28
|
+
[project.entry-points."console_scripts"]
|
|
29
|
+
"swh-hg-identify" = "swh.loader.mercurial.identify:main"
|
|
30
|
+
|
|
31
|
+
[project.entry-points."swh.workers"]
|
|
32
|
+
"loader.mercurial" = "swh.loader.mercurial:register"
|
|
33
|
+
"loader.mercurial-checkout" = "swh.loader.mercurial:register_checkout"
|
|
34
|
+
|
|
35
|
+
[project.urls]
|
|
36
|
+
"Homepage" = "https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial"
|
|
37
|
+
"Bug Reports" = "https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial/-/issues"
|
|
38
|
+
"Funding" = "https://www.softwareheritage.org/donate"
|
|
39
|
+
"Documentation" = "https://docs.softwareheritage.org/devel/swh-loader-mercurial/"
|
|
40
|
+
"Source" = "https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial.git"
|
|
41
|
+
|
|
42
|
+
[build-system]
|
|
43
|
+
requires = ["setuptools", "setuptools-scm"]
|
|
44
|
+
build-backend = "setuptools.build_meta"
|
|
45
|
+
|
|
46
|
+
[tool.setuptools_scm]
|
|
47
|
+
fallback_version = "0.0.1"
|
|
48
|
+
|
|
49
|
+
[tool.black]
|
|
50
|
+
target-version = ['py37']
|
|
51
|
+
|
|
52
|
+
[tool.isort]
|
|
53
|
+
multi_line_output = 3
|
|
54
|
+
include_trailing_comma = true
|
|
55
|
+
force_grid_wrap = 0
|
|
56
|
+
use_parentheses = true
|
|
57
|
+
ensure_newline_before_comments = true
|
|
58
|
+
line_length = 88
|
|
59
|
+
force_sort_within_sections = true
|
|
60
|
+
known_first_party = ['swh']
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/PKG-INFO
RENAMED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swh.loader.mercurial
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.0
|
|
4
4
|
Summary: Software Heritage Mercurial Loader
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
|
|
5
|
+
Author-email: Software Heritage developers <swh-devel@inria.fr>
|
|
6
|
+
Project-URL: Homepage, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial
|
|
7
|
+
Project-URL: Bug Reports, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial/-/issues
|
|
9
8
|
Project-URL: Funding, https://www.softwareheritage.org/donate
|
|
10
|
-
Project-URL: Source, https://forge.softwareheritage.org/source/swh-loader-mercurial
|
|
11
9
|
Project-URL: Documentation, https://docs.softwareheritage.org/devel/swh-loader-mercurial/
|
|
10
|
+
Project-URL: Source, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial.git
|
|
12
11
|
Classifier: Programming Language :: Python :: 3
|
|
13
12
|
Classifier: Intended Audience :: Developers
|
|
14
13
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -28,6 +27,15 @@ Requires-Dist: swh.storage>=0.37.0
|
|
|
28
27
|
Requires-Dist: swh.scheduler>=0.0.39
|
|
29
28
|
Requires-Dist: swh.loader.core>=5.0.0
|
|
30
29
|
Provides-Extra: testing
|
|
30
|
+
Requires-Dist: click; extra == "testing"
|
|
31
|
+
Requires-Dist: patool; extra == "testing"
|
|
32
|
+
Requires-Dist: python-dateutil; extra == "testing"
|
|
33
|
+
Requires-Dist: python-hglib; extra == "testing"
|
|
34
|
+
Requires-Dist: mercurial; extra == "testing"
|
|
35
|
+
Requires-Dist: swh.model>=2.6.1; extra == "testing"
|
|
36
|
+
Requires-Dist: swh.storage>=0.37.0; extra == "testing"
|
|
37
|
+
Requires-Dist: swh.scheduler>=0.0.39; extra == "testing"
|
|
38
|
+
Requires-Dist: swh.loader.core>=5.0.0; extra == "testing"
|
|
31
39
|
Requires-Dist: pytest; extra == "testing"
|
|
32
40
|
Requires-Dist: pytest-mock; extra == "testing"
|
|
33
41
|
Requires-Dist: swh.core[http]>=0.0.61; extra == "testing"
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/SOURCES.txt
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
.copier-answers.yml
|
|
1
2
|
.git-blame-ignore-revs
|
|
2
3
|
.gitignore
|
|
3
4
|
.pre-commit-config.yaml
|
|
@@ -5,7 +6,6 @@ AUTHORS
|
|
|
5
6
|
CODE_OF_CONDUCT.md
|
|
6
7
|
CONTRIBUTORS
|
|
7
8
|
LICENSE
|
|
8
|
-
MANIFEST.in
|
|
9
9
|
Makefile
|
|
10
10
|
README.rst
|
|
11
11
|
conftest.py
|
|
@@ -16,7 +16,6 @@ requirements-swh.txt
|
|
|
16
16
|
requirements-test.txt
|
|
17
17
|
requirements.txt
|
|
18
18
|
setup.cfg
|
|
19
|
-
setup.py
|
|
20
19
|
tox.ini
|
|
21
20
|
docs/.gitignore
|
|
22
21
|
docs/Makefile
|
|
@@ -24,14 +23,12 @@ docs/conf.py
|
|
|
24
23
|
docs/index.rst
|
|
25
24
|
docs/_static/.placeholder
|
|
26
25
|
docs/_templates/.placeholder
|
|
27
|
-
swh/__init__.py
|
|
28
26
|
swh.loader.mercurial.egg-info/PKG-INFO
|
|
29
27
|
swh.loader.mercurial.egg-info/SOURCES.txt
|
|
30
28
|
swh.loader.mercurial.egg-info/dependency_links.txt
|
|
31
29
|
swh.loader.mercurial.egg-info/entry_points.txt
|
|
32
30
|
swh.loader.mercurial.egg-info/requires.txt
|
|
33
31
|
swh.loader.mercurial.egg-info/top_level.txt
|
|
34
|
-
swh/loader/__init__.py
|
|
35
32
|
swh/loader/mercurial/__init__.py
|
|
36
33
|
swh/loader/mercurial/archive_extract.py
|
|
37
34
|
swh/loader/mercurial/converters.py
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh.loader.mercurial.egg-info/requires.txt
RENAMED
|
@@ -9,6 +9,15 @@ swh.scheduler>=0.0.39
|
|
|
9
9
|
swh.loader.core>=5.0.0
|
|
10
10
|
|
|
11
11
|
[testing]
|
|
12
|
+
click
|
|
13
|
+
patool
|
|
14
|
+
python-dateutil
|
|
15
|
+
python-hglib
|
|
16
|
+
mercurial
|
|
17
|
+
swh.model>=2.6.1
|
|
18
|
+
swh.storage>=0.37.0
|
|
19
|
+
swh.scheduler>=0.0.39
|
|
20
|
+
swh.loader.core>=5.0.0
|
|
12
21
|
pytest
|
|
13
22
|
pytest-mock
|
|
14
23
|
swh.core[http]>=0.0.61
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
[tox]
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
minversion = 4
|
|
3
|
+
envlist =
|
|
4
|
+
black
|
|
5
|
+
flake8
|
|
6
|
+
mypy
|
|
7
|
+
py3
|
|
5
8
|
|
|
6
9
|
[testenv]
|
|
7
10
|
extras =
|
|
@@ -11,14 +14,20 @@ deps =
|
|
|
11
14
|
swh.scheduler[testing]
|
|
12
15
|
swh.storage[testing]
|
|
13
16
|
commands =
|
|
14
|
-
pytest --
|
|
17
|
+
pytest --doctest-modules \
|
|
18
|
+
--rootdir {envsitepackagesdir} \
|
|
19
|
+
--cov={envsitepackagesdir}/swh/loader/mercurial \
|
|
20
|
+
--cov-branch \
|
|
15
21
|
{envsitepackagesdir}/swh/loader/mercurial \
|
|
16
|
-
|
|
22
|
+
{posargs}
|
|
23
|
+
# --rootdir (with --import-mode from pytest.ini) are required to make tests
|
|
24
|
+
# that depends on the test file to be a proper submodule of the swh namespace
|
|
25
|
+
# after migration to PEP420 (implicit namespace).
|
|
17
26
|
|
|
18
27
|
[testenv:black]
|
|
19
28
|
skip_install = true
|
|
20
29
|
deps =
|
|
21
|
-
black==
|
|
30
|
+
black==23.1.0
|
|
22
31
|
commands =
|
|
23
32
|
{envpython} -m black --check swh
|
|
24
33
|
|
|
@@ -47,27 +56,11 @@ allowlist_externals = make
|
|
|
47
56
|
extras =
|
|
48
57
|
testing
|
|
49
58
|
deps =
|
|
50
|
-
# fetch and install swh-docs
|
|
51
|
-
|
|
59
|
+
# fetch and install swh-docs
|
|
60
|
+
git+https://gitlab.softwareheritage.org/swh/devel/swh-docs.git\#egg=swh.docs
|
|
52
61
|
setenv =
|
|
53
62
|
SWH_PACKAGE_DOC_TOX_BUILD = 1
|
|
54
63
|
# turn warnings into errors
|
|
55
64
|
SPHINXOPTS = -W
|
|
56
65
|
commands =
|
|
57
|
-
make -I
|
|
58
|
-
|
|
59
|
-
# build documentation only inside swh-environment using local state
|
|
60
|
-
# of swh-docs package
|
|
61
|
-
[testenv:sphinx-dev]
|
|
62
|
-
allowlist_externals = make
|
|
63
|
-
extras =
|
|
64
|
-
testing
|
|
65
|
-
deps =
|
|
66
|
-
# install swh-docs in develop mode
|
|
67
|
-
-e ../swh-docs
|
|
68
|
-
setenv =
|
|
69
|
-
SWH_PACKAGE_DOC_TOX_BUILD = 1
|
|
70
|
-
# turn warnings into errors
|
|
71
|
-
SPHINXOPTS = -W
|
|
72
|
-
commands =
|
|
73
|
-
make -I ../.tox/sphinx-dev/src/swh-docs/swh/ -C docs
|
|
66
|
+
make -I {env_dir}/share/swh-docs -C docs
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
include ../../swh-docs/Makefile.sphinx
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
# Copyright (C) 2015-2021 The Software Heritage developers
|
|
3
|
-
# See the AUTHORS file at the top-level directory of this distribution
|
|
4
|
-
# License: GNU General Public License version 3, or any later version
|
|
5
|
-
# See top-level LICENSE file for more information
|
|
6
|
-
|
|
7
|
-
from io import open
|
|
8
|
-
from os import path
|
|
9
|
-
|
|
10
|
-
from setuptools import find_packages, setup
|
|
11
|
-
|
|
12
|
-
here = path.abspath(path.dirname(__file__))
|
|
13
|
-
|
|
14
|
-
# Get the long description from the README file
|
|
15
|
-
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
|
|
16
|
-
long_description = f.read()
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
def parse_requirements(name=None):
|
|
20
|
-
if name:
|
|
21
|
-
reqf = "requirements-%s.txt" % name
|
|
22
|
-
else:
|
|
23
|
-
reqf = "requirements.txt"
|
|
24
|
-
|
|
25
|
-
requirements = []
|
|
26
|
-
if not path.exists(reqf):
|
|
27
|
-
return requirements
|
|
28
|
-
|
|
29
|
-
with open(reqf) as f:
|
|
30
|
-
for line in f.readlines():
|
|
31
|
-
line = line.strip()
|
|
32
|
-
if not line or line.startswith("#"):
|
|
33
|
-
continue
|
|
34
|
-
requirements.append(line)
|
|
35
|
-
return requirements
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
setup(
|
|
39
|
-
name="swh.loader.mercurial",
|
|
40
|
-
description="Software Heritage Mercurial Loader",
|
|
41
|
-
long_description=long_description,
|
|
42
|
-
long_description_content_type="text/x-rst",
|
|
43
|
-
python_requires=">=3.7",
|
|
44
|
-
author="Software Heritage developers",
|
|
45
|
-
author_email="swh-devel@inria.fr",
|
|
46
|
-
url="https://forge.softwareheritage.org/diffusion/DLDHG/",
|
|
47
|
-
packages=find_packages(),
|
|
48
|
-
scripts=[],
|
|
49
|
-
install_requires=parse_requirements() + parse_requirements("swh"),
|
|
50
|
-
setup_requires=["setuptools-scm"],
|
|
51
|
-
use_scm_version=True,
|
|
52
|
-
extras_require={"testing": parse_requirements("test")},
|
|
53
|
-
include_package_data=True,
|
|
54
|
-
entry_points="""
|
|
55
|
-
[swh.workers]
|
|
56
|
-
loader.mercurial=swh.loader.mercurial:register
|
|
57
|
-
loader.mercurial-checkout=swh.loader.mercurial:register_checkout
|
|
58
|
-
[console_scripts]
|
|
59
|
-
swh-hg-identify=swh.loader.mercurial.identify:main
|
|
60
|
-
""",
|
|
61
|
-
classifiers=[
|
|
62
|
-
"Programming Language :: Python :: 3",
|
|
63
|
-
"Intended Audience :: Developers",
|
|
64
|
-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
65
|
-
"Operating System :: OS Independent",
|
|
66
|
-
"Development Status :: 4 - Beta",
|
|
67
|
-
],
|
|
68
|
-
project_urls={
|
|
69
|
-
"Bug Reports": "https://forge.softwareheritage.org/maniphest",
|
|
70
|
-
"Funding": "https://www.softwareheritage.org/donate",
|
|
71
|
-
"Source": ("https://forge.softwareheritage.org/source/swh-loader-mercurial"),
|
|
72
|
-
"Documentation": "https://docs.softwareheritage.org/devel/swh-loader-mercurial/", # NoQA: B950
|
|
73
|
-
},
|
|
74
|
-
)
|
|
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
|
|
File without changes
|
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/archive_extract.py
RENAMED
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/converters.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/__init__.py
RENAMED
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/conftest.py
RENAMED
|
File without changes
|
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/build.py
RENAMED
|
File without changes
|
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/example.sh
RENAMED
|
File without changes
|
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/hello.json
RENAMED
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/data/hello.tgz
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
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_loader.py
RENAMED
|
File without changes
|
{swh.loader.mercurial-3.4.3 → swh.loader.mercurial-3.5.0}/swh/loader/mercurial/tests/test_tasks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|