This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Add validate active site button to sync queue on a project #2176
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This option triggers process where all representation of the selected project are looped through, file paths are resolved for active site and if paths point to local system, paths are physically checked if files are existing. If file exists and representation is not marked to be present on
active_site
in DB, DB is updated to highlight that.This might be useful if artist has representation files that Site Sync doesn't know about (newly attached external drive with representations from studio).
This project might take a while! (Task is created on asyncio loop, so it shouldn't be blocking)
To test it:
Press `Validate files on active site
`