Skip to content

coccinelle: add localversion information

Luis R. Rodriguez cocci 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2autotools: simplify the way to determine version informationMakefile Makefile.config.in configure.ac +1 more+5 -22 replies
2/2autotools: add localversion informationautogen scripts/setlocalversion version.sh+125 -03 replies
2/2autotools: add localversion information+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Cocci] [PATCH v3 0/2] coccinelle: add localversion information

From: "Luis R. Rodriguez" <[email protected]>

This v3 makes use of the recommended strategy by Nikolay to avoid a local variable for the version.sh. It also clarifies in the commit log on patch 2 that PGP signed tags are not required by default. If Coccinelle switches over to using PGP tags the scripts/setlocalversion file can be modified to require them, but for now this is disabled.

Lastly, in order to try to help simplify the way release managers might make a release in a linear fashion with a git tree I modified autogen.sh to accept a new argument:

./autogen --ignore_localversion

which can be used by release managers to skip the local version string when making a release. This is in contrast to my v2 series which would have otherwise required release managers to make temporary tags, delete them, and them finally add a new tag later. This is much simpler solution.

The default is to parse the localversion string then if available.

Luis R. Rodriguez (2):
autotools: simplify the way to determine version information
autotools: add localversion information

 Makefile                |   1 -
 Makefile.config.in      |   2 +
 autogen                 |   5 +++
 configure.ac            |   2 +-
 scripts/setlocalversion | 117 ++++++++++++++++++++++++++++++++++++++++++++++++
 version.sh              |   5 +++
 6 files changed, 130 insertions(+), 2 deletions(-)
 create mode 100755 scripts/setlocalversion
 create mode 100755 version.sh
Signature · 1 line
2.3.2.209.gd67f9d5.dirty