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

tmt lint fails with fmf path not in root #2006

Closed
LecrisUT opened this issue Apr 19, 2023 · 1 comment · Fixed by #1851
Closed

tmt lint fails with fmf path not in root #2006

LecrisUT opened this issue Apr 19, 2023 · 1 comment · Fixed by #1851
Assignees
Labels
command | lint tmt lint command
Milestone

Comments

@LecrisUT
Copy link
Contributor

Here is a minimum example:

$ tree -a
.
└── a
    ├── .fmf
    │   └── version
    └── plan.fmf
$ tmt --root a lint
/plan
pass correct attributes are used
fail No tree found in repo 'None', missing an '.fmf' directory?

with plan.fmf:

summary:
  simple example
discover:
  how: fmf
  filter: "tag: something"
execute:
  how: tmt

tmt --root a run works fine, but I did not confirm that others work.

@lukaszachy lukaszachy added the command | lint tmt lint command label Apr 19, 2023
This was referenced Apr 19, 2023
@happz
Copy link
Collaborator

happz commented May 5, 2023

Will be fixed by #1851

happz added a commit that referenced this issue May 5, 2023
happz added a commit that referenced this issue May 5, 2023
@psss psss added this to the 1.23 milestone May 9, 2023
@psss psss closed this as completed in #1851 May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command | lint tmt lint command
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants