Skip to content

Preserve original values of timestamp attribute for all files that are generated in FB snapshots (which can be downloaded via "Actions" page in github) #7926

Open
@pavel-zotov

Description

@pavel-zotov

Please do NOT change timestamp of all FB files that are placed inside generated FB snapshpot (which can be further downloaded via github Actions).
Currently all files (isql, fbclient, plugins/engineNN etc) are affected: they last-modified attribute is replaced with weird '09:00:00' or similar value.
Adriano told me (privately) that this value is taken from:

set TIMESTRING=0%FB_MAJOR_VER%:0%FB_MINOR_VER%:0%FB_REV_NO%


if /I not "%FBBUILD_BUILDTYPE%"=="release" goto :EOF
if not defined TOUCH_COMMAND echo   POSIX touch utility not found && exit /b 1

set TIMESTRING=0%FB_MAJOR_VER%:0%FB_MINOR_VER%:0%FB_REV_NO%

:: Perhaps here we should touch directories as well
:: Here and there XXX_COMMAND is "call"-ed in case if it is a batch file

@echo   Touching release build files with %TIMESTRING% timestamp

@for /R %FB_OUTPUT_DIR% %%F in ( * ) do (
  call %TOUCH_COMMAND% -c -d %TIMESTRING% %%F || exit /b 1
)

I really can't understand for what this is done - at least in the generated intermediate snapshots.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions