Conan: Consider bintray as a conan backend

Created on 19 Jan 2016  路  15Comments  路  Source: conan-io/conan

Hi,

A bit of a speculative one - if its not of interest let me know and the ticket can be closed.

I just bumped into a new service around GitHub today that may be of interest to conan: bintray[1]. It has good GitHub integration and as such it seems like a convenient place to push packages to. However, it seems the range of supported services is limited at present with Maven and Nuget being the most conan-like options. Maybe you guys could reach out to them for conan support?

Many thanks

Marco

[1] https://bintray.com/

Most helpful comment

There are two approaches here:

  • Use the conan server as proxy, and implement a backend in artifactory. This would be relatively easy, I see no special problems. The main disadvantage is that you still need the conan_server app running, though this app is quite easy to run.
  • Directly implement protocol to talk directly to artifactory from conan client. This is more complicated and could require a lot of work, especially if we don't want to break things and maintain things working. It will not need the conan_server app.
    We are seriously considering this issue, it is definitely in our roadmap, thanks for the help offer @Xaltotun, we'll update on this.

All 15 comments

Hi Marco!

It's an interesting service. I will take a look to it when I get a little time. My first impression is that it can be interesting but maybe a little later.

Thanks!

I am very interested in integration with binary repositories. Bintray is nice, but I think Artifactory[1] is a more appropriate end-point for Conan, because only release grade packages should be promoted to Bintray after a QA audit. JFrog provides a powerful REST API. Some folks tried to use it with CMakes ExternalData[2] feature, but that is too verbose for most users, I guess.

[1] https://www.jfrog.com/artifactory/features/
[2] https://cmake.org/pipermail/cmake-developers/2014-September/011366.html

Up vote for Artifactory backend :-)

@malikkirchner When you say:

because only release grade packages should be promoted to Bintray after a QA audit. 

Is this a BinTray policy or your particular company's? I thought you could push anything you wanted to into BinTray, if not its not as useful then...

@titan-ae the great thing about BinTray is that conan wouldn't have to worry about it - BinTray would provide the artifactory support. But yes, I too agree that direct NuGet/Artifactory support for conan would be a killer feature, since these systems are already so popular.

Cheers

@mcraveiro yes, you are right. Sure you can push packages of any quality to Bintray, if you choose to. Bintray is a distribution system targeted at the end-user of a software. The role of a binary repository for developers takes Artifactory.

@malikkirchner well, to be fair BinTray supports both Maven and NuGet backends, technologies that are very similar to Artifactory. Personally, I think they are aiming to become more of a generic distribution mechanism, applicable to both end users and developers. But then again, I'm inferring all that from their main page, and I have never used it, so take my opinions with a grain of salt.

@mcraveiro Suppose you have some libraries and a final executable using those libraries. You could put the executable in a public spot at Bintray and your libraries into some private area, possible. Or you want to distribute your library from a NuGet repository to anybody, also possible. The Artifactory use-case is different.
Imagine you want to build a CI infrastructure and your companies policy is, that you have to revision internal artifacts on your own servers. Only the final product is supposed to leave the intranet. That is not possible with Bintray. Because it is a cloud service; no self-hosting possible. Or did I miss something? In this case you would use Artifactory to do the internal handling of artifacts and would promote some production ready artifacts to Bintray for distribution. Since Artifactory and Bintray integrate nicely, it would be sufficient to support Artifactory.
But this is just my use-case. Maybe Bintray is the better choice for the majority of users?

+1 for artifactory

I am currently investigating using conan in an enterprise setting, but one of our requirements is storing binaries in artifactory. It seems like it would be easier to adapt this project to our build system instead of recreating it on top of a project like ivy. I would be interested in helping implement the artifactory backend.

There are two approaches here:

  • Use the conan server as proxy, and implement a backend in artifactory. This would be relatively easy, I see no special problems. The main disadvantage is that you still need the conan_server app running, though this app is quite easy to run.
  • Directly implement protocol to talk directly to artifactory from conan client. This is more complicated and could require a lot of work, especially if we don't want to break things and maintain things working. It will not need the conan_server app.
    We are seriously considering this issue, it is definitely in our roadmap, thanks for the help offer @Xaltotun, we'll update on this.

Another +1 for Artifactory support.

+1 for Artifactory Support.

JFrog Acquires Conan!!!

# Congratulations

Awesome news! I hope this means that Conan will keep getting better, only faster! 馃憤

So, maybe, mark this as "resolved"? :grin:

Yeah!!!!!
Both bintray & artifactory support for conan. Closing issue, thanks for telling :D

Was this page helpful?
0 / 5 - 0 ratings