Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用SDK上传项目文件时无法删除文件 #1406

Open
ma-pony opened this issue Oct 18, 2023 · 0 comments
Open

使用SDK上传项目文件时无法删除文件 #1406

ma-pony opened this issue Oct 18, 2023 · 0 comments
Labels
bug Something isn't working file-system File system related sdk SDK related spider Spider related

Comments

@ma-pony
Copy link
Contributor

ma-pony commented Oct 18, 2023

Bug 描述
当我本地将项目中的某个文件删除,使用SDK上传代码后,crawlab中对应的文件不会被成功删除。

复现步骤
该 Bug 复现步骤如下

  1. 通过SDK提交本地项目到crawlab
  2. 本地项目删除任意一个文件
  3. 通过SDK提交本地项目到crawlab

期望结果
目前SDK上传文件应该是遍历文件进行上传,覆盖crawlab相同的同名文件

是否先将项目打包成一个压缩文件,直接上传压缩文件更为合适
或者直接上传docker镜像

@ma-pony ma-pony added the bug Something isn't working label Oct 18, 2023
@tikazyq tikazyq added sdk SDK related file-system File system related spider Spider related labels Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working file-system File system related sdk SDK related spider Spider related
Projects
None yet
Development

No branches or pull requests

2 participants