Skip to content

Move data structures to a subpackage to be used by packit#34

Merged
Jany26 merged 1 commit into
fedora-copr:mainfrom
Jany26:data-package
Apr 10, 2026
Merged

Move data structures to a subpackage to be used by packit#34
Jany26 merged 1 commit into
fedora-copr:mainfrom
Jany26:data-package

Conversation

@Jany26

@Jany26 Jany26 commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

We left this for a little (while fixing LD trigger in packit-service) but I wanted to revisit this issue and maybe clarify some stuff:

  • should we go through with this?
  • we probably won't be publishing neither package on pypi, so then packit-service will install it like: pip install "logdetective-packit-message @ git+https://github.com/fedora-copr/logdetective-packit.git#subdirectory=schema" ? maybe something to discuss with other packit members...
  • this PR also fixes one test test_analyze_build_skeleton() which was defined twice and the first test got overshadowed, the second got renamed to *_no_token()

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

Copy link
Copy Markdown

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 extracts the Fedora Messaging schema and result enum into a new standalone Python package named logdetective-packit-message located in the schema/ directory. The main service, Docker configuration, and tests have been updated to depend on this new package, ensuring consistency across different consumers. Additionally, several fields in the README were marked as optional to reflect the updated schema. I have no feedback to provide.

Reviewed-by: Claude Opus 4.6
Signed-off-by: Jan Matufka <jmatufka@redhat.com>
@Jany26 Jany26 requested a review from jpodivin April 9, 2026 12:46
@Jany26 Jany26 marked this pull request as ready for review April 9, 2026 12:46
@Jany26 Jany26 merged commit b53829d into fedora-copr:main Apr 10, 2026
3 checks passed
@Jany26 Jany26 deleted the data-package branch May 20, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants