Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Improper Import Order Breakingfuzz_submodule Fuzzer#1926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

DaveLak
Copy link
Contributor

ClusterFuzz runs of thefuzz_submodule target have been failing because thegit import was placed before the condition that sets the Git executable path 😞

The order in whichgit is imported matters because it attempts to find a Git executable as the import is loaded (viarefresh() ingit/__init__.py.) As per#1909, we configure the ClusterFuzz environment to use a bundled Git executable via the env variable condition in all fuzz targets.

ClusterFuzz runs of the `fuzz_submodule` target have been failingbecause the `git` import was placed before the condition that sets theGit executable path.The order in which `git` is imported matters because it attempts to finda Git executable as the import is loaded (via `refresh()` in`git/__init__.py`.) As pergitpython-developers#1909, we configure the ClusterFuzzenvironment to use a bundled Git executable via the env variablecondition in all fuzz targets.
Copy link
Member

@ByronByron left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

Let's try it out :).

@ByronByron merged commitca1d031 intogitpython-developers:mainJun 4, 2024
26 checks passed
@DaveLakDaveLak deleted the fix-broken-fuzz-submodule-target branchJune 4, 2024 19:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ByronByronByron approved these changes

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@DaveLak@Byron

[8]ページ先頭

©2009-2025 Movatter.jp