Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Benevolent context label collector #3686

Merged
merged 6 commits into from
Aug 26, 2022

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Aug 17, 2022

Brief description

Context label collector is more benevolent to available data.

Description

Collector does not require currentFile to be filled and use just host name in that case. If context data contains contextLabel the plugin just set it as label of context and skip rest of logic, this was added to have ability define custom context label and skip the plugin logic. Result is that standalone publisher and tray publisher don't have to be explicitly named in the plugin.

Pyblish pype does not force to have "label" in instance.data and context.data.

Testing notes:

  1. Context label should be collected as did

@iLLiCiTiT iLLiCiTiT self-assigned this Aug 17, 2022
@iLLiCiTiT iLLiCiTiT added the type: enhancement Enhancements to existing functionality label Aug 17, 2022
@iLLiCiTiT iLLiCiTiT merged commit 0050b94 into develop Aug 26, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/benevolent_context_lable_collector branch August 26, 2022 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants