Skip to content

fix: Set the current folder as a "primary" for the find command#2120

Merged
iffyio merged 1 commit intoapache:mainfrom
martin-g:fix-find-usage
Dec 3, 2025
Merged

fix: Set the current folder as a "primary" for the find command#2120
iffyio merged 1 commit intoapache:mainfrom
martin-g:fix-find-usage

Conversation

@martin-g
Copy link
Copy Markdown
Member

@martin-g martin-g commented Dec 3, 2025

While testing the 0.60,0 RC2 release I noticed the following at the end of the logs:

find -iname Cargo.toml
find: illegal option -- i
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
       find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]

The reason is the missing . before the arguments.
https://github.com/martin-g/datafusion-sqlparser-rs/blob/5a3b63bf419ff80e6acdb0b3bbdbcf664083f1d5/dev/release/verify-release-candidate.sh#L75 does it correctly

While testing the 0.60,0 RC2 release I noticed the following at the end
of the logs:
```
find -iname Cargo.toml
find: illegal option -- i
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
       find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
```

The reason is the missing `.` before the arguments.
https://github.com/martin-g/datafusion-sqlparser-rs/blob/5a3b63bf419ff80e6acdb0b3bbdbcf664083f1d5/dev/release/verify-release-candidate.sh#L75
does it correctly
Copy link
Copy Markdown
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @martin-g!

@iffyio iffyio added this pull request to the merge queue Dec 3, 2025
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @martin-g 🙏

I tested this locally by running

./dev/release/verify-release-candidate.sh 0.60.0 2

And it works great

When I ran the same thing on main I see

+ find -iname Cargo.toml
+ xargs grep SNAPSHOT
find: illegal option -- i
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
       find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
+ popd

Merged via the queue into apache:main with commit effaac5 Dec 3, 2025
10 checks passed
@martin-g martin-g deleted the fix-find-usage branch December 3, 2025 20:34
ayman-sigma pushed a commit to sigmacomputing/sqlparser-rs that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants