Currently the history of a package is mixed with its other formats. They should be separated. The history is defined like this: same package name, Slackware version (format) and architecture, but different version or build.
Created attachment 43 [details] Patch that splits the history from other formats
Proposed patch committed into repository and tested
Closing for SlackPack 0.1.0
Package history and other formats are not builded correctly in some cases. For example see http://sotirov-bg.net/slackpack/pack.cgi?id=164 . In other formats section only version 0.8.1 appears while there is a package for version 0.8.2 for the same architecture, but for different slackware version.
get_formats method updated, so the SQL query now executes as: SELECT $id_field FROM $table WHERE name = $name AND (arch <> $arch OR slackver <> $sver) AND id <> $id ORDER BY $order_field DESC";
Verified for 0.2.2 version
bug/show.html.tmpl processed on May 18, 2024 at 22:32:01. (provided by the Example extension).