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

Update ayon bin client bridge version to v0.1.0 tag #46

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/ayon_usd/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def tray_start(self):
controller,
close_on_finish=True,
auto_close_timeout=1,
delet_progress_bar_on_finish=False,
delete_progress_bar_on_finish=False,
title="ayon_usd-Addon [UsdLib Download]",
)
download_ui.setStyleSheet(style.load_stylesheet())
Expand Down
5 changes: 3 additions & 2 deletions client/ayon_usd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ def _get_lakefs_repo_items(lake_fs_repo: str) -> list:
def get_lakefs_usdlib_name(lake_fs_repo: str) -> str:
"""Return AyonUsdBin/usd LakeFS repo object name for current platform."""
platform_name = platform.system().lower()
for item in _get_lakefs_repo_items(lake_fs_repo):
lake_fs_repo_items = _get_lakefs_repo_items(lake_fs_repo)
for item in lake_fs_repo_items:
if "AyonUsdBin/usd" in item and platform_name in item:
return item

raise RuntimeError(
"No AyonUsdBin/usd item found for current platform "
f"'{platform_name}' on LakeFS server: {lake_fs_repo}")
f"'{platform_name}' on LakeFS server: {lake_fs_repo} all lakeFs repo items: {lake_fs_repo_items}")
Lypsolon marked this conversation as resolved.
Show resolved Hide resolved


def get_lakefs_usdlib_path(settings: dict) -> str:
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_usd/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""Package declaring AYON addon 'ayon_usd' version."""
__version__ = "0.1.0-alpha-dev.1"
__version__ = "0.1.0-alpha"