Skip to content
Snippets Groups Projects
  1. Nov 29, 2023
  2. Nov 16, 2023
  3. Nov 15, 2023
  4. Nov 14, 2023
  5. Nov 07, 2023
  6. Oct 18, 2023
  7. Oct 12, 2023
  8. Oct 09, 2023
  9. Oct 02, 2023
  10. Sep 28, 2023
  11. Sep 26, 2023
  12. Sep 25, 2023
  13. Sep 21, 2023
  14. Sep 20, 2023
  15. Sep 19, 2023
  16. Sep 14, 2023
  17. Sep 06, 2023
    • Antoine Lambert's avatar
      Harmonize listers parameters and add test to check mandatory ones · 6e7bc49e
      Antoine Lambert authored
      Ensure that all lister classes have the same set of mandatory parameters
      in their constructors, notably: scheduler, url, instance and credentials.
      
      Add a new test checking listers classes have mandatory parameters declared
      in their constructors. The purpose is to avoid deployment issues on staging
      or production environment as celery tasks can fail to be executed if mandatory
      parameters are not handled by listers.
      
      Reated to swh/infra/sysadm-environment#5030.
      6e7bc49e
  18. Sep 05, 2023
  19. Aug 22, 2023
  20. Aug 21, 2023
    • Antoine Lambert's avatar
      cran: Improve listing of R packages · 91e4e33d
      Antoine Lambert authored
      Previously, the lister was relying on the use of the CRANtools R module
      but it has the drawback to only list the latest version of each registered
      package in the CRAN registry.
      
      In order to get all possible versions for each CRAN package, prefer to exploit
      the content of the weekly dump of the CRAN database in RDS format.
      
      To read the content of the RDS file from Python, the rpy2 package is used as
      it has the advantage to be packaged in debian.
      
      Related to swh/meta#1709.
      v5.9.7
      91e4e33d
  21. Aug 17, 2023
  22. Aug 16, 2023
    • Antoine Lambert's avatar
      rpm: Turn fedora lister into a generic Red Hat based distribution one · 95714f6f
      Antoine Lambert authored
      As Red Hat based linux distributions share the same type of package repository,
      rework the fedora lister into a generic one to list RPM source packages and
      their versions from numerous distributions.
      
      For a given distribution, the RPM lister will fetch packages metadata from a
      list of release identifiers and a list of software components. Source packages
      are then processed and relevant info are extracted to be sent to the RPM loader.
      When all releases and components were processed, the lister collected all versions
      for each package name and send those info to the scheduler that will create RPM
      loading tasks afterwards.
      
      Nevertheless, as there is no generic way to list all releases and components for
      a given distribution but also to guess the right URL to retrieve packages metadata
      from, those info need to be manually provided to the lister as input parameters.
      Some examples of those parameters for various distributions can be found in the
      config directory of the lister.
      
      Regarding the produced origin URLs, as there is no way to find valid HTTP ones
      for all distributions, the same behavior as with the debian lister is used and
      they have the following form: rpm://{instance}/packages/{package_name} where
      the instance variable corresponds to the name of the listed distribution such
      as Fedora, CentOS, or openSUSE.
      
      Related to swh/meta#5011.
      95714f6f
  23. Aug 04, 2023
Loading