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

compress_logs: compress also after repo failures #736

Merged
merged 1 commit into from Jun 7, 2021

Conversation

praiskup
Copy link
Member

@praiskup praiskup commented Jun 2, 2021

Before, errors like
Errors during downloading metadata for repository 'local'
Ended up with non-compressed logs in resultdir.

We can not easily move the 'postbuild' hook call as others already
depend on that - so I'm proposing a new hook for log processing.

Original report:
https://pagure.io/copr/copr/issue/1648

@praiskup
Copy link
Member Author

praiskup commented Jun 2, 2021

Needs fix, this doesn't compress logs when there's no exception.

Before, errors like
    Errors during downloading metadata for repository 'local'
Ended up with non-compressed logs in resultdir.

We can not easily move the 'postbuild' hook call as others already
depend on that - so I'm proposing a new hook for log processing.

TODO: Fix for --postinstall is still needed.

Original report:
https://pagure.io/copr/copr/issue/1648
@praiskup
Copy link
Member Author

praiskup commented Jun 2, 2021

Meh, not awesome, not 100% complete - but simple change enough. PTAL

@xsuchy xsuchy merged commit a0128f4 into rpm-software-management:main Jun 7, 2021
@praiskup praiskup deleted the always-compress-logs branch December 21, 2021 07:57
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.

None yet

2 participants