marvel-nccr / quantum-mobile

A Virtual Machine for computational materials science
https://quantum-mobile.readthedocs.io
Other
91 stars 32 forks source link

fix versions of ansible-galaxy roles? #81

Closed ltalirz closed 5 years ago

ltalirz commented 6 years ago

at least for new QM releases, consider releasing versions of ansible-galaxy roles in order to ensure reproducibility

ltalirz commented 5 years ago

@giovannipizzi As we're starting to write first singularity recipes based on these roles, this is a good point to start versioning the roles.

In terms of version numbers to choose, I considered:

  1. using ubuntu-type versioning (19.03). I think this is not a good idea, since our roles are primarily targeting ubuntu, so these types of version numbers can lead to confusion
  2. including the version number of the code (e.g. quantum espresso) somehow - also not a good idea, since those versions can have very different forms & types (+ keeping the role version number and code version number in parallel is difficult)
  3. plain and simple versioning starting from 0.1.0. No direct connection to the version number of whatever is being packaged. Semantic versioning here could mean:
    • bump patch version for bug fixes
    • bump minor version for upgrades of packages, new packages, etc.
    • bump major version for API changes (e.g. name of role variables, ...)

I think option 3 is clearly the best, so I will adopt this.

ltalirz commented 5 years ago
ltalirz commented 5 years ago

Done!