• src/build/gitinfo.bat src

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed Mar 6 18:15:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5f0c78ed82218a6d575c2b4a
    Modified Files:
    src/build/gitinfo.bat src/sbbs3/targets.mk ver.cpp ver.h
    Log Message:
    Define GIT_DATE in git_hash.h and git_date in ver.cpp

    Display the date of last git commit used in this bulid as part of git branch and hash information. This helps to inform how up-to/out-of date the current running build is, regardless of the build date/time.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Thu Mar 7 00:06:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1b7a2d6c5809ffd544186f7f
    Modified Files:
    src/build/gitinfo.bat src/sbbs3/targets.mk
    Log Message:
    Zero-pad (instead of space-pad) the day of month in GIT_DATE

    This is not consistent with __DATE__ macro expansion, but I like it better

    Heck, now that we're not really logging the build date much of anywhere, we could go with any other more sensible date format here.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Fri Apr 5 22:43:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bf7728020397585ad259d5a2
    Modified Files:
    src/build/gitinfo.bat src/sbbs3/js_system.c targets.mk ver.cpp ver.h Log Message:
    Introduce system.git_time

    This is the time_t (seconds since Unix epoch, Jan-1-1970 UTC) date/time of the current (most recent) Git commit used to build the running binary.

    If a JS developer wants to check if a build is recent-enough to include some change, this is the property they should use to check (with >= comparison).

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net