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

Fix system uncrustify version detection regex #32

Closed
wants to merge 1 commit into from

Conversation

cottsay
Copy link
Contributor

@cottsay cottsay commented Mar 1, 2023

Two changes here:

  1. Make the regex handle the _d suffix, which may or may not be present in the system's binary.
  2. Disable the automatic version suffix generation on the vendored package so that our own regex can parse it.

This may regress uncrustify tests on platforms which have newer versions of uncrustify with the _d suffix, where we were previously vendoring and will now see the system's version as adequate. We may need to set an upper bound on the acceptable version.

This will regress our beautiful green RHEL 9 builds :(

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Two changes here:
1. Make the regex handle the `_d` suffix, which may or may not be
   present in the system's binary.
2. Disable the automatic version suffix generation on the vendored
   package so that our own regex can parse it.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay added the bug Something isn't working label Mar 1, 2023
@cottsay cottsay requested a review from clalancette March 1, 2023 01:56
@cottsay cottsay self-assigned this Mar 1, 2023
@cottsay
Copy link
Contributor Author

cottsay commented May 26, 2023

Blocked by ament/ament_lint#440

@cottsay cottsay marked this pull request as draft May 26, 2023 21:17
@clalancette
Copy link
Contributor

Closing this, as it is superseded by #37

@clalancette clalancette closed this Apr 3, 2024
@clalancette clalancette deleted the cottsay/version_detection branch April 3, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants