Skip to content

Change make-mks regexes to handle NOGIT=1 as in package-builder - #5250

Merged
graydon merged 1 commit into
stellar:masterfrom
graydon:fix-package-builder-fuzz
May 5, 2026
Merged

graydon merged 1 commit into
stellar:masterfrom
graydon:fix-package-builder-fuzz

Conversation

@graydon

@graydon graydon commented May 4, 2026

Copy link
Copy Markdown
Contributor

The recent change #5121 broke the package builder by being a little too eager about anchoring a regex in make-mks to the beginning of the line. Package builder does its build from a tarball with NOGIT=1 and the prefix is different. Minor fix.

Copilot AI review requested due to automatic review settings May 4, 2026 19:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes make-mks path-filter regexes so they also work when building from a tarball with NOGIT=1, where find returns paths prefixed with ./ (unlike git ls-files).

Changes:

  • Relaxed the exclusion regex for main/main.cpp so it matches paths with prefixes like ./.
  • Relaxed the exclusion regex for test/fuzz/FuzzMain.cpp for the same NOGIT=1 case.

@anupsdf anupsdf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

rubber stamping

@graydon
graydon added this pull request to the merge queue May 4, 2026
Merged via the queue into stellar:master with commit 8a71e20 May 5, 2026
76 of 78 checks passed
@graydon
graydon deleted the fix-package-builder-fuzz branch May 5, 2026 00:36
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