localstack / localstack/plux

Add report log output at end of plugins command

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
76
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently the log output of the `plugins` command is a bit of a mess. There's no real good way of seeing the warnings that some files weren't importable and scannable for plugins. A nicely formatted report at the end of the command would be useful, containing

* all discovered plugins and their files
* all files that had an error while importing (and the related error)

It would also be useful to configure the loglevel and capture all the output created by simply importing code, similar to pytests' `--log-cli-level`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the implementation of the `plugins` command and trace how plugin files are discovered, imported, and logged. Define the report around discovered plugins, import failures with related errors, and configurable log output, including output produced during imports. Done means the command presents a clear end-of-command report and exposes the requested log-level behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.