GithubHelp home page GithubHelp logo

a tag or a release about cppdap HOT 10 CLOSED

google avatar google commented on June 16, 2024
a tag or a release

from cppdap.

Comments (10)

thesamesam avatar thesamesam commented on June 16, 2024

This would be appreciated now that CMake as of 3.27 (optionally) depends on cppdap for its debugging functionality.

from cppdap.

ben-clayton avatar ben-clayton commented on June 16, 2024

Given that there's no official release process, what would the tag or release provide that a SHA does not?

from cppdap.

thesamesam avatar thesamesam commented on June 16, 2024

GitHub tarballs aren't stable and have historically changed hashes after a while: https://github.com/orgs/community/discussions/45830 and https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/.

So, even just some arbitrary tag (even every tag if that's easier for automation) as an uploaded asset has some value for us in distros, if it's possible.

from cppdap.

ben-clayton avatar ben-clayton commented on June 16, 2024

I can add tags or branches but I'm still not entirely convinced by the argument here.

The encouraged workflow is to compile cppdap from source and statically link into your code. cppdap is tiny, building from source takes negligible time. I would encourage people to depend on cppdap via a git submodule, or any other form of dependency pinning.

cppdap is not SemVer'd. While we try to avoid breaking changes, they will happen - especially as this is a wrapper around an evolving RPC protocol. Given the lack of compatibility guarantees, I actively discourage the use of cppdap in a distro package.

Maybe I'm missing additional context here. Please feel free to convince me otherwise!

from cppdap.

thesamesam avatar thesamesam commented on June 16, 2024

Yeah, I can understand it. The only reason I'm packaging it is purely for CMake's use (which allows using system versions of dependencies). Nothing else is using the system copy as it is. I can live with the status quo though.

Thanks for discussing it - I'll let the original reporter chime in as well, as I don't know what their motivations were.

from cppdap.

MehdiChinoune avatar MehdiChinoune commented on June 16, 2024

CMake now depends on CPPDAP for cmake code debugging.
We are trying to package CPPDAP and build CMake against it.

from cppdap.

ben-clayton avatar ben-clayton commented on June 16, 2024

I'd like to understand the problem a little more before making changes.

CMake now depends on CPPDAP for cmake code debugging. We are trying to package CPPDAP and build CMake against it.

Who is We?

CMake appears to be using a Git hash for the version of cppdap that it depends on. Is there any reason you can't use this?

If I add a tag or branch, how do you ensure that you stay in sync with the version that CMake is built and tested against? If they're not at the same version, there's a very good chance it won't build - or worse, it will, but will behave subtly different at runtime.

from cppdap.

MehdiChinoune avatar MehdiChinoune commented on June 16, 2024

Who is We?

MSYS2 packagers.

CMake appears to be using a Git hash for the version of cppdap that it depends on. Is there any reason you can't use this?

We prefer to package tags/releases.

If I add a tag or branch, how do you ensure that you stay in sync with the version that CMake is built and tested against? If they're not at the same version, there's a very good chance it won't build - or worse, it will, but will behave subtly different at runtime.

like any other package, We either report issues to CMake or to you, if something go wrong.

from cppdap.

ben-clayton avatar ben-clayton commented on June 16, 2024

I've created the tag dap-1.58.0-a. This is one change ahead of the CMake's current Git hash.

I'd recommend you coordinate with CMake to ensure you use the same revision.

from cppdap.

MehdiChinoune avatar MehdiChinoune commented on June 16, 2024

Thanks!

from cppdap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.