[php-apt-parser-maint] [php-apt-parser-Bugs][304089] URL for .changes and .build files broken
php-apt-parser-bugs at alioth.debian.org
php-apt-parser-bugs at alioth.debian.org
Thu Aug 16 14:43:34 UTC 2007
Bugs item #304089, was opened at 2007-02-28 23:00
Status: Open
>Priority: 3
Submitted By: Daniel Leidert (dleidert-guest)
Assigned to: Daniel Leidert (dleidert-guest)
Summary: URL for .changes and .build files broken
Resolution: None
Initial Comment:
Testing the des-branch shows, that the created URL for .changes or .build files is broken. E.g.
parse_and_list(
Array("dists/sid/main/binary-i386/Packages.gz",
"dists/sid/contrib/binary-i386/Packages.gz",
"dists/sid/non-free/binary-i386/Packages.gz"),
Array("dists/sid/main/source/Sources.gz",
"dists/sid/contrib/source/Sources.gz",
"dists/sid/non-free/source/Sources.gz"),
"dists/sid/installed",
"build_logs");
results in links:
http://my.domain.tld/package.changes
not
http://my.domain.tld/foo/dists/sid/installed/package.changes
(foo is the path to where the script was called)
(seems one of the Alioth upgrades deleted/broke our Bug-tracker, so here comes this report again)
----------------------------------------------------------------------
Comment By: Daniel Leidert (dleidert-guest)
Date: 2007-03-01 00:20
Message:
For the moment I removed that code and replaced it with:
print "| <a href=\"" .
htmlentities($base_url) .
htmlentities($dir) .
"/" .
htmlentities($chfile) .
"\">" . "." . $ext .
"</a>" . "\n";
Please check, if that breaks something.
----------------------------------------------------------------------
Comment By: Daniel Leidert (dleidert-guest)
Date: 2007-02-28 23:20
Message:
More information about the php-apt-parser-maint
mailing list