[ php-blog-Bugs-2845527 ] Spartacus broken by SF ViewVC update/changes?
"SourceForge.net" <[email protected]> Thu, 27 Aug 2009 12:25:22 +0000
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2845527, was opened at 2009-08-27 14:25
Message generated for change (Tracker Item Submitted) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2845527&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christian Boltz (christian_boltz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Spartacus broken by SF ViewVC update/changes?
Initial Comment:
It looks like spartacus was broken by a VievVC update on sourceforge.
I use S9Y 1.4 (svn branch) and tried to update some plugins with spartacus. The result were lots of error messages saying the server returned a 400 error.
The solution is to replace ?rev= with ?revision=
The most important change is in the patch below. However, ?rev= appears more than once in the file - you'll probably need to replace it everywhere.
--- serendipity_event_spartacus.php (Revision 2578)
+++ serendipity_event_spartacus.php (Arbeitskopie)
@@ -954,7 +954,7 @@
}
foreach($files AS $file) {
- $url = $mirror . '/' . $sfloc . '/' . $file . '?rev=1.9999';
+ $url = $mirror . '/' . $sfloc . '/' . $file . '?revision=1.9999';
$target = $pdir . $file;
$this->rmkdir($pdir . $plugin_to_install,$sub);
$this->fileperm($pdir . $plugin_to_install, true);
Sidenote: I have no idea about the ViewVC version on mirrors and if they will accept the ?revision= parameter. However things can't go worse then what happened to me (spartacus completely useless because it can't download the files).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2845527&group_id=75065
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july