-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fixes and optimization #240
Conversation
Default encoding is not always UTF-8, make it explicit. Also use the surrogateescape error handler to preserve undecodable bytes. Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Nikola Forró <nforro@redhat.com>
It turns out that even checking if parsing is necessary or can be skipped is quite expensive and quickly adds up when performed in every iteration of a loop. Prevent that and only do it once. Signed-off-by: Nikola Forró <nforro@redhat.com>
Build succeeded. ✔️ pre-commit SUCCESS in 1m 40s |
It only makes sense to expand the last token of a section ID line if it starts with a '%'. Signed-off-by: Nikola Forró <nforro@redhat.com>
Added one more small optimization. |
Build succeeded. ✔️ pre-commit SUCCESS in 1m 32s |
/packit retest-failed |
Rawhide tests will be fixed by https://gitlab.com/testing-farm/gluetool-modules/-/commit/25c51b3983d896d83cbd89a7950d84c8d466d282. |
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 1m 31s |
No description provided.