Package: gforge-plugin-scmgit
Version: 5.2.3-1

Currently https://alioth.debian.org/scm/browser.php?group_id=NNNN
shows an iframe with the git repository named like the project in the
project's directory for git repositories.

It would be nicer if it could instead show the list of all git
repositories in that directory. That's one more click if there is
only one but much better visibility of other repositories
(and even allows to have no repository there named like the project
itself).

Needs at least gitweb 1.7.10-rc0. (wheezy has already 1.7.10.4)

Index: fusionforge-5.2.3/plugins/scmgit/common/GitPlugin.class.php
===================================================================
--- fusionforge-5.2.3.orig/plugins/scmgit/common/GitPlugin.class.php    
2014-03-25 16:14:29.341835604 +0100
+++ fusionforge-5.2.3/plugins/scmgit/common/GitPlugin.class.php 2014-03-25 
16:15:28.949835377 +0100
@@ -212,7 +212,7 @@
 
                if ($project->usesPlugin($this->name)) {
                        if ($this->browserDisplayable($project)) {
-                               print '<iframe 
src="'.util_make_url("/plugins/scmgit/cgi-bin/gitweb.cgi?p=".$project->getUnixName().'/'.$project->getUnixName().'.git').'"
 frameborder="0" width=100% height=700></iframe>' ;
+                               print '<iframe 
src="'.util_make_url("/plugins/scmgit/cgi-bin/gitweb.cgi?pf=".$project->getUnixName()).'"
 frameborder="0" width=100% height=700></iframe>' ;
                        }
                }
        }


        Bernhard R. Link
-- 
F8AC 04D5 0B9B 064B 3383  C3DA AFFC 96D1 151D FFDC


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to