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

Asset renaming synchronization #102

Merged
merged 12 commits into from
May 31, 2024

Conversation

jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented May 30, 2024

Fixed an issue where assets renamed in SG weren't updating correctly. Now, if a folder entity hasn't published any product (is immutable), we'll rename it on the AYON side. If the folder entity is hierarchically immutable, we won't rename it and will skip the event.

This PR contain also code changes from #100

Improve error logging and handling in ShotgridListener.
Refactor code to enhance readability and maintainability.
- Updated method parameters for event handling
- Improved logging for event processing
- Added validation for immutable entities
@ynbot
Copy link
Contributor

ynbot commented May 30, 2024

Update package versions to 0.4.2-dev.4 for shotgrid addon, leecher, processor, and transmitter in respective pyproject.toml files.
Ensure Shotgrid API Key is set in the Addon System settings to avoid errors during processing. If key is missing, a ValueError will be raised with instructions on how to set it properly.
Base automatically changed from bugfix/AY-5550_Failing-transmitter-synchronization-service to develop May 31, 2024 11:44
- Refactored service tools to utilize a common `service_main` function for processor, leecher, and transmitter services. This simplifies code duplication and improves maintainability.
- Refactored the way service addon settings are retrieved during initialization to ensure correct assignment and usage.
Details:
- Removed extra blank line.
- Deleted a redundant comment.
Update version numbers in multiple files for shotgrid components to 0.4.2-dev.5 to reflect the latest changes and improvements.
…-optimisation

Services speed optimisation
@jakubjezek001 jakubjezek001 merged commit 1f3ceb1 into develop May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants