Open matlo607 opened 6 years ago
What do you think about the above proposal which attempt to solve the mentioned issues?
I think your proposal is out of the scope of the cpt
, the good news are that you shouldn't need to implement anything in cpt
to achieve your goals:
Today, what is your advise to deploy to production libraries built with conan?
My recommendation is to manage Conan packages and upload them to a conan server (Artifactory for example). Then if you have to generate other file formats, you can, in the following CI stage, use the deploy feature or the conan imports command feature to import to a local directory all the needed libraries/executable and package them with another tool.
Today in my company, we use conan to build and generate packages. However we don't consume them in production with conan. We download them from a repository manager such as Sonatype Nexus or Artifactory. We store these packages following an internal convention layout.
I am facing frequently the need to repackage conan's artifacts once they are built to our internal formats in order to upload them to our repository manager for consumption.
You already propose to upload the recipes and artifacts to multiple conan servers. The idea would be to provide to the user a way of adding callbacks that would run after the build of the artifacts to bridge the gap between conan artifacts and an abstract target format used by various package managers.
The goal is to avoid the manual steps of repackaging. The idea can be extended to creating rpm, deb archives, etc... and upload them on a mirror via ssh, ftp, ...
Three kinds of plugin seems to emerge from the use cases I have seen up until now :
Example:
Today, what is your advise to deploy to production libraries built with conan ? What do you think about the above proposal which attempt to solve the mentioned issues?