Skip to content
Snippets Groups Projects
Commit e70c93c9 authored by Jenkins for Software Heritage's avatar Jenkins for Software Heritage
Browse files

New upstream version 0.0.41

parents c62cec91 1e937ff7
Branches debian/upstream
Tags debian/upstream/0.0.41
No related merge requests found
......@@ -3,3 +3,4 @@ include requirements.txt
include requirements-swh.txt
include version.txt
recursive-include swh/loader/tar/tests/resources *
recursive-include swh py.typed
Metadata-Version: 2.1
Name: swh.loader.tar
Version: 0.0.40
Version: 0.0.41
Summary: Software Heritage Tarball Loader
Home-page: https://forge.softwareheritage.org/diffusion/DLDTAR
Author: Software Heritage developers
Author-email: swh-devel@inria.fr
License: UNKNOWN
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Source, https://forge.softwareheritage.org/source/swh-loader-tar
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Description: # SWH Tarball Loader
The Software Heritage Tarball Loader is in charge of ingesting the directory
......
Metadata-Version: 2.1
Name: swh.loader.tar
Version: 0.0.40
Version: 0.0.41
Summary: Software Heritage Tarball Loader
Home-page: https://forge.softwareheritage.org/diffusion/DLDTAR
Author: Software Heritage developers
Author-email: swh-devel@inria.fr
License: UNKNOWN
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Source, https://forge.softwareheritage.org/source/swh-loader-tar
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Description: # SWH Tarball Loader
The Software Heritage Tarball Loader is in charge of ingesting the directory
......
......@@ -16,6 +16,7 @@ swh/loader/tar/__init__.py
swh/loader/tar/_version.py
swh/loader/tar/build.py
swh/loader/tar/loader.py
swh/loader/tar/py.typed
swh/loader/tar/tasks.py
swh/loader/tar/utils.py
swh/loader/tar/tests/__init__.py
......
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
from pkgutil import extend_path
from typing import Iterable
__path__ = extend_path(__path__, __name__) # type: Iterable[str]
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
from pkgutil import extend_path
from typing import Iterable
__path__ = extend_path(__path__, __name__) # type: Iterable[str]
# This file is automatically generated by setup.py.
__version__ = '0.0.40'
__sha__ = 'gf338e4c'
__revision__ = 'gf338e4c'
__version__ = '0.0.41'
__sha__ = 'g1e937ff'
__revision__ = 'g1e937ff'
......@@ -21,7 +21,7 @@ from swh.model.from_disk import Directory
from .build import compute_revision, set_original_artifact
try:
from _version import __version__
from _version import __version__ # type: ignore
except ImportError:
__version__ = 'devel'
......@@ -128,6 +128,8 @@ class BaseTarLoader(BufferedLoader):
'debug': ('bool', False), # NOT FOR PRODUCTION
}
visit_type = 'tar'
def __init__(self, logging_class='swh.loader.tar.TarLoader', config=None):
super().__init__(logging_class=logging_class, config=config)
self.local_cache = None
......@@ -169,7 +171,7 @@ class BaseTarLoader(BufferedLoader):
"""
self.origin = origin
if 'type' not in self.origin: # let the type flow if present
self.origin['type'] = 'tar'
self.origin['type'] = self.visit_type
self.visit_date = visit_date
def get_tarball_url_to_retrieve(self):
......
# Marker file for PEP 561.
......@@ -3,7 +3,7 @@ import pytest
from swh.scheduler.tests.conftest import * # noqa
@pytest.fixture(scope='session')
@pytest.fixture(scope='session') # type: ignore # expected redefinition
def celery_includes():
return [
'swh.loader.tar.tasks',
......
v0.0.40-0-gf338e4c
\ No newline at end of file
v0.0.41-0-g1e937ff
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment