-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artifact cannot be downloaded because presumably "reference" is missing in the download url #453
Comments
Hi @benn0r, sorry for late response. I'll need a little more information.
|
Hi @akondas, thank you for your reply. I am using standalone Repman Docker Container. The minimal composer.json that is included in the ZIP File in the artifacts folder and that leads to the described issue, looks like this:
|
@akondas could you perhaps provide me with an example artifact zip file which works correctly in your environment? I could then see how its done and hopefully fix my artifacts. |
We usually use Github integration, but I can prepare such a package and share it in this issue. |
any news on this? i would really like to work with this project |
Actually by combing through the repo i found this: https://github.com/repman-io/repman/tree/master/tests/Resources/artifacts
|
Hi @akondas, do you think this problem can be fixed ? Because, I'd like to use artifacts too on a standalone Repman but I have the same problem. When I try to install it with Composer I get this error message :
And in my composer.lock, the artifact has no reference :
@benn0r, did you find a workaround ? |
I did not, i eventually stopped looking and I switched to Gitlab Package Registry |
Thank you @benn0r for your very quick reply, I will try Gitlab Package Registry |
sorry 😞 , at this point I don't have much time to look at this problem more, and it is difficult for me to determine when I will find, but I will be happy to help with code review and merging if someone would like to help ... 🤷 |
No problem @akondas, I even don't know if Repman could answer to my need. |
I made a PR (#670) for this issue. |
When i try for example to install a package with
composer require PACKAGE_NAME:1.0.0
composer tries to downloadhttps://HOST/dists/PACKAGE_NAME/1.0.0.0/.zip
I assume there should be something before ".zip". In the composer.lock i can see the definition:
https://HOST/dists/%package%/%version%/%reference%.%type%
So for me it looks like %reference% is missing in the URL that composer tries to download.
Is there certain attributes i have to add to the composer.json of my artifacts for artifacts to work properly? Or something else that i have to configure specifially for artifacts?
When i add a package with repository type "Gitlab" everything works great.
The text was updated successfully, but these errors were encountered: