teemtee / fmf

Flexible Metadata Format
GNU General Public License v2.0
22 stars 28 forks source link

Keeping the 'node' as an object even though it has children and is not a leaf #221

Closed lukaszachy closed 5 months ago

lukaszachy commented 9 months ago

If one has following structure producing /foo object

$ tree
.
└── foo
    └── main.fmf

adding another fmf file makes the original node stop being leaf and thus disapearing from the fmf tree

$ tree
.
└── foo
    ├── bar.fmf
    └── main.fmf
$ fmf ls
/foo/bar

Proposal to add marker similar to /: inherit:false which would keep the /foo being an object, thus for the above tree we will have:

$ fmf ls
/foo
/foo/bar

Name of the marker subject to discussion: how about retain-name?

Related tmt issue: tmt/issues/1795

lukaszachy commented 9 months ago

Another name proposal: is-leaf