]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/compile/discussion.mdwn
96269d4e4d55b91c1e0606ff4bbd46f8ba9a5b12
[ikiwiki.git] / doc / plugins / contrib / compile / discussion.mdwn
1 This plugin sounds exactly like what I need! I too have sources I want to compile on the fly,
2 such as diagrams made with Dia and perhaps API reference manuals made with Doxygen.
3
4 I'd like to use it, but -
5
6 Problem: Any user can change the command to something dangerous that deletes file and
7 causes irreversible damage to the system. I can even happen by mistake.
8
9 Suggestion: Add an option to the setup file that forbids to override the build command in the
10 directive, and then only the setup file can configure build commands (if you want). Another
11 idea, an option to validate the build command, either against a regex or using an arbitrary
12 script specified in setup file - then e.g. you can choose which commands are allowed.
13
14 What do you think?
15
16 -- [[fr33domlover]]