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

Add validate active site button to sync queue on a project #2176

Merged

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Oct 26, 2021

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

Screenshot 2021-10-26 162330
`

@kalisp kalisp self-assigned this Oct 26, 2021
@mkolar
Copy link
Member

mkolar commented Oct 26, 2021

openpype/tests/mongo_performance.py Show resolved Hide resolved
openpype/tests/mongo_performance.py Show resolved Hide resolved
openpype/tests/mongo_performance.py Outdated Show resolved Hide resolved
openpype/tests/mongo_performance.py Show resolved Hide resolved
openpype/tests/mongo_performance.py Show resolved Hide resolved
openpype/tests/mongo_performance.py Show resolved Hide resolved
openpype/tests/mongo_performance.py Show resolved Hide resolved
@kalisp kalisp marked this pull request as ready for review October 27, 2021 11:56
@kalisp kalisp requested a review from iLLiCiTiT October 29, 2021 09:11
@kalisp kalisp requested a review from iLLiCiTiT October 29, 2021 14:13
@mkolar mkolar merged commit 91e1e91 into develop Nov 4, 2021
@mkolar mkolar deleted the feature/OP-1905_Add-Validate-active-site-button-to-Sync-Queue branch November 4, 2021 15:33
@mkolar mkolar added type: enhancement Enhancements to existing functionality type: feature Larger, user affecting changes and completely new things and removed type: enhancement Enhancements to existing functionality labels Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: Sitesync type: feature Larger, user affecting changes and completely new things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants