How to connect remote repository in JFrog Artifactory to repo.manento.com? - composer-php

Is possible to add repo.magento.com as a remote repository to Jfrog Artifactory?
I added repo.magento.com as remote php repo but when I try to require a module like "magento/product-community-edition" in the Artifactory logs I see the error
Error occurred while parsing the response of a remote composer package JSON query on 'https://repo.magento.com/p/magento.json': Expected a file but found a folder, at: php-magento:.composer/p/magento.json
This occurs because repo.magento.com doesn't use lazy url but explicit all packages in https://repo.magento.com/packages.json.
There is any way to customize Artifactory packages.json to prevent lazy url?

I asked to jFrog support and they answer me
Currently Artifactory does not support repo.magento.com.
I created and issue on JFrog Jira https://www.jfrog.com/jira/browse/RTFACT-18169

Related

Uploading the gradle artifact to Nexus 3.41 using azure DevOps

i am Using cURL upload extension to upload the artifact to Nexus repository.
I am getting the below error
Upload artifact to nexus extension is not supporting to Nexus 3.41 server
According to the screenshot, it seems task was complete. The warning: Not all files were uploaded.
You could try to create a new repo and use the specific file to upload with a new service connection. Make sure the "Remote Directory" is available.

Receiving 404 for maven-metadata.xml from Artifactory remote repo of repo.grails.org

I am trying to setup the https://repo.grails.org/core repository as a remote repository on my artifactory instance. If I use that URL directly in the configuration, I can pull everything except the maven-metadata.xml. Maven will throw an error saying it got a 404 for it, and I can verify that by trying to manually pull it through my remote repo.
I have also tried setting up the remote as a smart remote, entering just https://repo.grails.org/artifactory. It will recognize it as an artifactory server, but if I hit Test I get a 500 error. Saving the settings the repo shows no artifacts.
I have also tried https://repo.grails.org/artifactory/core, /artifactory/api/core, /artifactory/api/maven/core, /grails/core as well as a few others and those that work for retrieving jar or pom files still give a 404 for the maven-metadata.xml.
What is the correct way to configure the repo.grails.org repo as a remote repository?
I have tried this is both the 7.29 and 7.3 versions of artifactory with the same result.
From our previous experience, it was understood that grails repository core that you are pointing to is a virtual repository. grails admins might have added all the remote and local repositories under this. But artifactory does not support virtual repositories for smart remote repositories. You may need to point to the correct path.
You may try to point to https://repo.grails.org/core and then can you share the full path of the file that you are trying to download and facing the issues right now.

Issue while downloading an artifact from the jfrog artifcatory

Here I am having an issue while downloading the artifacts from the Jfrog artificatory. Below is the scenario where the download is failing.
We have jfrog artifcatory as our repository management application. When we install our
software it downloads the bundles/modules from jfrog repositories.
We were installing our application in a very closed network. We only allow whitelisted
IPs/domains to be allowed. We have whitelisted our jfrog URL, let it be <jfrogURL.jfrog.io> .
But while downloading artifacts the application fails throwing connect exceptions from jfrog-
prod-apse2-shared-sydney-main.s3.amazonaws.com:443. i.e when we hit the jfrogURL.jfrog.io
local repository it is redirecting to jfrog-prod-apse2-shared-sydney-
main.s3.amazonaws.com:443.
Do they make any re-directions, when we access our url i.e <jfrogURL.jfrog.io>? If so how can
we whitelist these redirected url/ip i.e is these url is static one?
Can anyone please help us with these above queries?
If you use Gradle project>>>
After proxy setting ( What is the proxy IP in your organization), I have added following code in build.gradle file. The problem has gone.
sourceSets {
main {
output.setResourcesDir(java.outputDir)
}
}
If you face same problem, please update gradle version

How to use JFrog Artifactory to proxy GitHub as Go Repository?

I want to use Go Remote repository caching/proxying Github.
I have created Go remote repo github proxying https://github.com/ (Credentials added as mentioned in https://www.jfrog.com/confluence/display/RTF/Go+Registry#GoRegistry-RemoteRepositories).
When I run go get artifactory log shows following error:
2019-05-29 16:01:29,586 [http-nio-8081-exec-252] [ERROR] (o.a.a.g.r.GoResource:88) - Unsupported go repository request for 'github'```
In Artifactory Go repositories, you can't resolve from a remote repository directly, packages has to be resolved from a virtual repo.
Just include it in any Go virtual repository and you should be good to go.
Also, why not use gocenter for Go packages? It's much more reliable IMO.

Maven Github repository + Artifactory

I'm have a artifactory running in a server here, and my settings.xml are configured to use it has a mirror.
But, one dep I use is in a github page, and seems like artifactory doesnt get it, because it throws me "UNABLE TO DOWNLOAD blah..".
I try to add the repo in Artifactory remote repositories, click in test, and it shows me a
Connection failed: Error 403: Forbidden
I am using the correct URL (I think): http://gwtbootstrap.github.com/maven/snapshots
Got any help?
Thanks in advance
I think the URL should be:
https://github.com/gwtbootstrap/maven/tree/gh-pages/snapshots

Resources