Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[babel-dev] About deleted files and their plugin id

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


Back to the top