jiengup opened a new issue, #3739:
URL: https://github.com/apache/iggy/issues/3739

   ### Bug description
   
   Follow-up to #3694.
   
   scripts/ci/sync-rustc-version.sh relies on \b as a word-boundary assertion 
in RUST_IMAGE_PATTERN (line 82) and in the grep/sed expressions at lines 111, 
113, 122, and 124. \b is GNU regex behavior rather than a portable sed/grep 
construct; implementations without it interpret this as brust: and never match 
FROM rust:....
   
   The script therefore only works correctly with a GNU-compatible toolchain: 
--check can produce a false green and --fix can be a silent no-op for FROM-form 
Dockerfiles, while ARG RUST_VERSION remains handled. Replace \b with a portable 
expression.
   
   ### Affected area / component
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Versions
   
   _No response_
   
   ### Hardware / environment
   
   _No response_
   
   ### Sample code
   
   _No response_
   
   ### Logs
   
   _No response_
   
   ### Iggy server config
   
   _No response_
   
   ### Reproduction
   
   _No response_
   
   ### Contribution
   
   - [x] I'm willing to submit a pull request to fix this bug
   
   ### Good first issue
   
   - [ ] I think this could be a good first issue for a new contributor


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to