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

Validation script enhancements #206

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

whindsaks
Copy link
Contributor

  • Python 3.4 compatible so that validate-rapps.py can be executed on ROS.
  • Validate the license type field.
  • Print a harmless warning if License is set to the useless value of "Unknown"

@JoachimHenze
Copy link
Contributor

A pity that you bundled the license thing with that 2nd aspect of improving the compat to older Python.
I would really like to see that splitted into 2 different PRs! Aside from that, approved.


if arch:
if arch not in ALL_ARCH:
reporter.add(self, self._text.index(arch) + 1, f'Unknown architecture: "{arch}"')
reporter.add(self, self._text.index(arch) + 1, 'Unknown architecture: "%s"' % arch)
Copy link
Member

Choose a reason for hiding this comment

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

Why are you using a different format method here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because the syntax is shorter and there is no ambiguity about which argument goes where.

@binarymaster binarymaster added the enhancement New feature or request label Oct 25, 2023
@learn-more learn-more merged commit 69e6262 into reactos:master Jan 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants