Skip to content

Split links away from tmt.base.core#4901

Open
happz wants to merge 7 commits into
mainfrom
base-split-links
Open

Split links away from tmt.base.core#4901
happz wants to merge 7 commits into
mainfrom
base-split-links

Conversation

@happz

@happz happz commented May 18, 2026

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • implement the feature

@happz happz added this to planning May 18, 2026
@happz happz added code | base Base classes implementation in base.py code | no functional change "No Functional Change" intended. Patch should not change tmt's behavior in any way. labels May 18, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning May 18, 2026
@happz happz added the ci | full test Pull request is ready for the full test execution label May 18, 2026
@happz happz moved this from backlog to review in planning May 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors link-related logic by moving Link, Links, and LinkNeedle classes from tmt.base.core to a new tmt.base.links module. Feedback identifies several missing runtime imports for Links and FmfId that will cause NameError exceptions in tmt/base/core.py and tmt/base/links.py. Additionally, update type hints in tmt/utils/jira.py to import directly from the new module instead of using re-exports.

Comment thread tmt/base/core.py
Comment thread tmt/base/core.py
Comment thread tmt/base/links.py
Comment thread tmt/utils/jira.py
@happz happz force-pushed the base-split-links branch from 5e8ca76 to 7939772 Compare May 19, 2026 15:14
@happz happz moved this from review to implement in planning May 20, 2026
@happz happz force-pushed the base-split-links branch from 7939772 to 06c4d76 Compare May 26, 2026 07:36
Comment thread tmt/base/core.py Outdated
@psss psss added this to the 1.75 milestone Jun 2, 2026
@therazix therazix removed this from the 1.75 milestone Jun 5, 2026
@happz happz force-pushed the base-split-links branch from 06c4d76 to 40dc9eb Compare June 5, 2026 13:01
Comment thread tmt/base/core.py Outdated
@bajertom bajertom moved this from implement to review in planning Jun 9, 2026
@psss psss added this to the 1.76 milestone Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution code | base Base classes implementation in base.py code | no functional change "No Functional Change" intended. Patch should not change tmt's behavior in any way.

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

4 participants