SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
392 stars 223 forks source link

Remove version number from code license header #1529

Closed gassmoeller closed 1 year ago

gassmoeller commented 1 year ago

Every SPECFEM file currently starts with the following header:

!=====================================================================
!
!               S p e c f e m 3 D  V e r s i o n  3 . 0
!               ---------------------------------------
!

This is a pain to maintain, because you have to update every file for a new release with a new version number. Even with an automatic script it means touching every file for every release. I would suggest to remove the version number from the header, and instead a single file in the main directory called VERSION that is the single source of truth about the current version number. Every place in the documentation that needs the number can refer to that file. This way we only have to change a single file for updating the version number. Is this a good idea?

This issue can be tackled with a little text replacement script.

gassmoeller commented 1 year ago

This was fixed by #1545