-
-
Notifications
You must be signed in to change notification settings - Fork 594
Change Assembly Version to AssemblyVersion in win_pe #4116
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
base: develop
Are you sure you want to change the base?
Change Assembly Version to AssemblyVersion in win_pe #4116
Conversation
9cc045f
to
51c9005
Compare
@pombredanne two test cases are failing when I used it shows (I checked for
it shows that the I think no need to change this 'Assembly Version' to 'AssemblyVersion' because I think we should not handle the correct Windows PE versions when we using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both "Assembly Version" and "AssemblyVersion" exist in the wild. See the your updated tests that are skipping this value now.
This is not correct:
https://github.com/aboutcode-org/scancode-toolkit/pull/4116/files#diff-912e6b6b9ff4c33ea88d4f914e955f723fb024e17161592bfc2a2124718db218L5
You cannot replace one with the other, if need be you need both, if you can find a tiny test PE that actually contains "AssemblyVersion".
See https://github.com/search?q=["Assembly+Version"]+language%3AC%23&type=code
0c185f0
to
905a6cc
Compare
Reference: aboutcode-org#3790 Signed-off-by: Alok Kumar <[email protected]>
905a6cc
to
9caa6b3
Compare
Hey @pombredanne
I use both "Assembly Version" and "AssemblyVersion" Now it is working and also all test cases are passed. |
@alok1304 see #4116 (review) you need to add a minimal test with a real example to test this functionality. Look for test files similar to what we have, do you need any help finding these? |
yes, I need help, how do we find these files for the test that contains AssemblyVersion? |
Fixes #3790
Tasks
Run tests locally to check for errors.
Signed-off-by: Alok Kumar [email protected]