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

stb: conan v2 support #13920

Merged
merged 2 commits into from
Nov 3, 2022
Merged

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Nov 1, 2022

Specify library name and version: lib/1.0

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


  • 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

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 3 (0827f52224a7522d8349a753b9c8f87a2150008d):

  • stb/cci.20210713@:
    All packages built successfully! (All logs)

  • stb/cci.20210910@:
    All packages built successfully! (All logs)

  • stb/cci.20200203@:
    All packages built successfully! (All logs)

Comment on lines 30 to 31
# HACK: Used to circumvent the incompatibility
# of the format cci.YYYYMMDD in tools.Version
Copy link
Contributor

Choose a reason for hiding this comment

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

i actually learn recently that the new Version tool should actually work with it, have you tried that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed it works:

>>> from conan.tools.scm import Version
>>> Version("cci.20201022") < "cci.20201122"
True
>>> Version("cci.20201022") < "cci.20200922"
False

@conan-center-bot conan-center-bot merged commit 9fd70fd into conan-io:master Nov 3, 2022
@SpaceIm SpaceIm deleted the stb-conan-v2 branch November 3, 2022 19:10
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.

4 participants