Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve conan_build_info command #5950

merged 133 commits into from Oct 30, 2019


Copy link

@czoido czoido commented Oct 21, 2019

Changelog: Feature: Improve conan_build_info command maintaining old functionality.
Docs: conan-io/docs#1456

This PR introduces new options for conan_build_info command using start, stop, create, update and publish subcommands.


conan_build_info start build-name build-number
conan_build_info stop
conan_build_info create buildinfo.json --lockfile lockfile
conan_build_info update buildinfo1.json buildinfo2.json.. --output-file merged.json
conan_build_info publish buildinfo.json --url remote_url

Closes #5855

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

czoido and others added 30 commits Apr 4, 2019
* apply graph_lock before looking for overrides

* first step: get rid of the warning

* cleaner if graph_lock is passed to the function

* only update requires upstream if no lockfile is applied

* fix tests

* if CONAN_USERNAME and CONAN_CHANNEL are deprecated, the error cannot recommend them

* update tests accordingly
* no user/channel repr without _

* minor fixes

* fix tests
* Refresh token client support. Missing tests. Missing migration

* public method


* Refresh almost there

* Removed prints

* Try migrate

* Migration

* Add comment

* Refresh token flow following RFC recommentations

* Refresh ok

* review

* Remove traces

* Refactor capabilities

* Removed tmp file

* Review
* conan-io#5819 Show warning message for Python 3.4

- Add new warning message for python 3.4 which is no longer supported
- Added funcional tests to validate both python 3.4 and 2.x

Signed-off-by: Uilian Ries <>

* conan-io#5819 Fix broken tests

Signed-off-by: Uilian Ries <>
* Add to cmake generators

* Fix unit tests to mimic real behavior

* cmake_paths test

* add test for cmake generator

* Add cmake_find_package test

* fix test in py3

* Applied to pkg_config generator

* check different name in pkg_config
@lasote lasote self-assigned this Oct 28, 2019
Copy link

@lasote lasote left a comment

Some unit tests over the functions of the build info: merge_buildinfo for example, would be nice

@lasote lasote merged commit f67bf29 into conan-io:develop Oct 30, 2019
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

7 participants