Skip to content

Instantly share code, notes, and snippets.

@czoido
Last active February 3, 2020 16:25
Show Gist options
  • Save czoido/fc3229c724a6636f52fdcfce97de7906 to your computer and use it in GitHub Desktop.
Save czoido/fc3229c724a6636f52fdcfce97de7906 to your computer and use it in GitHub Desktop.
# get package recipe revision
conan search name/version@user/channel --revisions
# get package package id
conan search name/version@user/channel
# get package package revision
conan search name/version@user/channel#rrev:pkgid --revisions
# inject an specific revision in a project lockfile
conan install project_name/version@user/channel --lockfile=lockfile
conan install dependency_name/version@user/channel#revision --update
conan graph lock --lockfile=new_lockfile project_name/version@user/channel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment