Skip to content

Parametrize version and file header #2

@JanCBrammer

Description

@JanCBrammer

Anytime we want to change the version, we need to change it in many places (aka https://en.wikipedia.org/wiki/Shotgun_surgery), e.g., https://github.com/IUPAC-InChI/InChI_Dev/commit/87e5b133d68a7a58cb9ac94c6f7d12e066b283ef. This is error prone and tedious.

Maybe we can think of a way to parametrize the version?
I.e., keep the version in a single place (e.g., global constant), and then reference that single source of truth in all places that need the version string.

We'd then only update the version in one place if we bump it.

The same goes for the header, see e.g., https://github.com/IUPAC-InChI/InChI_Dev/commit/ac71becc16e0e454ef75abdfb820c6c7a9d9de81.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions