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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Stefan
On 8/9/2017 22:09, [hidden email] 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