linkedin / linkedin/pygradle

pivy-importer: local repository could not find artifact ... under different name

Open
#107 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
603
Forks
142
PR merge metrics
No merged PRs in 30d

Description

I am having a issue with creating a specific artifact in the local repository, namely swagger-spec-validator.
Create the artifact using `java -jar /var/lib/pivy-importer-0.3.39-all.jar --repo /data swagger-spec-validator:2.0.2`, it adds it however under a different artifact name than the one specified in the .ivy file below.

```













```
It is under the name: `swagger_spec_validator-2.0.2.tar.gz`. Changing the name helps however ... is it a bug? Or is there a way to have the proper artifact name from the start? Or I am missing something?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the provided pivy-importer command, the local repository path, and the Ivy module XML. Start by tracing how the importer maps the requested artifact to the publication name, then compare the generated swagger_spec_validator-2.0.2.tar.gz with the declared swagger-spec-validator artifact. Done means the intended name is created or the supported naming behavior is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.