Antoine Toulme wrote:
Well, I beg to disagree on this.
We just had a big SVN change on the STP repository. As a result,
all the files for stp are invalid. And I had to re-enter the correct
map file path in another project. My hope is that syncup will duplicate
the translations so that I can get them.
If we delete those files, we will lose their attached
translations as well.
It's not because the file is deleted that its translations have
really less value: we should keep them for synchronization purposes.
That's an honest assessment. +1
Right now it doesn't seem there is anything to delete the file
in process_map_files.php. Is that done somewhere ?
It's not done at all, but process_map_files.php is likely where it
should be happening. We have this bug to track deleting keys:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=244139
Denis
Thanks,
Antoine
On Tue, Nov 18, 2008 at 4:33 PM, Denis Roy <denis.roy@xxxxxxxxxxx>
wrote:
If we're absolutely certain
that the file was deleted, then it should
be gone from the DB as well.
Denis
Kit Lo wrote:
Is it easy to identify those
files
in
the DB? If yes, it'd be nice to remove them (option 2). That will trim
down the DB and reduce backup storage too (not sure if that's much).
If there is no safe and easy
way,
option
3 is okay with me too.
Kit Lo
IBM Eclipse SDK Globalization Technical Lead
Eclipse Babel Project Co-lead
Hi all,
I have some pending changes for the generate1.php
script.
In this script, we used to use the plugin id as
found
by doing a regular _expression_ on the file path.
I made sure that, when processing map files, we
would
pick up the plugin id and put it in the DB.
The problem is that some files have been deleted
since
they had been added to the files table. Those files have no plugin_id.
A bug[0] was opened regarding this.
The bug presents three options:
1. Just don't generate for those files.
2. Remove them from the DB.
3. Flag those files as non existing during the
processing
and avoid generating
for them.
I just added a workaround: use the old fashion way
of
processing by grabbing the plugin id from the file path. Of course this
would break on the Intalio machine, but we can maybe fix this during
the
generate1.php refactoring later.
We still need to do something about deleted files.
Pick
an option, I vote for 3.
Thanks,
Antoine
[0]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=254429
--
http://www.lunar-ocean.com/blog
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev
--
http://www.lunar-ocean.com/blog
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev
|