Closed johnbradley closed 5 years ago
The next version of DukeDSClient to be released adds a leading slash to remote paths: See PR https://github.com/Duke-GCB/DukeDSClient/pull/250. When D4S2 is upgraded to this version changes may be needed to where PathToFiles is used in zipbuilder: https://github.com/Duke-GCB/D4S2/blob/379399dc229fffbcc47b4866cb97213e08c83a1c/download_service/zipbuilder.py#L77-L79
PathToFiles
I manually tested this and zipstream.ZipFile handles the leading slash without any modification necessary to D4S2. Closing since it will not break when we upgrade DukeDSClient.
The next version of DukeDSClient to be released adds a leading slash to remote paths: See PR https://github.com/Duke-GCB/DukeDSClient/pull/250. When D4S2 is upgraded to this version changes may be needed to where
PathToFiles
is used in zipbuilder: https://github.com/Duke-GCB/D4S2/blob/379399dc229fffbcc47b4866cb97213e08c83a1c/download_service/zipbuilder.py#L77-L79