Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lukaszachy opened this issue Feb 20, 2024 · 1 comment · May be fixed by #223
Open

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

lukaszachy opened this issue Feb 20, 2024 · 1 comment · May be fixed by #223
Labels
enhancement New feature or request tree

Comments

@lukaszachy
Copy link
Collaborator

lukaszachy commented Feb 20, 2024

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 lukaszachy added enhancement New feature or request tree discuss labels Feb 20, 2024
@lukaszachy
Copy link
Collaborator Author

Another name proposal: is-leaf

lukaszachy added a commit that referenced this issue Feb 27, 2024
Expected usage with virtual tests while keeping the parent
test as well

Fix: #221
@lukaszachy lukaszachy linked a pull request Feb 27, 2024 that will close this issue
3 tasks
lukaszachy added a commit that referenced this issue Feb 28, 2024
Expected usage with virtual tests while keeping the parent
test as well

Fix: #221
@lukaszachy lukaszachy removed the discuss label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tree
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant