-
Notifications
You must be signed in to change notification settings - Fork 372
new conan_build_info help #1456
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4bb6cef
new conan_build_info help
czoido deacd2c
add warning
czoido 061493e
Merge branch 'develop' of https://github.com/conan-io/docs into featu…
czoido 3c513fc
add reference
czoido 9ac0c6f
link reference
czoido eb3e3bf
link lockfiles example
czoido 01a97ee
v2 warning
czoido File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
|
||
.. _conan_build_info: | ||
|
||
conan_build_info v1 | ||
------------------- | ||
|
||
.. code-block:: bash | ||
|
||
usage: conan_build_info [-h] [--output OUTPUT] trace_path | ||
|
||
Extracts build-info from a specified conan trace log and return a valid JSON | ||
|
||
positional arguments: | ||
trace_path Path to the conan trace log file e.g.: /tmp/conan_trace.log | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--output OUTPUT Optional file to output the JSON contents, if not specified | ||
the JSON will be printed to stdout | ||
|
||
|
||
conan_build_info v2 | ||
------------------- | ||
|
||
.. code-block:: bash | ||
|
||
$ conan_build_info --v2 [-h] {start,stop,create,update,publish} ... | ||
|
||
.. code-block:: bash | ||
|
||
Generates build info build info from lockfiles information | ||
|
||
positional arguments: | ||
{start,stop,create,update,publish} | ||
sub-command help | ||
start Command to incorporate to the artifacts.properties the | ||
build name and number | ||
stop Command to remove from the artifacts.properties the | ||
build name and number | ||
create Command to generate a build info json from a lockfile | ||
update Command to update a build info json with another one | ||
publish Command to publish the build info to Artifactory | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
|
||
**start subcommand**: | ||
|
||
.. code-block:: bash | ||
|
||
usage: conan_build_info --v2 start [-h] build_name build_number | ||
|
||
positional arguments: | ||
build_name build name to assign | ||
build_number build number to assign | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
|
||
**stop subcommand**: | ||
|
||
.. code-block:: bash | ||
|
||
usage: conan_build_info --v2 stop [-h] | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
|
||
**create subcommand**: | ||
|
||
.. code-block:: bash | ||
|
||
usage: conan_build_info --v2 create [-h] --lockfile LOCKFILE | ||
[--multi-module [MULTI_MODULE]] | ||
[--skip-env [SKIP_ENV]] [--user [USER]] | ||
[--password [PASSWORD]] [--apikey [APIKEY]] | ||
build_info_file | ||
|
||
positional arguments: | ||
build_info_file build info json for output | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--lockfile LOCKFILE input lockfile | ||
--multi-module [MULTI_MODULE] | ||
if enabled, the module_id will be identified by the | ||
recipe reference plus the package ID | ||
--skip-env [SKIP_ENV] | ||
capture or not the environment | ||
--user [USER] user | ||
--password [PASSWORD] | ||
password | ||
--apikey [APIKEY] apikey | ||
|
||
**publish subcommand**: | ||
|
||
.. code-block:: bash | ||
|
||
usage: conan_build_info --v2 publish [-h] --url URL [--user [USER]] | ||
[--password [PASSWORD]] [--apikey [APIKEY]] | ||
buildinfo | ||
|
||
positional arguments: | ||
buildinfo build info to upload | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--url URL url | ||
--user [USER] user | ||
--password [PASSWORD] | ||
password | ||
--apikey [APIKEY] apikey | ||
|
||
|
||
**update subcommand**: | ||
|
||
.. code-block:: bash | ||
|
||
usage: conan_build_info --v2 update [-h] [--output-file OUTPUT_FILE] | ||
buildinfo [buildinfo ...] | ||
|
||
positional arguments: | ||
buildinfo buildinfo files to merge | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--output-file OUTPUT_FILE | ||
path to generated build info file | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.