- Jan 29, 2024
-
-
Nicolas Dandrimont authored
This setting allows disabling HTTPS certificate verification, if needed.
-
Nicolas Dandrimont authored
These settings are passed to all requests calls, when relevant.
-
Nicolas Dandrimont authored
This new parameter allows passing extra kwargs to calls to the requests library, e.g. to set timeouts or TLS certificate verification.
-
- Jan 18, 2024
-
-
Antoine Lambert authored
In addition to query parameters also check if any part of URL path contains a tarball filename. It fixes the detection of some tarball URLs provided in Guix manifest. Related to swh/meta#3781.
-
- Jan 17, 2024
-
-
David Douard authored
Link to the user documentation instead. Also add a section on required binary tools.
-
- Jan 10, 2024
-
-
Jérémy Bobbio (Lunar) authored
Commit c2402f40 renamed the entry points from `lister.*` without updating the rest of the framework. Revert the changes (and sort the list alphabetically).
-
- Jan 09, 2024
-
-
Franck Bret authored
Use another Api endpoint that helps the lister to be stateful. The Api endpoint used needs a ``since`` value that represents a sequential index in the history. The ``all_packages_count`` state helps in storing a count which will be used as ``since`` argument on the next run.
-
Franck Bret authored
'url' and 'instance' are mandatory Add elm lister entry to pyproject.toml
-
Franck Bret authored
The Elm Lister lists Elm packages origins from the Elm lang registry. It uses an http api endpoint to list packages origins. Origins are Github repositories, releases take advantages of Github relase Api.
-
- Jan 08, 2024
-
-
Antoine Lambert authored
Guix now provides a "submodule" info in the sources.jon file it produced so exploit it to set the new "submodules" parameter of the git-checkout loader in order to retrieve submodules only when it is required. Related to swh-loader-git#4751.
-
- Dec 18, 2023
-
-
Franck Bret authored
Add a state to the lister to store the ``last_seen_commit`` as a Git commit hash. Use Dulwich to retrieve a Git commit walker since ``last_seen_commit`` if any. For each commit detect if it is a new package or a new package version commit and returns its origin with commit date as last_update.
-
- Dec 05, 2023
-
-
David Douard authored
-
David Douard authored
-
- Dec 03, 2023
-
-
David Douard authored
-
- Dec 01, 2023
-
-
Antoine Lambert authored
Fix hanging test when executed outside tox.
-
- Nov 29, 2023
-
-
David Douard authored
-
- Nov 16, 2023
-
-
David Douard authored
Convert README from markdown to ReST to make it embeddable in docs/index.rst
-
- Nov 15, 2023
-
-
David Douard authored
-
- Nov 14, 2023
-
-
Nicolas Dandrimont authored
-
Antoine Lambert authored
The CRAN lister improvements introduced in 91e4e33d originally used pyreadr to read a RDS file from Python instead of rpy2. As swh-lister was still packaged for debian at the time, the choice of using rpy2 instead was made as a debian package is available for it while it is not for pyreadr. Now debian packaging was dropped for swh-lister we can reinstate the pyreadr based implementation which has the advantages of being faster and not depending on the R language runtime. Related to swh/meta#1709.
-
That fails the current loader ingestion as this must be an exact value (when provided, it's checked against the download operation). Refs. swh/infra/sysadm-environment#4746
-
- Nov 07, 2023
-
-
Antoine Lambert authored
Display the number of processed pages and listed origins after the listing process ended.
-
Antoine Lambert authored
In order to simplify the testing of listers, allow to call the run command of swh-lister CLI without scheduler configuration. In that case a temporary scheduler instance with a postgresql backend is created and used. It enables to easily test a lister with the following command: $ swh -l DEBUG lister run <lister_name> url=<forge_url>
-
- Oct 18, 2023
-
-
Jérémy Bobbio (Lunar) authored
The implementation of `HTTPError` in `requests` does not guarantee that the `response` property will always be set. So we need to ensure it is not `None` before looking for the return code, for example. This also makes mypy checks pass again, as `types-request` was updated in 2.31.0.9 to better match this particular aspect. See: https://github.com/python/typeshed/pull/10875
-
- Oct 12, 2023
-
-
Franck Bret authored
Ensure the registry path does not exists before cloning the repository.
-
- Oct 09, 2023
-
-
Franck Bret authored
-
Franck Bret authored
-
Franck Bret authored
-
Franck Bret authored
-
Franck Bret authored
This module introduce Julia Lister. It retrieves Julia packages origins from the Julia General Registry, a Git repository made of per package directory with Toml definition files.
-
- Oct 02, 2023
-
-
Antoine Lambert authored
Similar to cgit, it exist cases where git clone URLs for projects hosted on a gitweb instance cannot be found when scraping project pages or cannot be easily derived from the gitweb instance root URL. So add an optional base_git_url parameter enabling to compute correct clone URLs by appending project names to it.
-
Antoine Lambert authored
Some gitweb instances can have some string prefixes before the displayed git clone URLs so ensure to strip them to properly extract URLs. Related to swh/infra/sysadm-environment#5051.
-
- Sep 28, 2023
- Sep 26, 2023
-
-
Antoine Lambert authored
rstrip is not a method to remove a string suffix so use another way to extract gitweb project name. It fixes the computation of some gitweb origin URLs. Related to swh/infra/sysadm-environment#5050.
-
- Sep 25, 2023
-
-
Antoine Lambert authored
Extra Packages for Enterprise Linux is a set of additional packages community maintained that can be installed on many Red Hat based distributions.
-
- Sep 21, 2023
-
-
Franck Bret authored
-
Franck Bret authored
This reverts commit c9e2339a
-
- Sep 20, 2023
-
-
Franck Bret authored
-
Franck Bret authored
-
Franck Bret authored
-