Merge lp:~gary-lasker/software-center/date-published-cleanup into lp:software-center

Proposed by Gary Lasker
Status: Merged
Merged at revision: 2632
Proposed branch: lp:~gary-lasker/software-center/date-published-cleanup
Merge into: lp:software-center
Diff against target: 38 lines (+6/-11)
2 files modified
debian/changelog (+6/-1)
softwarecenter/db/update.py (+0/-10)
To merge this branch: bzr merge lp:~gary-lasker/software-center/date-published-cleanup
Reviewer Review Type Date Requested Status
software-store-developers Pending
Review via email: mp+87550@code.launchpad.net

Description of the change

Another very small change, this one removes the fallback code that we had left in for the what's new ordering of items from the agent. This was only temporary code and is no longer needed now that we are getting the date_published value from the production server.

Thanks!

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-01-04 23:28:43 +0000
3+++ debian/changelog 2012-01-04 23:51:36 +0000
4@@ -19,7 +19,12 @@
5 delays some computations and adds a cheaper way for getting the
6 appcount
7
8- -- Gary Lasker <gary.lasker@canonical.com> Wed, 04 Jan 2012 18:26:26 -0500
9+ [ Gary Lasker ]
10+ * softwarecenter/db/update.py:
11+ - remove the fallback code for what's new ordering now that we
12+ are getting the date_published value from the server
13+
14+ -- Gary Lasker <gary.lasker@canonical.com> Wed, 04 Jan 2012 18:42:22 -0500
15
16 software-center (5.1.4) precise; urgency=low
17
18
19=== modified file 'softwarecenter/db/update.py'
20--- softwarecenter/db/update.py 2011-12-16 01:52:15 +0000
21+++ softwarecenter/db/update.py 2012-01-04 23:51:36 +0000
22@@ -655,16 +655,6 @@
23 if pkgname in cataloged_times:
24 doc.add_value(axi_values["catalogedtime"],
25 xapian.sortable_serialise(cataloged_times[pkgname]))
26- else:
27- #####################################################
28- # TODO: This is just a fallback so that we keep our current
29- # behavior of having new items for-purchase appear in
30- # what's new...THIS SHOULD BE REMOVED after support
31- # for date_purchased in the agent has been deployed
32- # to the production server
33- doc.add_value(axi_values["catalogedtime"],
34- xapian.sortable_serialise(time.time()))
35- #####################################################
36 # pocket (main, restricted, ...)
37 if parser.has_option_desktop("X-AppInstall-Section"):
38 archive_section = parser.get_desktop("X-AppInstall-Section")

Subscribers

People subscribed via source and target branches