Menu

New cppcheck snap

2024-01-23
2024-01-24
  • Oliver Stöneberg

    Thanks for reviving this.

    But the "latest" is not "stable". The ".99" versions are the current dev versions and should be offered as such (if possible in Snap). "stable" versions should only be built from the version tags. The latest is 2.13.2.

    I think the package should also contain the cppcheck-gui application.

    The documentation changes can be done by yourself via pull requests:
    https://github.com/danmar/cppcheck/pulls
    https://github.com/danmar/cppcheck-htdocs/pulls
    It would also make sense to remove the old snap folder in that PR.

    Also to get a more performant binary it should be built against Boost .

     
  • George-Andrei Iosif

    Hi Oliver,

    This is a valid point. I can keep a distinction between the channels. It's clear to me how to proceed with the stable channel. Do you have any preference for candidate and beta? A straight-forward option here is to let them inherit the edge releases.

    The Snap Store already contains a snap for cppcheck-gui [1]. It is undoubtedly outdated because the last release was in 2018. I think it would be better to not have two snaps for the same application. I can try sending an email to the current maintainer. Maybe he can start publishing new releases again or transfer ownership to me. An alternative (which is more confusing to the users) is building the cppcheck-gui application inside the new snap (cppcheck).

    After fixing the aforementioned aspects and the Boost linking, I will create PRs for updating the documentation.

    [1] https://snapcraft.io/cppcheckgui

    Many thanks,
    Andrei

     
  • Oliver Stöneberg

    You are also building a Debug build. That should be RelWithDebInfo. If you use the latter there is also no need to manually enable the matchcompiler.

    For the sake of proper tracking I will file GitHub issues for the things I noted.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.