Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Always show build log link for SRPM #440

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

Venefilyn
Copy link
Collaborator

This makes the build log always visible as it will always return from
packit. Otherwise users would not get any logs when an SRPM build has
failed, meaning they would have to chase it down through the link

Takes up on results from #371

TODO:

  • Write new tests or update the old ones to cover new functionality.
  • Update doc-strings where appropriate.
  • Update or write new documentation in packit/packit.dev.
  • ‹fill in›

Fixes

Related to

Merge before/after

RELEASE NOTES BEGIN
Always show SRPM Build logs
RELEASE NOTES END

@usercont-release-bot
Copy link

usercont-release-bot commented Aug 19, 2024

Preview: https://packit-dashboard-pr-440.surge.sh (deployed at Mon 19 Aug 2024, 14:52 UTC)

Copy link
Contributor

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

could we check for null for logs_url as well? In case there is failure on build submission

This makes the build log always visible as if it returns from
packit. Otherwise users would not get any logs when an SRPM build has
failed, meaning they would have to chase it down through the link

Takes up on results from packit#371
@Venefilyn
Copy link
Collaborator Author

could we check for null for logs_url as well? In case there is failure on build submission

Done!

Copy link
Contributor

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

thanks!

@Venefilyn Venefilyn added this pull request to the merge queue Aug 21, 2024
Merged via the queue into packit:main with commit b0e3a6d Aug 21, 2024
4 checks passed
@Venefilyn Venefilyn deleted the fix/always-show-srpm-logs branch August 21, 2024 16:02
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.

3 participants