Skip to content

README is a file, not a directory - #390

Merged
cakebaker merged 1 commit into
mainfrom
sylvestre-patch-1
Oct 7, 2026
Merged

cakebaker merged 1 commit into
mainfrom
sylvestre-patch-1

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 07:41
@sylvestre
sylvestre requested a review from kaladron as a code owner October 6, 2026 07:41

@kaladron kaladron left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for catching this!

@kaladron

kaladron commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

And this test failure nicely demonstrates why we need a mirror. I'll get to that shortly.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Fixes the GNU tar extraction guard in the build script by correctly treating README as a file rather than a directory.

Changes:

  • Update the extraction precondition to check for a README file (-f) instead of a directory (-d).
File Description
util/​build-gnu.sh Corrects the extraction condition to detect an extracted GNU tar tree via a file check.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread util/build-gnu.sh

# Extract GNU tar source if needed
if test ! -d "${path_GNU}/README"; then
if test ! -f "${path_GNU}/README"; then
@codspeed

codspeed Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 7 untouched benchmarks


Comparing sylvestre-patch-1 (ba9232e) with main (20658bb)

Open in CodSpeed

@cakebaker
cakebaker merged commit c263fb1 into main Oct 7, 2026
36 of 43 checks passed
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.

4 participants