Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Conversation

@irushchyshyn
Copy link
Collaborator

@irushchyshyn irushchyshyn commented Feb 8, 2018

Update unversioned_shebangs task to also check for automatic shebangs mangling in build logs (#42 )

Keep the ambiguous shebangs check in place, in case brp script is disabled, but also check the build logs for the warning generated when the shebangs are automatically mangled. Fail the shebang check in both
cases.

import pytest

from taskotron_python_versions.python_usage import file_contains
from taskotron_python_versions.common import file_contains
Copy link
Member

Choose a reason for hiding this comment

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

Maybe the test should move to test_common.py?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hm, we do not yet have test_common.py, so I will just rename this file.

Copy link
Member

Choose a reason for hiding this comment

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

Makes sense if it only tests that function. Thanks

@irushchyshyn irushchyshyn changed the title WIP: Shebang check update Shebang check update Feb 9, 2018
@irushchyshyn irushchyshyn removed the WIP label Feb 9, 2018
@hroncok hroncok self-assigned this Feb 15, 2018
The function is going to be needed by shebang check as well to work
with log file.
… mangling in build logs

Keep the ambiguous shebangs check in place, in case brp script is
disabled, but also check the build logs for the warning generated when
the shebangs are automatically mangled. Fail the shebang check in both
cases.
…angs check

Reuse python-bucky fixture with the latest version for the check,
as it did not change much, except that naming scheme was fixed,
but we have other fixtures for naming scheme check.
@hroncok hroncok merged commit 7701c21 into fedora-python:develop Feb 15, 2018
@hroncok hroncok removed their assignment Feb 15, 2018
@irushchyshyn irushchyshyn deleted the shebang-check-update branch February 20, 2018 10:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants