Closed (fixed)
Project:
Localization server
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2011 at 10:56 UTC
Updated:
2 Mar 2011 at 16:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyHere is an improved version which also includes fixes for all the tests. Some were broken by this change, others were broken by potx source string changes. Its not fortunate that our tests depend on the potx module test sample data (however it is convenient if those do not change). So for now, it will stay like that.
The attached patch adds a sid_count to l10n_server_release and to l10n_packager_file. No UIs are affected, so we are not exposing this data yet. However, there is an update function for releases since we should know the exact number of sid_counts there. For files generated before this patch, we cannot be sure, since strings might have changed since then. Theoretically, we could devise some update query to get the data, but it sounds way too complicated, so I'm opting to let the system run its course regenerating files, and we'll display N/A status for stuff when the UI hits for this, for unknown sid_counts.
The tests do not cover the functionality 100% but all tests pass now, and the patch looks good visually, so I'm committing it and deploying to l.d.o.
Comment #2
gábor hojtsy#1063550: Add better release information for project inspection just added some UI for the release part.