User story #6244
closed
Automatic directive naming
Added by Florian Heigl almost 10 years ago.
Updated over 7 years ago.
Category:
Web - Config management
Description
Hi,
a very nice helper would be to be able to set a "naming scheme" or "naming template" with each technique.
When one instantiates it, it could pre-fill the name to a text like
"PKG_INSTALL <project> <purpose> <package>"
The user would still need to adjust it, but lose one interruption to the workflow.
("err. what was i gonna call it? how did we think we should name them? why am i even at work?")
- Category set to Web - Config management
- Status changed from New to 8
- Target version set to 3.1.0~beta1
Oh yes so much yes I want that !
A good idea would be to (pre)name differently Directives from unique technique:
- unique Techniques lead to directive with the same name as them
- non-uniuqe Techniques lead to a more specific directive name
- Status changed from 8 to New
- Target version changed from 3.1.0~beta1 to 3.1.0~rc1
- Target version changed from 3.1.0~rc1 to 3.1.0
- Target version changed from 3.1.0 to 3.1.1
- Target version changed from 3.1.1 to 3.1.2
- Target version changed from 3.1.2 to 3.1.3
- Target version changed from 3.1.3 to 3.1.4
- Target version changed from 3.1.4 to 3.1.5
- Status changed from New to In progress
- Assignee set to François ARMAND
OK, so the first quick win for that one is to use the technique name for every technique.
A more elaborated scheme would imply to actually set the text somewhere (most likelly in the metadata.xml, because it is here for just that kind of thing, but that mean modifying these file for the feature to be of any use, so a whole lot more code...)
- Target version changed from 3.1.5 to 3.2.0~beta1
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/942
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
- Pull Request changed from https://github.com/Normation/rudder/pull/942 to https://github.com/Normation/rudder/pull/976
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Subject changed from Feature idea: automatic directive naming to Automatic directive naming
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.2.0~beta1 which was released today.
Also available in: Atom
PDF