Skip to content

Commit

Permalink
Renamed family to changelist_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisp committed Jul 31, 2024
1 parent b57f535 commit bed1687
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_plugin_info(self):
self.log.debug(f"cmd-args::{cmd_args}")
deadline_plugin_info.CommandLineArguments = " ".join(cmd_args)

# if Perforce - triggered by active `publish_commit` instance!!
# if Perforce - triggered by active `changelist_metadata` instance!!
collected_version_control = self._get_version_control()
if collected_version_control:
version_control_data = self._instance.context.data[
Expand Down Expand Up @@ -188,14 +188,14 @@ def _get_batch_name(self):
return batch_name

def _get_version_control(self):
"""Look if publish_commit is published to get change list info.
"""Look if changelist_metadata is published to get change list info.
Context version_control contains universal connection info, instance
version_control contains detail about change list.
"""
change_list_version = {}
for inst in self._instance.context:
# get change info from `publish_commit` instance
# get change info from `changelist_metadata` instance
change_list_version = inst.data.get("version_control")
if change_list_version:
context_version = (
Expand All @@ -214,10 +214,10 @@ def _update_version_control_data(
):
"""Adds Perforce metadata which causes DL pre job to sync to change.
It triggers only in presence of activated `publish_commit` instance,
It triggers only in presence of activated `changelist_metadata` instance,
which materialize info about commit. Artists could return to any
published commit and re-render if they choose.
`publish_commit` replaces `workfile` as there are no versioned Unreal
`changelist_metadata` replaces `workfile` as there are no versioned Unreal
projects (because of size).
"""
# normalize paths, c:/ vs C:/
Expand Down

0 comments on commit bed1687

Please sign in to comment.