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 over 10 years ago. Updated about 2 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É over 10 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 over 10 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 about 10 years ago

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

Awaiting a response from Fabrice.

Actions #4

Updated by Benoît PECCATTE about 9 years ago

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

Updated by Benoît PECCATTE almost 9 years ago

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

Updated by Benoît PECCATTE almost 8 years ago

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

Updated by Alexis Mousset about 2 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 about 2 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF