DO NOT archive if filename is longer than 255 23/6123/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 24 Aug 2017 16:00:53 +0000 (12:00 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 29 Aug 2017 15:43:01 +0000 (11:43 -0400)
commitaebf39501d6d2c12f025f9dc9b8746b4b1ea5f84
treeaf5e36e2cb34b9c19c9cc8013d921e5a2f432aed
parent6c692e85a66497bc5b933018f13632a6249893b6
DO NOT archive if filename is longer than 255

Most Unix filesystems do not allow files being created that are longer
than 255 characters. The LF Infra VMs are built with XFS and seem to
have the extended attribute allowing longer filenames. This
unfortuantely creates zip that when we copy to Nexus which does not have
this to fail to unpack. Limit archive files to 255 characters or less to
avoid this.

Issue: RELENG-322
Change-Id: I9c70a67d69559b834ec1c1bce0c2b909e61127dd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/deploy