Uploaded image for project: 'Community Linux Engineering'
  1. Community Linux Engineering
  2. CLE-3131

EPEL2RHEL - Fix repo query to filter packages by source-name instead of package name

SetAsigneesSync from "Extern...update-metadata-from-f...XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • dherrera@redhat.com

    • 1

      Original reporter: dherrera@redhat.com

      The issue:

      Currently the EPEL2RHEL playbooks use the `repoquery` command which resolves by package name, but EPEL2RHEL bugzilla issues are associated to the `source_name`. It's common that they coincide in some sort of manner, but there can be cases when this is not true, like with `'python-zstandard'`, whos package is `'python3-zstandard'`.

      To fix this behaviour, change the playbook so that instead of querying per package, just query once the list of src_names available in the repos through `repoquery --queryformat="%

      {source_name}

      "` and then filter the known `source_names` locally

              Unassigned Unassigned
              cle_bot CLE bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: