Project

General

Profile

Actions

User story #3110

closed

proposed display order change of "Enforce a file content" Technique

Added by Fabrice FLORE-THÉBAULT over 11 years ago. Updated almost 5 years ago.

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

Description

The actual display order is quite confuse: some options are activated or disabled in the first section of the directive, some other are activated or disabled at the very beginning of their own section. The second option (enable switch at the beginning of the section) seems more readable.

actual display order

Section: File

  1. Path:
  2. Enforce the content of the file: (If yes, the file will exactly contains what is in the "Content of the file" field, otherwise the content will be added, leaving the rest of the file untouched)
  3. Enable the deletion of lines using a regexp:
  4. Enable the creation of the file if it doesn't exist:
  5. Enable the replacement of lines using a regexp:

Section: File content

  1. Content of the file (optional):

Section: Line deletion regular expressions

  1. Regular expression:

Section: Line replacement regular expressions

  1. Regular expression:
  2. String used as a replacement (optional):

Section: Permission adjustment

  1. Set explicit permissions to apply on the file:
  2. Owner of the file:
  3. Group of the file:
  4. Permissions to apply on the file:

Section: Post-modification hook

  1. Should the command(s) below be run if any modifications are made on the path above?:
  2. Command to run after any modifications (optional):

proposed display order

Section: File

  1. Path:
  2. Enable the creation of the file if it doesn't exist:

Section: File content

  1. Enforce the content of the file: (If yes, the file will exactly contains what is in the "Content of the file" field, otherwise the content will be added, leaving the rest of the file untouched)
  2. Content of the file (optional):

Section: Line deletion regular expressions

  1. Enable the deletion of lines using a regexp:
  2. Regular expression:

Section: Line replacement regular expressions

  1. Enable the replacement of lines using a regexp:
  2. Regular expression:
  3. String used as a replacement (optional):

Section: Permission adjustment

  1. Set explicit permissions to apply on the file:
  2. Owner of the file:
  3. Group of the file:
  4. Permissions to apply on the file:

Section: Post-modification hook

  1. Should the command(s) below be run if any modifications are made on the path above?:
  2. Command to run after any modifications (optional):
Actions #1

Updated by Nicolas CHARLES over 11 years ago

  • Priority changed from N/A to 3

Thank you for this suggestion Fabrice !

Actions #2

Updated by Jonathan CLARKE about 11 years ago

  • Project changed from Rudder to 24
  • Category deleted (Techniques)
Actions #3

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 24 to Rudder
  • Category set to Techniques
Actions #4

Updated by Benoît PECCATTE almost 8 years ago

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

Updated by Alexis Mousset almost 5 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF