depfinder icon indicating copy to clipboard operation
depfinder copied to clipboard

More flexible namespace map

Open CJ-Wright opened this issue 3 years ago • 5 comments

Currently the namepspace map is loaded from a file. It would be nice to be able to provide it from calling code.

CC: @jkarp314

CJ-Wright avatar Sep 10 '20 00:09 CJ-Wright

Shouldn't we just load it from the conda forge map you and @mariusvniekerk built?

ericdill avatar Sep 10 '20 00:09 ericdill

We could, I thought it would be more robust to allow 3rd parties to provide it if they wanted to.

How do you want to implement that, do you want to pull from the url at runtime?

CJ-Wright avatar Sep 10 '20 00:09 CJ-Wright

I'd recommend we vend in the current state of that file and pull it on demand

mariusvniekerk avatar Sep 10 '20 00:09 mariusvniekerk

And I guess read from some RC file

mariusvniekerk avatar Sep 10 '20 00:09 mariusvniekerk

xref: https://github.com/ericdill/depfinder/pull/49

CJ-Wright avatar Sep 14 '20 22:09 CJ-Wright