-
Notifications
You must be signed in to change notification settings - Fork 165
TMT_TREE vs TMT_SOURCE_DIR #2184
Copy link
Copy link
Open
Labels
area | environmentEnvironment variables handlingEnvironment variables handlingdocumentationImprovements or additions to documentationImprovements or additions to documentationstatus | blockedThe merging of PR is blocked on some other issueThe merging of PR is blocked on some other issue
Metadata
Metadata
Assignees
Labels
area | environmentEnvironment variables handlingEnvironment variables handlingdocumentationImprovements or additions to documentationImprovements or additions to documentationstatus | blockedThe merging of PR is blocked on some other issueThe merging of PR is blocked on some other issue
I was examining this run and I've noticed something peculiar in how the design works. In my test I have:
But that does not work in upstream because it should point to
TMT_SOURCE_DIR.But then, what's the usecase of having
TMT_TREEnot point toTMT_SOURCE_DIRwhen using a plan withIf we consider other cases when using
how: fmfwithurlor otherwise, in those cases the source is available atTMT_TREEright? Onlydist-gitbehaves differently with the downloaded tree pointing to a different location.Is there a reason for having these be different? Should the behaviour be how non-dist-git download work, or the other way around? A temporary fix is possible with
${TMT_SOURCE_DIR:-$TMT_TREE}, but it is unexpected to have to do that.