Conan package for streaming-data-types (experimental).
If you have made some changes to streaming-data-types and subsequently also want to update the conan-package, follow these instructions:
-
Edit line 8 of the conanfile.py-file in this repository to checkout the version of streaming-data-types that you want to package. Note that this is used to indicate the version of the conan package.
-
Edit line 9 of Jenkinsfile and set
conanPackageChannel
totesting
if you want to use this package before the schema's PR is accepted into streaming-data-types. -
Conan package should be automaticaly build and after some time will be available as
streaming-data-types/XXXXXXX@ess-dmsc/testing
.
-
Edit line 8 of the conanfile.py-file in this repository to checkout the version of streaming-data-types that you want to package. Note that this is used to indicate the version of the conan package.
-
Edit line 9 of Jenkinsfile and set
conanPackageChannel
totesting
if you want to use this package before the schema's PR is accepted into streaming-data-types. -
When in the directory of the local copy of conan-streaming-data-types, execute this command:
conan create . streaming-data-types/XXXXXXX@ess-dmsc/stable
Where XXXXXXX is the first 7 characters in the SHA of the commit of streaming-data-types that you are using. Note that this is used to indicate the version of the conan package.
-
Upload the new package to the relevant conan package repository by executing:
conan upload streaming-data-types/XXXXXXX@ess-dmsc/stable --remote alias_of_repository
Where XXXXXXX is the version of the conan package as mentioned above and alias_of_repository is exactly what it says. You can list all the repositories that your local conan installation is aware of by running:
conan remote list
.