Giter VIP home page Giter VIP logo

Comments (7)

sallaigy avatar sallaigy commented on June 8, 2024 1

Sounds good to me - PR #51 introduces basic versioning in which versions would only need to be updated in the root CMakeLists file. The PR also bumps the version number to a new official 1.0.0 \o/

from gazer.

sallaigy avatar sallaigy commented on June 8, 2024

Sounds good to me. Do you have a specific release procedure or toolchain (e.g. GitHub actions) in mind?

from gazer.

hajduakos avatar hajduakos commented on June 8, 2024

Nothing in particular in my mind. With Theta we have roughly the following process:

  • We develop features/bugfixes on separate branches.
  • Before merging the branch (as a PR), we bump the major/minor/patch version.
  • After the merge, I create the corresponding GH release with some description (manually).
    • For major/minor, I also build and upload the binaries (manually). For patches, I do not do it currently.

So this is mostly a manual process, but so far it did not require too much effort so I'm fine with it. But if you have some automation in mind, let me know.

from gazer.

hajduakos avatar hajduakos commented on June 8, 2024

The technical aspect is that this version number should be stored in some class / global variable / config file, so that command line tools can provide a -version flag.

from gazer.

AdamZsofi avatar AdamZsofi commented on June 8, 2024

I think Gazer already has a version flag, it just needs a bit of updating - LLVM has a SetVersionPrinter function, which is used in the main functions and it takes a function as a parameter, which should output the version info.

In Gazer this is implemented here. Currently the info is hardcoded and outputs "Gazer 0.1 LLVM 9.0". Maybe it would look a bit nicer, if the FrontendConfig or the FrontendConfigWrapper could store the version numbers, but I don't think it needs any other changes to start versioning.

from gazer.

hajduakos avatar hajduakos commented on June 8, 2024

Seems good, both the bmc and the theta backends use this, so this is the only place where modification is needed. I would suggest to start with 1.0.0 now, and then before merging PRs or branches, we can bump this number. We should also create tags/releases on GitHub, where we might upload the binaries (but not necessarily). I think we should start this ASAP, and then later we can improve (e.g., with automation). What do you think @sallaigy ?

from gazer.

hajduakos avatar hajduakos commented on June 8, 2024

Having some versioning is needed really soon for SV-Comp.

from gazer.

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.