Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add configuration option for detailed output control #13

@tarurar

Description

@tarurar

Feature Request: Configuration Option for Detailed Output Control

Description

Add a configuration option that controls the level of detail in the output. Users should be able to choose between detailed output (showing all dependencies) or focused output (showing only problematic packages).

Current Behavior

Currently, Fink outputs:

  • Total number of dependencies
  • Number of distinct dependencies
  • Number of dependencies with multiple versions
  • Details about each package with conflicts (including dependency paths)

Proposed Output Modes

1. Default Mode (Problem-focused)

  • Show summary statistics
  • Only display packages that have version conflicts
  • Show dependency paths for conflicting packages
  • This should be the default behavior for cleaner output

2. Verbose/Detailed Mode

  • Show summary statistics
  • Display all dependency information
  • Include packages without conflicts
  • Show complete dependency tree when requested

Implementation Considerations

  • Add command-line flag (e.g., --verbose or --output-level detailed|summary)
  • Maintain backward compatibility
  • Consider performance implications for large dependency trees
  • Ensure output remains readable and actionable

Use Cases

  • CI/CD pipelines: May want concise output focusing only on problems
  • Development debugging: Sometimes need to see the full dependency picture
  • Reports and audits: May need comprehensive dependency information

Acceptance Criteria

  • Command-line option to control output detail level
  • Default mode shows only problematic packages (breaking change consideration)
  • Verbose mode shows all dependency information
  • Clear documentation on output modes

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions