Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2434

c.r.c: only Ansible logo in collection lists

Details

    • Epic
    • Resolution: Done
    • Major
    • None
    • crc-2023-06-27
    • None
    • CRC logos all Ansible
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • In Progress
    • 100
    • 100% 100%
    • Team Discussion

    Description

      Collection lists now use the ansible A logo, instead of the logo associated with their namespace.
      (This is because we switched to the collection version search API, and the logo information is not available anymore. (namespace_metadata is null, logo needs namespace_metadata.avatar_url)

      (found when checking crc-2023-06-27, but possibly also present in standalone)
      May not be a bug, may be intentional.

      There are likely 3 issues occurring

      1. The galaxy namespaces haven’t been converted into pulp namespaces
        • This means the collection version endpoint `namespace_metadata` will be null. This is solved by edited and saving a namespace or running download-namespace-logos.py
      2. Index rebuild has not run
        • This means that if there is a pulp namespace, only newly added collection versions will get the `namespace_metadata` populated. This may get solved by running download-namespace-logos.py which may trigger an index rebuild (after the namespace models edits, and the add_remove call will trigger a repo v bump, which will by proxy trigger an index rebuild)
      1. When the `namespace_metadata` is populated, the `avatar_url` is null
        • This content app issue may be resolved with AAH-2213 and then removing the workaround in galaxy_ng

      Attachments

        Activity

          People

            Unassigned Unassigned
            mhradil-1 Martin Hradil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: