Skip to content

Default use of remote data.json vs local file (Debian) #2896

@polkorny

Description

@polkorny

Description

While working on packaging Sherlock 0.16.0 for Debian, I noticed that by default it fetches data.json from GitHub instead of using the local file installed with the package. Also, honor_exclusions=True triggers an additional network request.

In Debian, we generally try to avoid implicit network access when the same data is already available locally (such as bundled data files).

There is already the --local flag, which addresses this, but since it’s not the default, users (and automated environments/tests) may still encounter unexpected network access.

We were considering handling this downstream (e.g. with a wrapper script adding --local, or by patching the default behavior), but before doing that we thought it would be better to check with upstream.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions