Skip to content

Help plans/friends pick the correct version of tmt to test against#4841

Open
LecrisUT wants to merge 2 commits into
teemtee:mainfrom
LecrisUT:plans-friends
Open

Help plans/friends pick the correct version of tmt to test against#4841
LecrisUT wants to merge 2 commits into
teemtee:mainfrom
LecrisUT:plans-friends

Conversation

@LecrisUT
Copy link
Copy Markdown
Member

The issue here is that if you just do a plans.import of the friends plan there is a disconnect between what tmt version is installed (currently controlled by the importer) and the version of the test files used. However we have an explicit connection between @teemtee/latest and the main branch which we use here to enforce that connection. Ideally we would do that for @teemtee/stable also, but that requires some branch/mutable tag that follows the latest successful release, an issue to be resolved later.

The tricky part is making this also available in the dist-git testing. It seems we can actually do that since the dist-git-source supports using a different package's dist-git, although we are blocked by the restriction in #4840. It magically just works in most cases except for inter-dependent dist-git PRs (multiple PRs that need to be landed in a side-tag), but there are enough failure points there anyway.

On the side of the users of plans/friends, they would have to remove their definition of the @teemtee/* copr repo and let us handle it instead.

Depends-on: #4840
Fixes #4539

CC @sopos @lsm5

gemini-code-assist[bot]

This comment was marked as spam.

psss pushed a commit to teemtee/fmf that referenced this pull request May 5, 2026
The state of `/plans/integration` has been out-of-sync for a while,
namely that we do not use python `yq` anymore. Ideally we would use the
`plans/friends` in tmt to have tmt handle the necessary dependencies.
That is waiting on teemtee/tmt#4841.

In the meantime we are doing some cleanup of the plan here partially
reflecting the design described in
teemtee/tmt#4841.
- Drop the usage of `fedora` branch which is not being updated
automatically. There are some ideas of how we could bring it back to
track which should be discussed in
teemtee/tmt#4841 and its followups
- Track the `@teemtee/latest` copr (tmt `main` branch)
- Add a design that is reusable in downstream packaging as well,
basically taking the tmt files from the most relevant state of the
dist-git
@psss psss added this to planning May 6, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: backlog

Development

Successfully merging this pull request may close these issues.

failure of /Test-library-relative-to-tmt-tree

2 participants