Closed pombredanne closed 1 month ago
Here is another example:
pkg:npm/unicorn-magic@0.1.0
yield this download from collect/ https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz#to pkg:github/sindresorhus/unicorn-magic@67bb2fd1da1eecb252ba14284df14c0d234a8cfa
and this download URL is created https://github.com/sindresorhus/unicorn-magic/archive/67bb2fd1da1eecb252ba14284df14c0d234a8cfa.zip#from Therefore I think we should have enough data in this simple case to get the tow and from URLs for a d2d run even if the full indexing would not be completed by the time the collect/ call returns
This is done now.
This PR has been merged
To test this feature:
make dev
make run_matchcodeio
in a separate terminalmake run
in a separate terminalRun this command in purldb after running make dev in another terminal
For running d2d on a single PURL
purlcli d2d-purl-set --purl pkg:github/expressjs/express@4.19.0 --output - --purldb-api-url http://127.0.0.1:8001/api/ --matchcode-api-url http://127.0.0.1:8002/api/
For running d2d on pair of 2 PURLs
--purldb-api-url http://127.0.0.1:8001/api/ --matchcode-api-url http://127.0.0.1:8002/api/ --output -```
Output with d2d results will appear on screen
I would like to have this feature with this design (which needs refinement)
These are good to use as an example: