docs: def profiles():
      """
      List of all the connection profile files, ordered by preference.
  
      :returns: list of all Koji client config files. Example:
                ['/home/kdreyer/.koji/config.d/kojidev.conf',
                 '/etc/koji.conf.d/stg.conf',
                 '/etc/koji.conf.d/fedora.conf']
      """
      paths = []
      for pattern in PROFILES:
          pattern = os.path.expanduser(pattern)
          paths += glob(pattern)
      return paths