| Summary: | unspecified version of birt and technology.subversive may be wrong copy of technology.subversive | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] Babel | Reporter: | Satoru Yoshida <ramat> | ||||
| Component: | Website | Assignee: | Babel Bugzilla inbox <babel.core-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | trivial | ||||||
| Priority: | P3 | CC: | denis.roy, kitlo | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| URL: | /babel/stats.php | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Satoru Yoshida
Created attachment 202718 [details]
inactive_project_version
A few old/invalid projects/versions are marked as inactive in the map_files table. However, some files and strings belonging to these projects/versions are still active.
Denis, can you help to come up with the SQL commands to mark the files and strings belonging to these projects/versions to be inactive?
subversive: mysql> update files set is_active = 0 where project_id = "technology.subversive" and version="unspecified"; Query OK, 6 rows affected (0.09 sec) Rows matched: 6 Changed: 6 Warnings: 0 mysql> update strings set is_active = 0 where file_id in (select file_id from files where project_id = "technology.subversive" and version="unspecified"); Query OK, 0 rows affected (16.90 sec) Rows matched: 2344 Changed: 0 Warnings: 0 mysql> update files set is_active = 0 where project_id = "birt" and version="unspecified"; Query OK, 6 rows affected (0.09 sec) Rows matched: 46 Changed: 6 Warnings: 0 mysql> update strings set is_active = 0 where file_id in (select file_id from files where project_id = "birt" and version="unspecified"); Query OK, 8170 rows affected (17.01 sec) Rows matched: 10514 Changed: 8170 Warnings: 0 Thanks, Denis! Yoshida-san, I touched some of the strings you translated. Babel does not update the unspecified versions anymore. Resolving as fixed. Thank You, Denis Roy and Kit Lo. I can ensure the unspecified versions are not update now ;) |