This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.0 has been updated
via 4024c80ac6514e21dabad14dbc3e47c13b5d6b54 (commit)
from e3446be165dfc778757552639d8a9c23d008d79b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=4024c80ac6514e21dabad14dbc3e47c13b5d6b54
commit 4024c80ac6514e21dabad14dbc3e47c13b5d6b54
Author: Sylvain Beucler <[email protected]>
Date: Tue Jun 23 15:20:17 2015 +0200
FRS: fix links to release .zip when the package contain spaces
diff --git a/src/CHANGES b/src/CHANGES
index 6a7fee6..6626fed 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -8,6 +8,8 @@ FusionForge 6.0.1:
* FRS: display new releases first (Roland Mas, for Inria)
* FRS: revert Notes and ChangeLog as optional fields (Inria)
* FRS: fix administration link in project Tools page (Inria)
+* FRS: fix per-release .zip for old uploads [#774] (TrivialDev and Inria)
+* FRS: fix links to release .zip when the package contain spaces (Inria)
* Tracker: fix description re-html-ization when editing item (Inria)
* Tracker: fix HTML entities in mail notifications (Inria)
* Tracker: provide a "Submit" button below the "add a comment" field [#776]
(TrivialDev)
diff --git a/src/common/frs/views/listpackages.php
b/src/common/frs/views/listpackages.php
index 5dd595c..1b4abd7 100644
--- a/src/common/frs/views/listpackages.php
+++ b/src/common/frs/views/listpackages.php
@@ -118,7 +118,7 @@ if (count($FRSPackages) < 1) {
if
(file_exists($FRSPackage->getReleaseZipPath($package_release_id))) {
$ziplink .= util_make_link(
util_make_uri('/frs/download.php/zip/'.$FRSPackageRelease->getID()
-
.'/'.$package_name.'-'.$FRSPackageRelease->getName().'.zip'),
+
.'/'.$FRSPackage->getReleaseZipName($FRSPackageRelease->getID())),
$HTML->getZipPic(_('Download
this release as ZIP.')
.' '._('This link always
points to this release as a ZIP file.')));
}
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 2 ++
src/common/frs/views/listpackages.php | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits