- Jun 28, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.7.2' with Debian dir e075cf3cf7c1efc8d3a80aaf7e18b5aba7b97d44
-
Jenkins for Software Heritage authored
-
- Jun 26, 2023
-
-
Antoine Lambert authored
In contrary of gitea listing which does not require to provide the q query parameter, it is required for the gogs case. After reading the gogs source code, the /repos/search endpoint generates a sql request of the form: "SELECT * FROM repos WHERE name LIKE '%{q}%'". By setting the q parameter value to "_", the LIKE clause acts as a wildcard and all repositories are ensured to be returned. Fixes #4698.
-
- Jun 23, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.7.1' with Debian dir 56159d6c044097af0681254a772514efc61a6105
-
Jenkins for Software Heritage authored
-
Antoine Lambert authored
Missing docstring prevents the task type to be registered in scheduler database.
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.7.0' with Debian dir 2531791b0237c82046c8bf50d2afeffe24b8257e
-
Jenkins for Software Heritage authored
-
Antoine Lambert authored
Pagure is a git-centered forge, python based using pygit2. Its REST API enables to easily list all projects hosted in an instance so the lister implementation is quite simple. Related to swh/meta#5043.
-
- Jun 21, 2023
-
-
Nicolas Dandrimont authored
The default behavior of subprocess is to pull executables from a hardcoded list, which doesn't work when opam is installed manually in the user's home directory.
-
Nicolas Dandrimont authored
mypy doesn't catch that multiple uses of `self.listed_origins[origin_url]` in the same statement should be identical. Using a temporary local variable for it seems to help.
-
- Jun 20, 2023
-
-
vlorentz authored
The files we use weigh 440MB, and there are ~600MB of files we don't use
-
- Jun 08, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.6.3' with Debian dir fe78c649b504911e73b1820a4e4d43621960b679
-
Jenkins for Software Heritage authored
-
Antoine R. Dumont authored
For the ones coming from a tarball. This matches the change happened in the associated directory loader. Refs. swh/infra/sysadm-environment#4906
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.6.2' with Debian dir 88bdac5d662727cbd3c65714293509c90120b3d9
-
Jenkins for Software Heritage authored
-
- Jun 07, 2023
-
-
Antoine R. Dumont authored
Without this, the loader will fail. Refs. swh/meta#4979
-
- Jun 05, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.6.1' with Debian dir 94c41cca92b09ad33077bc6eab4fc3f64ada5c74
-
Jenkins for Software Heritage authored
-
Antoine R. Dumont authored
Prior to this, it was sending only 'directory' types for all vcs trees. Multiple directory loaders now exist whose visit type are currently diverging, so the scheduling would not happen correctly without it. This commit is the required adaptation for the scheduling to work appropriately. Refs. swh/meta#4979
-
- May 31, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.6.0' with Debian dir d68cc4ae1ba82ebc3930c4e961d93c38920098e4
-
Jenkins for Software Heritage authored
-
Antoine R. Dumont authored
Those will be ingested by the loader as "directory" with "nar" checksum layouts. Refs. swh/infra/sysadm-environment#4868 Refs. swh/meta#4979
-
- May 26, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.5.0' with Debian dir 108b47e4e12c5ad01f0687ba3ada9c2d45ae379c
-
Jenkins for Software Heritage authored
-
- May 23, 2023
-
-
Antoine R. Dumont authored
Some cgit instances are at a domain's root path so we can build their url directly from their 'instance' parameter. This unifies further the cli to register a lister and the cli to schedule the listed origins from a forge. [1] ``` https://git.kernel.org https://source.codeaurora.org https://git.trueelena.org https://dev.sanctum.geek.nz https://git.trueelena.org https://git.dpkg.org https://anongit.mindrot.org https://git.aurel32.net https://gitweb.gentoo.org https://git.joeyh.name https://git.adrian.geek.nz ``` Refs. swh/devel/swh-lister#4693
-
- May 19, 2023
-
-
Jenkins for Software Heritage authored
-
Jenkins for Software Heritage authored
Update to upstream version '5.4.0' with Debian dir fc876cdb54cb65af6ea096e8cbaf40d589a83a06
-
Jenkins for Software Heritage authored
-
Antoine R. Dumont authored
This pushes the rather elementary logic within the lister's scope. This will simplify and unify cli call between lister and scheduler clis. This will also allow to reduce erroneous operations which can happen for example in the add-forge-now. With the following, we will only have to provide the type and the instance, then everything will be scheduled properly. Refs. swh/devel/swh-lister#4693
-
- May 10, 2023
-
-
vlorentz authored
``` $ swh lister run Traceback (most recent call last): File "/home/dev/.local/bin/swh", line 33, in <module> sys.exit(load_entry_point('swh.core', 'console_scripts', 'swh')()) File "/home/dev/swh-environment/swh-core/swh/core/cli/__init__.py", line 144, in main return swh(auto_envvar_prefix="SWH") File "/home/dev/.local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/dev/.local/lib/python3.9/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/dev/.local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/dev/.local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/dev/.local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/dev/.local/lib/python3.9/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/home/dev/.local/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/home/dev/swh-environment/swh-lister/swh/lister/cli.py", line 68, in run get_lister(lister, **config).run() File "/home/dev/swh-environment/swh-lister/swh/lister/__init__.py", line 75, in get_lister raise ValueError( ValueError: Invalid lister None: only supported listers are ['arch', 'aur', 'bitbucket', 'bower', 'cgit', 'conda', 'cpan', 'cran', 'crates', 'debian', 'fedora', 'gitea', 'github', 'gitlab', 'gnu', 'gogs', 'golang', 'hackage', 'hex', 'launchpad', 'maven', 'nixguix', 'npm', 'nuget', 'opam', 'packagist', 'phabricator', 'pubdev', 'puppet', 'pypi', 'rubygems', 'sourceforge', 'tuleap'] ```
-