-
Notifications
You must be signed in to change notification settings - Fork 5
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
Change Base
image purpose code
#145
Conversation
The I'm working on the Librarian to fix it. |
I've fixed the previous error but now I have a new one: https://github.com/Nautilus-Cyberneering/chinese-ideographs/runs/5375335931?check_suite_focus=true#step:8:56 We are pulling from DVC remote storage only new or modified images but we validate the image size also for the renamed images. In this case, I've only renamed the images and it fails because the image is not found. We have to modified this function: def extract_list_of_media_file_changes_from_dvc_diff_output(
dvc_diff, only_basename=True
):
return extract_added_and_modified_and_renamed_files_from_dvc_diff(
dvc_diff, only_basename
) To not include the renamed ones. EDIT: I've created a new issue on the Librarian repo. |
There was one more bug. Filepath validation for renamed files was failing because renamed files in dvc diff are not a plain path (string) but a |
There is another bug: nautilus-cyberneering/nautilus-librarian#101. The I've added a new task to issue nautilus-cyberneering/nautilus-librarian#100 to refactor that code. I think this different format for renamed files is causing a lot of problems. And another thing we should consider is using more or full typing. We are using types only in some cases and I think we should enforce it like in Typescript. @da2ce7 @yeraydavidrodriguez do you agree? I wonder if you can enforce full typing with mypy. |
It seems the workflow is finally working. We should definitively improve the command output: |
Issue: #143