#1982 ensure that all keys in distrepo are lowered
Merged 4 years ago by tkopecek. Opened 4 years ago by tkopecek.
tkopecek/koji issue1978  into  master

file modified
+2 -1
@@ -5900,6 +5900,7 @@ 

          return best

  

      def get_rpms(self, tag_id, arch, keys, opts):

+         keys = [key.lower() for key in keys]

          # get the rpm data

          rpms = []

          builddirs = {}
@@ -5921,7 +5922,7 @@ 

          # select our rpms

          selected = {}

          for rpm_id in rpm_idx:

-             avail_keys = to_list(rpm_idx[rpm_id].keys())

+             avail_keys = [key.lower() for key in rpm_idx[rpm_id].keys()]

              best_key = self.pick_key(keys, avail_keys)

              if best_key is None:

                  # we lack a matching key for this rpm

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

4 years ago

:thumbsup: sorry I +1ed on the issue..

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

4 years ago

Commit d103176 fixes this pull-request

Pull-Request has been merged by tkopecek

4 years ago
Metadata