- Apr 29, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.2.2' with Debian dir 0058bdf22c4fff3486ccd8de7020fbf9b0cc2c12
- Apr 27, 2022
-
-
Antoine Lambert authored
Recent changes in swh-scheduler add new parameters to the celery tasks produced from swh.scheduler.model.ListedOrigin instances. So ensure to handle any new parameters by not hardcoding the expected ones in task signatures. Remove unsafe use of unnamed task parameters. Add new tests checking task parameters produced from ListedOrigin instances do no raise error when attempting to create a cvs loader. Related to T4187
-
- Apr 26, 2022
-
-
vlorentz authored
- Apr 25, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.2.1' with Debian dir 35dea051ecc4f6ab47dd366947195ca6b32b7592
-
Antoine R. Dumont authored
Otherwise, the upload-to-pypi build complains about it [1] [1] https://jenkins.softwareheritage.org/job/DLDCVS/job/pypi-upload/12/console
- Apr 22, 2022
-
-
vlorentz authored
- Apr 21, 2022
-
-
Antoine Lambert authored
That hook can be frustrating as it can discard a long commit message if it finds a typo in it so better removing it.
-
vlorentz authored
-
- Apr 14, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.1.1' with Debian dir 59cacc639dad96f580636cac83a6a66e69598811
-
Antoine Lambert authored
-
Antoine Lambert authored
Fetching CVS repository data using rsync often fails with the following error (especially with archived repositories hosted on sourceforge): rsync error: some files/attrs were not transferred (see previous errors) (code 23) It seems the only way to mitigate that issue is to retry the rsync command until it succeeds. So add a rsync_retry decorator and apply it to a new method in the loader wrapping the call to subprocess.run executing the rsync command. Also use rsync option to compress file data during the transfer.
- Apr 08, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Related to T3922
-
Antoine Lambert authored
black is considered stable since release 22.1.0 and the version we are currently using is quite outdated and not compatible with click 8.1.0, so it is time to bump it to its latest stable release. Please note that E501 pycodestyle warning related to line length is replaced by B950 one from flake8-bugbear as recommended by black. https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length Related to T3922
-
- Apr 06, 2022
-
-
Antoine Lambert authored
pytest-postgresql 3.1.3 and pytest-redis 2.4.0 added support for pytest >= 7 so we can now drop the pytest pinning.
-
- Mar 22, 2022
-
-
Antoine Lambert authored
Due to test modules being copied in subdirectories of the build directory by setuptools, it makes pytest fail by raising ImportPathMismatchError exceptions when invoked from root directory of the module. So ignore the build folder to discover tests.
-
- Feb 18, 2022
-
-
Antoine R. Dumont authored
And use f-string when raising
-
- Feb 10, 2022
-
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
- Feb 07, 2022
-
-
Antoine R. Dumont authored
Related to T3916
-
- Jan 07, 2022
-
-
Antoine R. Dumont authored
Related to T3788
-
Antoine R. Dumont authored
Related to T3788
-
Antoine R. Dumont authored
Without it, that fails the build [1] [1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DLDCVS/job/gbp-buildpackage/5/console Related to T3788
-
Jenkins for Software Heritage authored
Update to upstream version '0.1.0' with Debian dir 294d0d8fdc0c107d311e3015079dbea8b43fbf7e
-
- Jan 06, 2022
-
-
Stefan Sperling authored
The CVS loader creates files on the local file system based on paths which were read from a local copy of a CVS repository or sent by a CVS server as part of its "cvs rlog" response. Ensure that such paths will not be able to escape the temporary directory which stores checked out versions of files.
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also drops spurious copyright headers to those files if present. Related to T3812
-
Antoine R. Dumont authored
The existing code was probably made out of the svn loader and got never changed. This drops the inexistant parameters and keep only the one needed. This also adds coverage to the module. Related to T3788
-
- Dec 15, 2021
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Dec 13, 2021
-
-
Nicolas Dandrimont authored
-