Skip to content

Default test to allow_reresolve=false when a manifest is checked in #4235

@IanButterworth

Description

@IanButterworth

Repos with checked in manifests are intentionally fixing their deps, and therefore Pkg.test defaulting to allow_reresolve=false would be more in-line with expectations. Otherwise Pkg.test is allowed to deviate, and although it does warn when re-resolving, it's easy to miss such logs, especially when CI ends up green.

To do this requires figuring out if a manifest is checked-in to git. @DilumAluthge pointed out LibGit2 can do that per file
https://libgit2.org/docs/reference/main/ignore/git_ignore_path_is_ignored.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions