- Sep 17, 2020
-
-
Antoine Lambert authored
Related to T2610
-
Antoine Lambert authored
flake8 hook has been removed from https://github.com/pre-commit/pre-commit-hooks so now use the one from https://gitlab.com/pycqa/flake8
-
- Sep 10, 2020
-
-
David Douard authored
by moving import statements in functions. Related to T2575.
-
Antoine R. Dumont authored
Related to D3899#96289
-
Antoine R. Dumont authored
The gitea lister can be run on multiple instances which could use the same id. So listing another gitea instance, the current code would fail to insert data for such case. This commit fixes that behavior by prefixing the uid with the instance name. Related to T2577
-
Antoine R. Dumont authored
Existing listers use the `is_within_bound` [1] method from the base lister. This method uses inclusive boundaries in all cases. As some "range" task listers [2] [3] are using `split_range` function to create "overlapping" ranges, this can cause concurrent insert issues down the line [4]. This commit adapts the function `split_range` to make the generated ranges no longer overlap. [1] https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/core/lister_base.py$194-199 [2] https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/gitlab/tasks.py$37-41 [3] https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/gitea/tasks.py$36-41 Related to T2577
-
- Sep 09, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
This fixes [1] [1] https://sentry.softwareheritage.org/share/issue/b0119b56f24347bcb58ac28c68685c62/
-
- Sep 08, 2020
-
-
Antoine R. Dumont authored
-
Vincent Sellier authored
Related to T2358
-
- Sep 02, 2020
-
-
Antoine R. Dumont authored
Prior to this commit, all listers were instantiated at the same time even if only one was needed. This commit separates those instantiations. The only drawback to this is the db model initialization which now happens at each lister instantiation. This can be dealt with if needed at another time though.
-
Antoine R. Dumont authored
This should fix the remaining blocking problems in the jenkins build failure report [1] [1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DLS/job/gbp-buildpackage/78/consoleFull
-
Antoine R. Dumont authored
Then drop all unneeded and indirect imports
-
- Sep 01, 2020
-
-
Antoine R. Dumont authored
This should fix the build [1] [1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DLS/job/gbp-buildpackage/77/console
-
Antoine R. Dumont authored
-
- Aug 25, 2020
-
-
David Douard authored
-
David Douard authored
-
vlorentz authored
pytest wastes a lot of time in .hypothesis and .git; this commit excludes them.
-
- Jul 16, 2020
-
-
Nicolas Dandrimont authored
This allows us to actually run the lister instantiation code instead of relying on the underlying structure of the lister object. In turn, this allows future listers to use the scheduler right in their __init__.
-
Nicolas Dandrimont authored
The previous include would pull all .mypy_cache directories too, which are quite large as they include the SQLAlchemy stubs.
-
- Jul 15, 2020
-
-
Nicolas Dandrimont authored
-
- Jul 09, 2020
-
-
Nicolas Dandrimont authored
-
- Jun 25, 2020
-
-
Nicolas Dandrimont authored
-
- Jun 10, 2020
-
-
Summary: Lister implementation for Gitea, works for (T2313). For now because of https://github.com/go-gitea/gitea/issues/9165 it would require setting its param limit to 50. Reviewers: #reviewers, ardumont Reviewed By: #reviewers, ardumont Subscribers: ardumont Differential Revision: https://forge.softwareheritage.org/D3107
-
- Apr 29, 2020
-
-
Stefano Zacchiroli authored
-
- Apr 20, 2020
-
-
Antoine R. Dumont authored
Related to T2367
-
- Apr 11, 2020
-
-
Léni Gauffier authored
Summary: Related to T1734 From abandonned D2799 Reviewers: ardumont Reviewed By: ardumont Differential Revision: https://forge.softwareheritage.org/D2974
-
- Apr 08, 2020
-
-
David Douard authored
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
- Apr 03, 2020
-
-
Antoine R. Dumont authored
-
- Feb 20, 2020
-
-
Yann authored
-
- Feb 17, 2020
-
-
Yann authored
-
- Jan 20, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
This commit fixes the repository mapping to model. It broke when the listed repository was either None or missing the id field [1] [1] https://sentry.softwareheritage.org/share/issue/532d682182fc43d6a7a99400e3928811/
-
- Jan 17, 2020
-
-
Antoine Lambert authored
Related to T2188
-
Antoine R. Dumont authored
Following the github's documentation [1] [1] https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits Related to T2170
-
- Jan 16, 2020
-
-
Antoine R. Dumont authored
Prior to this commit, we sent the origin url as a versioned artifact. Now we send the origin url as a CRAN's canonical one, and the associated list of artifacts found there (only 1 today).
-
- Jan 15, 2020
-
-
Antoine R. Dumont authored
-
- Jan 09, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-