You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Stefan <lu...@posteo.de> on 2017/08/15 23:52:33 UTC

Re: svn commit: r1804608 - /subversion/trunk/tools/dist/release.py

On 8/9/2017 22:09, philip@apache.org wrote:
> Author: philip
> Date: Wed Aug  9 20:09:51 2017
> New Revision: 1804608
>
> URL: http://svn.apache.org/viewvc?rev=1804608&view=rev
> Log:
> * tools/dist/release.py: Set TZ to UTC so timezones in tarballs do not
>    depend on local settings.
>
> Modified:
>     subversion/trunk/tools/dist/release.py
>
> Modified: subversion/trunk/tools/dist/release.py
> URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1804608&r1=1804607&r2=1804608&view=diff
> ==============================================================================
> --- subversion/trunk/tools/dist/release.py (original)
> +++ subversion/trunk/tools/dist/release.py Wed Aug  9 20:09:51 2017
> @@ -1329,6 +1329,9 @@ def main():
>      os.environ['PATH'] = os.path.join(get_prefix(args.base_dir), 'bin') + ':' \
>                                                              + os.environ['PATH']
>  
> +    # Make timestamps in tarballs independent of local timezone
> +    os.environ['TZ'] = 'UTC'
> +
>      # finally, run the subcommand, and give it the parsed arguments
>      args.func(args)
>  
>
Thanks for changing this. I had put that one on my todo-list while
signing the 1.9.7/1.8.18 releases to simplify the verification process.

Regards,
Stefan