Skip to content

Let ghtar always use latest version by default & mongodb bugfix#1125

Merged
crazywhalecc merged 5 commits intomainfrom
fix/ghtar
Apr 30, 2026
Merged

Let ghtar always use latest version by default & mongodb bugfix#1125
crazywhalecc merged 5 commits intomainfrom
fix/ghtar

Conversation

@crazywhalecc
Copy link
Copy Markdown
Owner

What does this PR do?

Fix #1124

Checklist before merging

If your PR involves the changes mentioned below and completed the action, please tick the corresponding option.
If a modification is not involved, please skip it directly.

  • If you modified *.php or *.json, run them locally to ensure your changes are valid:
    • composer cs-fix
    • composer analyse
    • composer test
    • bin/spc dev:sort-config
  • If it's an extension or dependency update, please ensure the following:
    • Add your test combination to src/globals/test-extensions.php.
    • If adding new or fixing bugs, add commit message containing extension test or test extensions to trigger full test suite.

@crazywhalecc crazywhalecc requested a review from henderkes April 30, 2026 04:00
Comment thread tests/mock/SPC_store.php
Comment on lines +15 to +23
if (str_contains($command, 'https://api.github.com/repos/AOMediaCodec/libavif/releases/latest')) {
$output = explode("\n", json_encode([
'tag_name' => 'v1.1.1',
'tarball_url' => 'https://api.github.com/repos/AOMediaCodec/libavif/tarball/v1.1.1',
'prerelease' => false,
'draft' => false,
]));
return true;
}
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.

I don't understand why this is required

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

We dont' really fetch info from API, this is a full-mock functions for curlExec for stablize tests.

@crazywhalecc crazywhalecc merged commit 5b5861c into main Apr 30, 2026
7 checks passed
@crazywhalecc crazywhalecc deleted the fix/ghtar branch April 30, 2026 04:41
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.

Unable to compile mongodb on Linux x64

2 participants