|
|
|
@@ -200,8 +200,8 @@ public class NewDatasetServiceImpl implements NewDatasetService { |
|
|
|
String s3Path = "management-platform-files" + "/" + relatePath + "/" + branchName; |
|
|
|
//干掉目标文件夹 |
|
|
|
dvcUtils.deleteDirectory(datasetPath); |
|
|
|
|
|
|
|
if (Constant.Source_Hand_Export.equals(datasetVo.getDatasetSource())) { |
|
|
|
Constant.Source_Hand_Export.equals(datasetVo.getDatasetSource()) |
|
|
|
if () { |
|
|
|
String bucketName = sourcePath.split("/")[0]; |
|
|
|
String root_path = sourcePath.split("/")[1]; |
|
|
|
minioUtil.downloadFiles(bucketName, root_path, datasetPath); |
|
|
|
@@ -220,9 +220,7 @@ public class NewDatasetServiceImpl implements NewDatasetService { |
|
|
|
"</code></pre>"); |
|
|
|
datasetVo.setIdentifier(repositoryName); |
|
|
|
datasetVo.setOwner((String) userInfo.get("login")); |
|
|
|
if (StringUtils.isEmpty(datasetVo.getDatasetSource())) { |
|
|
|
datasetVo.setDatasetSource("用户上传"); |
|
|
|
} |
|
|
|
|
|
|
|
datasetVo.setDescription(newDatasetVo.getDescription()); |
|
|
|
datasetVo.setDataTag(newDatasetVo.getDataTag()); |
|
|
|
datasetVo.setDataType(newDatasetVo.getDataType()); |
|
|
|
|