Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git with artifactory

Just finished setting up Artifactory for NPM and Bower and it was amazingly easy to use. You could just change the repository URL's and everything just worked.

Looking at the documentation on how to get Artifactory to work with github vcs it looks overly complicated. I am wondering if anyone has seen a way to setup git to work with Artifactory?

The documentation I found just uses curl, which doesn't allow me to use git in the future.

If not has anyone written any hooks that transfigure the syntax required by Artifactory to something git can pass along and use. Don't want to lose the ability to use basic git clone, git pull functionality.

like image 546
zmanc Avatar asked May 07 '15 13:05

zmanc


People also ask

Does GitHub has Artifactory?

No. GitHub Package Registry is not a competitor to Artifactory, as it does not support many features required of modern binary repositories. While GitHub can manage your open source packages, the remainder of your artifacts is left to you to manage through your pipeline.

Does GitLab have Artifactory?

Artifactory is integrated with GitLab letting your GitLab builds resolve dependencies from Artifactory. Using JFrog CLI, you can also deploy your GitLab builds, along with exhaustive build information, to Artifactory.

What is difference between repository and Artifactory?

Use distribution repositories to directly upload packages to JFrog Bintray for distribution. Artifactory stores exhaustive metadata for all build artifacts deployed to it.

Is JFrog same as GitHub?

GitHub and JFrog each provide REST APIs and CLIs to enable integration. Review them both — we think you'll find JFrog offers a more comprehensive set for versatile automation. GitHub Actions and Packages are tightly coupled with GitHub source control repositories.


1 Answers

There are two ways to integrate Git with Artifactory:

  • Use Artifactory interface (REST or UI or whatever) to get artifacts, proxied from Git
  • Use Git interface to work with artifacts in Artifactory.

The latter is not implemented yet.


I am with JFrog, the company behind Bintray and [artifactory], see my profile for details and links.

like image 116
JBaruch Avatar answered Oct 05 '22 06:10

JBaruch