Bug 45 - Separate history from other formats
Summary: Separate history from other formats
Status: VERIFIED FIXED
Alias: None
Product: SlackPack
Classification: Web
Component: Web Site (User interface) (show other bugs)
Version: 0.2.1
Hardware: All All
: Normal (P3) normal (vote)
Target Milestone: 0.3
Assignee: Georgi D. Sotirov
QA Contact: Administrator
URL: http://sotirov-bg.net/slackpack/
Whiteboard:
Keywords: interface
Depends on:
Blocks:
 
Reported: 2006-12-21 22:17 EET by Administrator
Modified: 2007-02-08 23:37 EET (History)
0 users

See Also:
My Bug ID:
My description:
My date:
My choice:
My selection: ---
root: blocking-sp-0.1+


Attachments
Patch that splits the history from other formats (3.94 KB, patch)
2007-01-06 23:14 EET, Georgi D. Sotirov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Administrator admin 2006-12-21 22:17:31 EET
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.
Comment 1 Georgi D. Sotirov 2007-01-06 23:14:09 EET
Created attachment 43 [details]
Patch that splits the history from other formats
Comment 2 Georgi D. Sotirov 2007-01-07 18:09:27 EET
Proposed patch committed into repository and tested
Comment 3 Administrator admin 2007-01-28 15:08:02 EET
Closing for SlackPack 0.1.0
Comment 4 Administrator admin 2007-02-08 14:42:37 EET
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.
Comment 5 Georgi D. Sotirov 2007-02-08 21:29:41 EET
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";
Comment 6 Administrator admin 2007-02-08 23:37:46 EET
Verified for 0.2.2 version


bug/show.html.tmpl processed on May 18, 2024 at 22:32:01.
(provided by the Example extension).