[PATCH] make dist: Create tar.xz with python3 and sign compressed tarballs
Stefan Metzmacher
metze at samba.org
Fri Dec 7 14:23:44 UTC 2018
Am 07.12.18 um 15:07 schrieb Andreas Schneider via samba-technical:
> Hi,
>
> the attached patch will create tar.xz tarballs when waf is called with python3
> and tar.gz with python2. python2 doesn't support xz tarballs.
>
> Also the signature is created on the tar.xz file and not on the tar file.
>
>
> -rw-r--r-- 1 asn users 18M Dec 7 15:02 samba-4.10.0pre1-
> GIT-5b697db7560.tar.gz
> -rw-r--r-- 1 asn users 833 Dec 7 15:02 samba-4.10.0pre1-
> GIT-5b697db7560.tar.gz.asc
>
> -rw-r--r-- 1 asn users 12M Dec 7 15:04 samba-4.10.0pre1-
> GIT-5b697db7560.tar.xz
> -rw-r--r-- 1 asn users 833 Dec 7 15:04 samba-4.10.0pre1-
> GIT-5b697db7560.tar.xz.asc
>
> As you can see, the tar.xz is 6MB smaller. I've used:
>
> python3 buildtools/bin/waf dist --sign-release
>
>
> Please review and push if OK.
You also need to take care of script/release.sh
Is xz available on platforms like AIX?
Would it make sense to sign the compressed and uncompressed
tar archive?
metze
More information about the samba-technical
mailing list