Remove redundant "-:NOREFS" from SymStore cli options#13439
Conversation
feerrenrut
left a comment
There was a problem hiding this comment.
Code change looks fine, confirmed order matches docs, and option requirements are as described.
I'm not sure I understand what conclusions to draw from the testing section of the description:
- Wouldn't it be more clear to test this same branch before and after this
buildSymbolStore.ps1change? - I assume the intention is to show that there is no difference in the symbol store output due to this change?
I figured it was more clear to specify alpha. The branch before and after the change is the same difference as alpha/this branch.
The intention is to show that there an no new files excluded or included, the contents of the files will differ. |
|
I've updated the PR description to make this more clear. |
This implies that the command doesn't alter the contents of these files? These files are created based on the NVDA source files, if the source changes the pdb files change, using different source ensures the contents will differ. Using identical source files will help us isolate other causes of change. If we can show that the symbol store is binary equal before and after this change to params, then there is no risk of breaking the symbol store. |
|
@feerrenrut Note that 2 different builds of the same source code will yield different binaries. 2 different builds with the exact same source code also yield the same output to what is described in the PR description, using |
|
Manually diffing these files shows the majority of differences are timestamps and random strings being changed. |
Link to issue number:
Closes: #12912
Summary of the issue:
As per the documentation
-:NOREFSshould be used with/p. Reference pointer files are not included unless we use the/pflag.Description of how this pull request fixes the issue:
Removes
-:NOREFSand reorders options to be inline with documentation.Testing strategy:
Removing
-:NOREFSmight raise the concern that new reference pointer files will be included in the symbols.zip symbols store, which is created when building NVDA.The
symbols.zipof a build from this branch was diffed with thesymbols.zipof alpha that this is branched from.Diffing further shows that only the end component (hash) of the file has changed.
This means that no new files are included or excluded, only the file contents have changed.
Known issues with pull request:
n/a
Change log entries:
n/a
Code Review Checklist: