Skip to content

Possibility for reverse search dashboard (similar to conda repoquery whoneeds)?Β #24

@matthewfeickert

Description

@matthewfeickert

πŸ‘‹ The dashboard (which I learned about in conda-forge/cuda-feedstock#61 (comment)) is super nice! If I could put in a stretch goal of a feature request, it would be useful to add a view that would allow for you to type in a conda-forge package name and have it list for you all the packages on conda-forge that depend on that package. This is basically what conda repoquery whoneeds does already, so as an example of what I'm suggesting, in the dashboard I could type in awkward and it would return to me output similar to

$ micromamba repoquery whoneeds --channel conda-forge awkward > out.txt  # Need to strip off the headers first
$ tail -n +$(($(grep -n -m 1 "Depends" out.txt | grep -Po '^[0-9]+')+2)) out.txt | awk '{print $1}' | sort --unique
akimbo
awkward-numba
awkward-pandas
cabinetry
clouddrift
coffea
cuda_histogram
dask-awkward
fastjet
km3io
km3pipe
lbapcommon
lhcbdirac
pykealib
pylhe
ragged
rubin-env-extras
rubin-env-rsp
scikit-hep
tiled-base
uproot
uproot-base
uproot-browser
uproot-methods

In situations where there's no package that includes the target package as run requirement (like cuda-nvtx-dev)

$ micromamba repoquery whoneeds --channel conda-forge cuda-nvtx-dev
Getting repodata from channels...

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
nodefaults/linux-64                                         Using cache
nodefaults/noarch                                           Using cache
No entries matching "cuda-nvtx-dev" found
Try looking remotely with '--remote'.

the dashboard would note that there are no packages on conda-forge that required that target package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions