Skip to content
Snippets Groups Projects
  1. Jun 23, 2023
  2. Jun 21, 2023
  3. Jun 20, 2023
  4. Jun 08, 2023
  5. Jun 07, 2023
  6. Jun 05, 2023
  7. May 31, 2023
  8. May 23, 2023
  9. May 19, 2023
    • Antoine R. Dumont's avatar
      lister: Allow lister to build url out of the instance parameter · 19bdeefb
      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. #4693
      Verified
      19bdeefb
  10. May 10, 2023
    • vlorentz's avatar
      Fix crash of 'swh lister run' when called without -l · 596e8c6c
      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']
      ```
      596e8c6c
  11. Apr 27, 2023
  12. Apr 26, 2023
  13. Apr 13, 2023
  14. Mar 22, 2023
  15. Mar 21, 2023
  16. Mar 14, 2023
  17. Mar 10, 2023
    • Antoine Lambert's avatar
      bitbucket: Skip buggy page when listing · 5d0f35aa
      Antoine Lambert authored
      Some URLs of the repositories endpoint from BitBucket REST API 2.0
      can return an error 500. In that case, skip the buggy repositories
      page and get next one to continue listing and avoid to end it
      prematurely.
      
      Related to #4239
      v4.4.0
      5d0f35aa
  18. Mar 09, 2023
  19. Feb 17, 2023
  20. Feb 16, 2023
  21. Feb 10, 2023
  22. Feb 02, 2023
  23. Jan 02, 2023
  24. Dec 19, 2022
  25. Dec 14, 2022
  26. Dec 05, 2022
  27. Nov 21, 2022
    • Antoine Lambert's avatar
      fedora: Update versions in packages dict provided as loader argument · f4aafe02
      Antoine Lambert authored
      In a similar way to the debian lister, use the following versions in the
      packages dictionary provided to the generic rpm loader:
      
      - dict keys are package versions prefixed by the fedora release and
        edition they have been found (fedora{release}/{edition}/{version}),
        they will be used as branch names targeting releases in the snapshot
        created by the rpm loader
      
      - version fields in dict values are the package intrinsic versions parsed
        from package repository metadata excluding any ".fcXY" suffixes to avoid
        the loader to create multiple releases targeting the same directory,
        they will be used as release names in the snapshot created by the rpm
        loader
      
      Related to T4448
      f4aafe02
Loading