#2097 display merge mode for external repos
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue2096  into  master

file modified
+2 -1
@@ -4898,7 +4898,8 @@ 

          if external_repos:

              print("External repos:")

              for rinfo in external_repos:

-                 print("  %(priority)3i %(external_repo_name)s (%(url)s)" % rinfo)

+                 print("  %(priority)3i %(external_repo_name)s "

+                       "(%(url)s, merge mode: %(merge_mode)s)" % rinfo)

          print("Inheritance:")

          for parent in session.getInheritanceData(info['id'], **event_opts):

              parent['flags'] = format_inheritance_flags(parent)

file modified
+1 -1
@@ -102,7 +102,7 @@ 

        <th>External&nbsp;repos</th>

        <td>

  	#for $external_repo in $external_repos

- 	<a href="externalrepoinfo?extrepoID=$external_repo.external_repo_id">$external_repo.external_repo_name</a>

+ 	<a href="externalrepoinfo?extrepoID=$external_repo.external_repo_id">$external_repo.external_repo_name</a> [$external_repo.merge_mode]

  	#if $external_repo.tag_id != $tag.id

  	<span class="smaller">(inherited from <a href="taginfo?tagID=$external_repo.tag_id">$external_repo.tag_name</a>)</span>

  	#end if