Skip to content

conda get_installed_packages emits blank and malformed suggestions #382

Description

@vikvang

Description

The get_installed_packages generator in command-signatures/src/generators/conda.rs maps every line of conda list output after skipping two header lines, with no blank-line filtering and no column parsing — each suggestion is the entire raw line (name, version, build, channel), and trailing blank lines become empty suggestions.

Where

command-signatures/src/generators/conda.rs, get_installed_packages: .skip(2).map(Suggestion::new) with no filter.

Expected

Skip blank lines and comment lines (conda list headers start with #), and suggest just the package name column, consistent with how other generators parse columnar output (e.g. asdf.rs takes split_whitespace().next()).

Impact

Noisy/broken completion entries for conda package arguments.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething is not working as expectedfactory:warp-for-ossOwned by the Warp for OSS factoryready-to-specHuman gate: maintainer approved this issue for spec writingrepro:highLooks highly reproducible from the available informationtriagedInitial factory triage has been completed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions