[augeas-devel] [Augeas] #14: Add /augeas/tree/last_created node

Augeas trac at fedorahosted.org
Fri Aug 29 12:18:04 UTC 2008


#14: Add /augeas/tree/last_created node
-------------------------+--------------------------------------------------
 Reporter:  raphink      |       Owner:  lutter  
     Type:  enhancement  |      Status:  new     
 Priority:  minor        |   Milestone:  wishlist
Component:  Augeas       |     Version:  0.3.0   
 Keywords:               |  
-------------------------+--------------------------------------------------
 There is currently no way to know the path to a newly created node (with
 e.g. insert). Adding an /augeas/tree/last_created node would allow to get
 this value after running insert.

 Additionally, a rename(path, label) command could be added to do:

 ins(label, path, after)
 newpath = get("/augeas/tree/last_created")
 mv(path, newpath)


 This would allow to easily rename a node in the same context (e.g. to
 comment/uncomment).

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/14>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list