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

add cn-cbor/1.0.0 #1313

Merged
merged 7 commits into from
Apr 14, 2020
Merged

add cn-cbor/1.0.0 #1313

merged 7 commits into from
Apr 14, 2020

Conversation

gocarlos
Copy link
Contributor

@gocarlos gocarlos commented Apr 8, 2020

Specify library name and version: lib/1.0

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot
Copy link
Collaborator

Recipe syntax error in build 1:

WARN: Remotes registry file missing, creating default one in /home/conan/.conan/remotes.json
ERROR: Error loading conanfile at '/home/conan/workspace/onan-center-pull-request_PR-1313/recipes/cn-cbor/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/onan-center-pull-request_PR-1313/recipes/cn-cbor/all/conanfile.py
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/model/ref.py", line 197, in loads
    name, version, user, channel, revision = get_reference_fields(text)
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/model/ref.py", line 66, in get_reference_fields
    el1, el2 = _split_pair(arg_reference, "/") or (arg_reference, None)
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/model/ref.py", line 18, in _split_pair
    raise ConanException("The reference has too many '{}'".format(split_char))
conans.errors.ConanException: The reference has too many '/'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/client/loader.py", line 339, in _parse_conanfile
    loaded = imp.load_source(module_id, conan_file_path)
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 860, in get_code
  File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/conan/workspace/onan-center-pull-request_PR-1313/recipes/cn-cbor/all/conanfile.py", line 69
    elif self.settings.os == "Windows":
       ^
SyntaxError: invalid syntax


@gocarlos
Copy link
Contributor Author

gocarlos commented Apr 8, 2020

this is using the complete branch from @jimsch as as stated in cabo/cn-cbor#60 the original author recommends to use it.

related to #1194

@gocarlos gocarlos changed the title feat: add cn-cbor to cci add cn-cbor/20200326 Apr 8, 2020
@gocarlos gocarlos mentioned this pull request Apr 8, 2020
4 tasks
@conan-center-bot
Copy link
Collaborator

Some configurations of 'cn-cbor/20200326' failed in build 2 (4f749d557da6c3c268964be602ba4584d773a3d9):

  • Linux x86_64, Release, gcc 5, libstdc++ . Options: cn-cbor:shared-True
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PACKAGE LICENSE (KB-H012)] No 'licenses' folder found in package: /tmp/c3ipr/pr_1313_2_0_0/.conan/data/cn-cbor/20200326/_/_/package/e30939caa2339df448fcf9917da7b5ebc54646b6 (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H012)
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'README.md' in the package (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'LICENSE' in the package (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@conan-center-bot
Copy link
Collaborator

Some configurations of 'cn-cbor/20200326' failed in build 3 (c7f5b57c9040813fb4cfd77dded78d5230475ab5):

@conan-center-bot
Copy link
Collaborator

All green in build 4 (43d3a82c1dc481a060c5a1e06180d579ca7d2e98)! 😊

recipes/cn-cbor/all/conanfile.py Show resolved Hide resolved
recipes/cn-cbor/all/conanfile.py Show resolved Hide resolved
recipes/cn-cbor/all/conandata.yml Outdated Show resolved Hide resolved
recipes/cn-cbor/all/conandata.yml Outdated Show resolved Hide resolved
recipes/cn-cbor/all/conanfile.py Outdated Show resolved Hide resolved
recipes/cn-cbor/all/conanfile.py Show resolved Hide resolved
@conan-center-bot
Copy link
Collaborator

All green in build 5 (bc7f6f1854a7665a60398f3d14d314a035a48899)! 😊

uilianries
uilianries previously approved these changes Apr 8, 2020
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@uilianries uilianries requested a review from SSE4 April 8, 2020 16:14
@gocarlos gocarlos changed the title add cn-cbor/20200326 add cn-cbor/20200409 Apr 8, 2020
@conan-center-bot
Copy link
Collaborator

All green in build 6 (ca9be3ac83717d2ac15457fce390a7bbd0ce993f)! 😊

@conan-center-bot
Copy link
Collaborator

All green in build 7 (63df96e6a9a743895c0d67c3c311095ff249812b)! 😊

@gocarlos gocarlos changed the title add cn-cbor/20200409 add cn-cbor/1.0.0 Apr 9, 2020
@gocarlos gocarlos mentioned this pull request Apr 13, 2020
4 tasks
@danimtb danimtb self-assigned this Apr 14, 2020
@danimtb danimtb merged commit bd29036 into conan-io:master Apr 14, 2020
@gocarlos gocarlos deleted the feat--add-cn-cbor branch April 14, 2020 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants