6 Commits
Author SHA1 Message Date
github-actions f62f0df8ee release: 0.2.0 [skip ci] 2024-07-10 09:03:56 +00:00
Sébastien Albert a153501e0e feat: version update (#1) 2024-07-10 10:53:07 +02:00
Sebastien Albert eb6dd693b7 feat: Move import OpenPype to Ayon 2024-07-10 10:33:16 +02:00
Sébastien Albert 17ddd6178b docs: update readme.md 2024-03-25 23:31:04 +01:00
Sébastien Albert 9bfe2582c0 Update README.md 2024-03-25 22:57:51 +01:00
kaamaurice 915b4d4f85 docs: update readme 2024-03-25 09:23:40 +01:00
8 changed files with 53 additions and 9 deletions

No files matched your search

+16
View File
@@ -1,6 +1,22 @@
# CHANGELOG # CHANGELOG
## v0.2.0 (2024-07-10)
### Documentation
* docs: update readme.md ([`17ddd61`](https://github.com/LoopsCreativeStudio/ayon-perforce/commit/17ddd6178bc1c50aca249a62dc43fa821b571aff))
* docs: update readme ([`915b4d4`](https://github.com/LoopsCreativeStudio/ayon-perforce/commit/915b4d4f853fede50c6e74f5bb0126c207b1e6a4))
### Feature
* feat: version update (#1) ([`a153501`](https://github.com/LoopsCreativeStudio/ayon-perforce/commit/a153501e0e6afbc1312f440a2770ec16e4f7b8a3))
* feat: Move import OpenPype to Ayon ([`eb6dd69`](https://github.com/LoopsCreativeStudio/ayon-perforce/commit/eb6dd693b77edd2cda4ecbc3151f95b8a953cf9c))
### Unknown
* Update README.md ([`9bfe258`](https://github.com/LoopsCreativeStudio/ayon-perforce/commit/9bfe2582c0b50c44db89f0b653058eeda06c55f6))
## v0.1.0 (2024-03-19) ## v0.1.0 (2024-03-19)
+31 -2
View File
@@ -1,7 +1,36 @@
# ayon-perforce # Perforce integration for AYON
[![Release](https://github.com/LoopsCreativeStudio/ayon-perforce/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/LoopsCreativeStudio/ayon-perforce/actions/workflows/release.yml) [![Release](https://github.com/LoopsCreativeStudio/ayon-perforce/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/LoopsCreativeStudio/ayon-perforce/actions/workflows/release.yml)
This adds integration to [Perforce Version Control](https://www.perforce.com/products/helix-core).
The project provides two elements to manage Perforce synchronisation for your AYON pipeline:
* client - The AYON desktop integration.
* server - The AYON backend Addon.
## Client
This contains Perforce client integration used in AYON launchee which acts as a prelaunch hook to perform a Perforce synchronisation before opening applications.
## Server
Once loaded into the backend, restart your server to update addons and start to config your perforce addon settings.
### Settings
Settings let you define the client behavior by overrriding following P4 config variables:
* P4PORT
* P4CLIENT
* P4USER
![image](https://github.com/LoopsCreativeStudio/ayon-perforce/assets/89812691/4f708fb9-b5a0-4657-bd94-f4b31c341bc9)
In order to execute the synchronization in your pipeline, you have to add hosts that use Perforce remote service like Unreal Editor.
This settings can be set at studio level or projects level in your projects settings.
Currently, you have te configure first your Perforce remote server and client user and workspace folder.
Make sure you have the Perforce folder with p4 executables in your PATH environment variable.
### Versioning ### Versioning
@@ -15,4 +44,4 @@ LoopsCreativeStudio
https://loopscreativestudio.com/ https://loopscreativestudio.com/
tech@loopscreativestudio.com tech@loopscreativestudio.com
``` ```
-1
View File
@@ -1 +0,0 @@
# Perforce Addon
+2 -2
View File
@@ -1,14 +1,14 @@
import os import os
from openpype.modules import OpenPypeModule, ILaunchHookPaths
from ayon_core.addon import AYONAddon
from .version import __version__ from .version import __version__
PERFORCE_MODULE_DIR = os.path.dirname(os.path.abspath(__file__)) PERFORCE_MODULE_DIR = os.path.dirname(os.path.abspath(__file__))
class PerforceAddon(OpenPypeModule, ILaunchHookPaths): class PerforceAddon(AYONAddon):
"""Perfrorce Addon """Perfrorce Addon
""" """
name = "perforce" name = "perforce"
+1 -1
View File
@@ -2,7 +2,7 @@
import re import re
import subprocess import subprocess
from openpype.lib.applications import ( from ayon_applications import (
PreLaunchHook, LaunchTypes, ApplicationLaunchFailed PreLaunchHook, LaunchTypes, ApplicationLaunchFailed
) )
+1 -1
View File
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""Package declaring addon version.""" """Package declaring addon version."""
__version__ = "0.1.0" __version__ = "0.2.0"
+1 -1
View File
@@ -1,7 +1,7 @@
[tool.poetry] [tool.poetry]
name = "ayon-perforce" name = "ayon-perforce"
description = "perforce addon for ayon" description = "perforce addon for ayon"
version = "0.1.0" version = "0.2.0"
authors = ["LoopsCreativeStudio <tech@loopscreativestudio.com>"] authors = ["LoopsCreativeStudio <tech@loopscreativestudio.com>"]
license = "Apache-2.0" license = "Apache-2.0"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""Package declaring addon version.""" """Package declaring addon version."""
__version__ = "0.1.0" __version__ = "0.2.0"