Is it possible delete all files, lines and projects recorded in DB without losing database?

Something like


TRUNCATE 'l10n_community_file';
TRUNCATE 'l10n_community_line';
TRUNCATE 'l10n_community_project';
TRUNCATE 'l10n_community_release';

And reparsing all projects?

Comments

psicomante’s picture

Status: Active » Fixed
pvasili’s picture

Component: Documentation » Miscellaneous
Status: Fixed » Postponed (maintainer needs more info)

2 Psicomante You have forgotten about 'l10n_community_error' ;-)
I think to delete all data(4 table) from tables - a mistake. Users cannot import data under projects (while all scanning completely will not be executed).

Best - delete abandoned, olds and bads projects. http://drupal.org/node/203658.
I think, it needs to be added in opportunities Lacalization server...

psicomante’s picture

I'm sorry, i don't understand why users cannot import data under projects (while all scanning completely will not be executed).

pvasili@drupal.org’s picture

At me ~1700 files. And it needs some time ;)

psicomante’s picture

Title: Reparsing all projects withous losing translation » Reparsing all projects without losing translation

oh ok, i understand. It's not a big problem for my site. I put down for some hours and it's ok :). Thanks a lot for the help!

gábor hojtsy’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

The fix in http://drupal.org/node/203658#comment-1061454 introduces the "start over" functionality for projects which lets you start over with individual projects. The API can be used to start over with all projects, I did not build an interface for that. However, since the underlying code is considered relatively stable now, I suspect this will be a good solution as-is.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.