Auto discovery of helper apps

jrglasgow - April 24, 2008 - 00:31
Project:Search Files
Version:6.x-6.x-dev
Component:Code
Category:task
Priority:normal
Assigned:jrglasgow
Status:closed
Description

In the hook_install() function automatically configure helper apps, or at least try to. On servers running Linux you can use "which %appname" to locate the location of the app, then add the app to the database. This can be done for known helper apps, line pdftotext, cat, catdoc, etc...

#1

thl - August 22, 2009 - 22:35
Assigned to:Anonymous» jrglasgow

#2

jrglasgow - August 23, 2009 - 02:33
Status:active» fixed

this has been committed: the helper apps that are auto detected and configured are listed in the image

AttachmentSize
Picture 4.png 29.44 KB

#3

thl - August 23, 2009 - 08:57

for the record, see search_files.install 1.10.2.11.
Thanks, James.

The auto-detection has large potential for failure, so better make "Autodetect" of helper applications an user choice, see
search_files.install revision 1.10.2.12
search_files.module revision 1.19.2.17

#4

thl - August 28, 2009 - 18:36
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.