[OpenSIPS-Devel] [OpenSIPS/opensips] 85457c: Make VERSIONTYPE and THISREVISION also available f...

Maksym Sobolyev noreply at github.com
Sun May 14 00:58:04 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 85457c6a26f5ec9c26c5b3415de2094f588bd05d
      https://github.com/OpenSIPS/opensips/commit/85457c6a26f5ec9c26c5b3415de2094f588bd05d
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-05-13 (Sat, 13 May 2023)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  Make VERSIONTYPE and THISREVISION also available for modules
and other libs in subdirs that include Makefile.defs from the
top-level.


  Commit: 0da5765655c4c54471929042629e2f51484826bb
      https://github.com/OpenSIPS/opensips/commit/0da5765655c4c54471929042629e2f51484826bb
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-05-13 (Sat, 13 May 2023)

  Changed paths:
    M main.c
    M sr_module.c
    M sr_module.h
    M test/fuzz/fuzz_standalone.h
    M version.h

  Log Message:
  -----------
  Record SCM type (i.e. "git") and SCM revision (i.e. commit hash)
in the module and compare it to the same values in the core upon
load. This is basic anti-foot-shooting mechanism so that users
don't report issues that are caused by the changes in internal
APIs.

Also make all log levels LM_CRIT consistently in version_check().


Compare: https://github.com/OpenSIPS/opensips/compare/526501447cf4...0da5765655c4



More information about the Devel mailing list