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

Sync namespace data from galaxy.ansible.com to beta galaxy

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None

      We need to sync the namespaces from galaxy.ansible.com (GAC) to beta galaxy (BETA) in order to assure that user and v1 to v3 namespace mappings are handled correctly.

      Tasks:

      • sync namespace data from GAC
        • create a task that copies namespace information for v3 and legacy namespaces to BETA from GAC
        • create v3 and legacy namespace for each namespace in GAC that has any content on it
          • if GAC namespace has collections: use same name. If has roles and no collections, create v3 name from modified v1 name. Associate v1 and v3 namespaces upon creation
          • create user/group for each owner. For new BETA users:
            • set username to GAC username
            • set email to {gh_id}@github.com. This can be used to correctly identify the local and gh account later when the user logs in
          • set company/avatar/description/etc namespace information in v3 namespace
      • change user login logic
        • when user logs in check to see if account with email {gh_id}@github.com. If so, set the user to that account, and fix the email

            jtanner@redhat.com James Tanner
            dnewswan David Newswanger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: