User story #4066
closed
"Manage files and folders" technique: execute a script when a path is absent
Added by Fabrice FLORE-THÉBAULT about 11 years ago.
Updated almost 3 years ago.
Description
in the "Manage files and folders" technique, i would need, not to create a file or a directory or a symlink when the path is absent, but to execute a script.
This could be achieved with:
- a new option for "Set action on file or folder:" which could be called like: "Execute a Modification hook"
- A new multi-line text input "Modification hook - Command(s) to run"
Example of usage:
Pear package installation: if "path of pear package" is absent, then execute "pear discover channel ; pear install package"
- Assignee set to Matthieu CERDA
Interesting proposition. having 'post modification hooks' seems a good idea to have techniques more versatile!
Thank you Fabrice for your proposition!
I'll assigned to Matthieu for now.
Fabrice, would you need a new post-modification hook, only in case of creation ?
Or could you live with the actual postmodification hook?
To be more clear, do you want to:
A/ check if a file/path is present, if not execute a command
B/ check if a file/path is present, if not create it, set permission, and execute a command
?
- Assignee changed from Matthieu CERDA to Fabrice FLORE-THÉBAULT
Awaiting a response from Fabrice.
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques
- Assignee deleted (
Fabrice FLORE-THÉBAULT)
- Target version set to Ideas (not version specific)
This won’t be added to that technique, please use the technique editor for that. If you are missing some capabilities in it, please open a ticket for that need.
- Status changed from New to Rejected
Also available in: Atom
PDF