<div dir="ltr">Hi again,<br><br>As I am experimenting with comments, I considered several ways of dealing with commented values (cf. <a href="http://augeas.net/page/Dealing_with_comments">http://augeas.net/page/Dealing_with_comments</a>).<br>
<br>* Creating a "commented" flag under the commented node:<br><br>e.g. <br>   /files/path/to/my/file/field = "value"<br>   /files/path/to/my/file/field/commented<br><br>   This is my favorite pick, but David pointed out that this way of doing could confuse the devs using the lens, since they would have to check for the existence of the "commented" flag before using the parsed value.<br>
<br><br>* Embedding the parsed value inside a "commented" node:<br><br>e.g.<br>   /files/path/to/my/file/commented<br>   /files/path/to/my/file/commented/field = "value"<br><br>  This fixes the flag issue, since the value clearly appears inside a "commented" node, but it makes it much harder to comment/uncomment the value (which is my point eventually). To uncomment this, one would need to extract the nodes from the "commented" node. I don't know how to achieve that easily.<br>
<br><br>* Using another name for the node:<br><br>e.g.<br>   /files/path/to/my/file/c_field = "value"<br><br>  This also fixes the flag issue, since the field name is different. To comment/uncomment here would mean to rename the field, if possible. Something that would look like :<br>
<br> mv /files/path/to/my/file/c_field /files/path/to/my/file/field<br><br>  I don't know how hard it would be to get to such a possibility in Augeas.<br><br><br>If you have more ideas, please let me know :)<br><br><br>
Raphaël<br><br></div>