[Fusionforge-general] [Fusionforge-commits] r16019 - in branches/Branch_5_2/src: debian plugins/scmgit/common

Franck Villaume franck.villaume at trivialdev.com
Fri Jul 20 23:01:07 CEST 2012


Le 19/07/2012 17:24, Olivier Berger a écrit :
> Author: olberger
> Date: 2012-07-19 17:24:49 +0200 (Thu, 19 Jul 2012)
> New Revision: 16019
> 
> Modified:
>    branches/Branch_5_2/src/debian/changelog
>    branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php
> Log:
> Fix missing file errors for gitweb in scmgit plugin

The file errors were missing for debian... !!!
Fix your distro !!!



> 
> Modified: branches/Branch_5_2/src/debian/changelog
> ===================================================================
> --- branches/Branch_5_2/src/debian/changelog	2012-07-19 15:09:16 UTC (rev 16018)
> +++ branches/Branch_5_2/src/debian/changelog	2012-07-19 15:24:49 UTC (rev 16019)
> @@ -2,9 +2,11 @@
>  
>    * Populate new user's shell accounts out of
>      /var/lib/gforge/chroot/etc/skel (closes: #675054).
> +  * Fix several missing files errors in gitweb for scmgit plugin (closes:
> +    #674536).
>    * 
>  
> - -- Olivier Berger <obergix at debian.org>  Wed, 18 Jul 2012 21:55:42 +0200
> + -- Olivier Berger <obergix at debian.org>  Thu, 19 Jul 2012 17:23:32 +0200
>  
>  fusionforge (5.2~rc1-5) unstable; urgency=low
>  
> 
> Modified: branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php
> ===================================================================
> --- branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php	2012-07-19 15:09:16 UTC (rev 16018)
> +++ branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php	2012-07-19 15:24:49 UTC (rev 16019)
> @@ -383,9 +383,10 @@
>  		fwrite($config_f, "\$projectroot = '$rootdir';\n");
>  		fwrite($config_f, "\$projects_list = '$config_dir/gitweb.list';\n");
>  		fwrite($config_f, "@git_base_url_list = ('". util_make_url('/anonscm/git') . "');\n");
> -		fwrite($config_f, "\$logo = '". util_make_url('/plugins/scmgit/git-logo.png') . "';\n");
> -		fwrite($config_f, "\$favicon = '". util_make_url('/plugins/scmgit/git-favicon.png')."';\n");
> -		fwrite($config_f, "\$stylesheet = '". util_make_url('/plugins/scmgit/gitweb.css')."';\n");
> +		fwrite($config_f, "\$logo = '". util_make_url('/plugins/scmgit/static/git-logo.png') . "';\n");
> +		fwrite($config_f, "\$favicon = '". util_make_url('/plugins/scmgit/static/git-favicon.png')."';\n");
> +		fwrite($config_f, "\$stylesheet = '". util_make_url('/plugins/scmgit/static/gitweb.css')."';\n");
> +		fwrite($config_f, "\$javascript = '". util_make_url('/plugins/scmgit/static/gitweb.js')."';\n");
>  		fwrite($config_f, "\$prevent_xss = 'true';\n");
>  		fclose($config_f);
>  		chmod ($fname.'.new', 0644) ;


This commit just broke my install... as I'm not using debian...

Please before modify the code you should probably adapt debian code,
create a patch for debian and not modify the general code...

This is not the first time I explain that fusionforge repo is not debian
repo only... put your debian stuff in your own repo !!!

Stop breaking other distro install !!!

I will revert the change if no answer.


nerville.



-- 
TrivialDev Founder
http://trivialdev.com





More information about the Fusionforge-general mailing list