Skip to content

Demote missing implicit script warning - #253

Open
juliosuas wants to merge 1 commit into
zeek:masterfrom
juliosuas:fix/plugin-only-script-warning
Open

Demote missing implicit script warning#253
juliosuas wants to merge 1 commit into
zeek:masterfrom
juliosuas:fix/plugin-only-script-warning

Conversation

@juliosuas

Copy link
Copy Markdown
Contributor

Summary

  • demote the missing implicit script_dir message from warning to debug
  • keep explicit invalid script_dir metadata as an installation error
  • add a regression assertion for plugin-only packages without top-level scripts

Fixes #199.

Testing

  • uv run pytest -n 0 testing/test_btest.py -k "tests.load and not dependency"
  • uv run pytest -n 0 testing/test_manager.py testing/test_source.py --tb=short
  • pre-commit: trailing whitespace, EOF, YAML, large files, Ruff, cmake-format, and cmake-lint passed (mypy 2.1.0 hit an internal error on Python 3.13)

Restored after an accidental fork deletion. Same commits as #251.

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.

Avoid noisy logging for packages that intentionally don't have any zkg.meta-specified scripts

1 participant