pivy-importer get confused with - and _ symbols
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 603
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
running this command: `java -jar pivy-importer-0.6.17-all.jar --repo ./lib/pip/ plotly:2.2.3 dash:0.19.0 dash-renderer:0.11.1 dash-html-components:0.8.0 dash-core-components:0.15.2 --replace "Babel:0.8=Babel:1.3"` will result in a missing dependency.
```
> Could not find dash-renderer.tar.gz (pypi:dash-renderer:0.11.1).
Searched in the following locations:
file:/xxx/lib/pip/pypi/dash-renderer/0.11.1/dash-renderer-0.11.1.tar.gz
> Could not find dash-html-components.tar.gz (pypi:dash-html-components:0.8.0).
Searched in the following locations:
file:/xxx/lib/pip/pypi/dash-html-components/0.8.0/dash-html-components-0.8.0.tar.gz
> Could not find dash-core-components.tar.gz (pypi:dash-core-components:0.15.2).
Searched in the following locations:
file:/xxx/lib/pip/pypi/dash-core-components/0.15.2/dash-core-components-0.15.2.tar.gz
```
But in fact the files are there just not with a - but with an _
```
$ ls -l lib/pip/pypi/dash-renderer/0.11.1/
total 125
-rw-r--r-- 1 kindler 1049089 126634 Dec 24 19:35 dash_renderer-0.11.1.tar.gz
-rw-r--r-- 1 kindler 1049089 586 Dec 24 19:42 dash-renderer-0.11.1.ivy
```
renaming the file does solve the problem.
PS I am wondering why pivy importer is not just a gradle task so we could use standard python repo and generate the ivy metadata on the fly.
PPS Happy Christmas !!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the shown pivy-importer command and the files under lib/pip/pypi, comparing the requested dash-renderer, dash-html-components, and dash-core-components names with the underscore-named archives. Trace the importer’s artifact lookup from that command; done means it finds the existing archives without requiring them to be renamed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100