Project

General

Profile

Actions

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.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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"

Actions #1

Updated by Vincent MEMBRÉ about 11 years ago

  • 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.

Actions #2

Updated by Nicolas CHARLES almost 11 years ago

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
?

Actions #3

Updated by Jonathan CLARKE almost 11 years ago

  • Assignee changed from Matthieu CERDA to Fabrice FLORE-THÉBAULT

Awaiting a response from Fabrice.

Actions #4

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions #5

Updated by Benoît PECCATTE over 9 years ago

  • Assignee deleted (Fabrice FLORE-THÉBAULT)
Actions #6

Updated by Benoît PECCATTE over 8 years ago

  • Target version set to Ideas (not version specific)
Actions #7

Updated by Alexis Mousset almost 3 years ago

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.

Actions #8

Updated by Alexis Mousset almost 3 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF