Skip to content

Convert ArtifactProvider to dataclass#4765

Merged
happz merged 1 commit intoteemtee:mainfrom
LecrisUT:chore/dataclass-artifact-provider
Apr 14, 2026
Merged

Convert ArtifactProvider to dataclass#4765
happz merged 1 commit intoteemtee:mainfrom
LecrisUT:chore/dataclass-artifact-provider

Conversation

@LecrisUT
Copy link
Copy Markdown
Member

Making changes to the constructor is a pain otherwise

@LecrisUT LecrisUT added ci | full test Pull request is ready for the full test execution plugin | artifact Related to the `prepare/artifact` plugin. labels Mar 30, 2026
Copy link
Copy Markdown
Contributor

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

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 the ArtifactProvider base class and its subclasses to use the @container decorator and post_init pattern, replacing traditional init methods. Key changes include the introduction of simple_field for attribute management, converting sanitized_id to a cached property, and cleaning up associated imports. I have no feedback to provide.

@thrix thrix added this to triage and planning Apr 1, 2026
@github-project-automation github-project-automation bot moved this to backlog in planning Apr 1, 2026
@github-project-automation github-project-automation bot moved this to waiting in triage Apr 1, 2026
@thrix thrix moved this from backlog to implement in planning Apr 1, 2026
@thrix thrix moved this from waiting to triaged in triage Apr 1, 2026
@thrix thrix removed this from triage Apr 1, 2026
@LecrisUT LecrisUT force-pushed the chore/dataclass-artifact-provider branch from 94065d8 to e998717 Compare April 9, 2026 12:31
@LecrisUT LecrisUT moved this from implement to review in planning Apr 9, 2026
@LecrisUT LecrisUT marked this pull request as ready for review April 9, 2026 12:44
@happz happz force-pushed the chore/dataclass-artifact-provider branch from e998717 to e67470a Compare April 10, 2026 13:23
@LecrisUT
Copy link
Copy Markdown
Member Author

/packit retest-failed

@vaibhavdaren vaibhavdaren self-assigned this Apr 13, 2026
@vaibhavdaren
Copy link
Copy Markdown
Contributor

Shows test cancelled. Running Again. The change is LGTM.

/packit retest-failed

Comment thread tests/unit/artifact/test_copr_repository.py
@happz happz moved this from review to merge in planning Apr 13, 2026
Signed-off-by: Cristian Le <git@lecris.dev>
@happz happz force-pushed the chore/dataclass-artifact-provider branch from e67470a to 7bdeb14 Compare April 14, 2026 06:57
@happz
Copy link
Copy Markdown
Contributor

happz commented Apr 14, 2026

/packit rebuild-failed

@happz happz merged commit 45e9150 into teemtee:main Apr 14, 2026
32 checks passed
@github-project-automation github-project-automation bot moved this from merge to done in planning Apr 14, 2026
@psss psss added this to the 1.72 milestone Apr 20, 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 plugin | artifact Related to the `prepare/artifact` plugin.

Projects

Status: done

Development

Successfully merging this pull request may close these issues.

6 participants