Skip to content

Commit 608c0c0

Browse files
authored
Merge branch 'master' into feature/git_descriptor
2 parents 168e364 + 43814ac commit 608c0c0

File tree

192 files changed

+7610
-2658
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+7610
-2658
lines changed

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ exclude =
4343
# Skip the auto-generated ui file.
4444
python/tank/authentication/ui/login_dialog.py,
4545
python/tank/authentication/ui/resources_rc.py,
46+
python/tank/platform/qt/ui_busy_dialog.py,
47+
python/tank/platform/qt/ui_item.py,
48+
python/tank/platform/qt/ui_tank_dialog.py,
4649
python/tank/authentication/sso_saml2/*,
4750
tests/python
4851

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
[![VFX Platform](https://img.shields.io/badge/vfxplatform-2020-yellow.svg)](http://www.vfxplatform.com/)
2-
[![Python 2.7 3.7](https://img.shields.io/badge/python-2.7%20%7C%203.7-blue.svg)](https://www.python.org/)
1+
[![VFX Platform](https://img.shields.io/badge/vfxplatform-2024%20%7C%202023%20%7C%202022%20%7C%202021-blue.svg)](http://www.vfxplatform.com/)
2+
[![Python](https://img.shields.io/badge/python-3.11%20%7C%203.10%20%7C%203.9%20%7C%203.7-blue.svg)](https://www.python.org/)
33
[![Reference Documentation](http://img.shields.io/badge/doc-reference-blue.svg)](http://developer.shotgridsoftware.com/tk-core)
44
[![Build Status](https://dev.azure.com/shotgun-ecosystem/Toolkit/_apis/build/status/shotgunsoftware.tk-core?branchName=master)](https://dev.azure.com/shotgun-ecosystem/Toolkit/_build/latest?definitionId=38&branchName=master)
55
[![codecov](https://codecov.io/gh/shotgunsoftware/tk-core/branch/master/graph/badge.svg)](https://codecov.io/gh/shotgunsoftware/tk-core)
66
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
77
[![Linting](https://img.shields.io/badge/PEP8%20by-Hound%20CI-a873d1.svg)](https://houndci.com)
88

9-
# ShotGrid Pipeline Toolkit Core API
9+
# Flow Production Tracking Core API
1010

11-
This repository represents the ShotGrid Pipeline Toolkit Core API.
11+
This repository represents the Flow Production Tracking Core API.
1212

13-
## Getting started with the ShotGrid Pipeline Toolkit
13+
## Getting started with the Flow Production Tracking
1414

15-
Installing the ShotGrid Pipeline Toolkit is normally done via our
16-
ShotGrid App Store. For detailed instructions on how to get started
15+
Installing the Flow Production Tracking is normally done via our
16+
Flow Production Tracking App Store. For detailed instructions on how to get started
1717
with Toolkit, head over to our support site:
18-
https://developer.shotgridsoftware.com/e95205a8/?title=An+Overview+of+Toolkit
18+
https://help.autodesk.com/view/SGDEV/ENU/?contextId=PG_INTEGRATIONS_TOOLKIT_OVERVIEW
1919

2020
## Reference Documentation and Release Notes
2121

2222
For our *latest released API Documentation*, head over to the Toolkit App Store:
23-
https://developer.shotgridsoftware.com/d587be80/?title=Integrations+User+Guide
23+
https://help.autodesk.com/view/SGDEV/ENU/?contextId=SA_INTEGRATIONS_USER_GUIDE
2424

2525
Release Notes for the Core API are also maintained as a wiki document
2626
and can be found here: https://github.com/shotgunsoftware/tk-core/wiki/Release-Notes

SECURITY.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Security Policy
2+
3+
## Security
4+
5+
At Autodesk, we know that the security of your data is critical to your studio’s
6+
operation.
7+
As the industry shifts to the cloud, Flow Production Tracking knows that security and service
8+
models are more important than ever.
9+
10+
The confidentiality, integrity, and availability of your content is at the top
11+
of our priority list.
12+
Not only do we have a team of Flow Production Tracking engineers dedicated to platform security
13+
and performance, we are also backed by Autodesk’s security team, also invests
14+
heavily in the security for broad range of industries and customers.
15+
We constantly reassess, develop, and improve our risk management program because
16+
we know that the landscape of security is ever-changing.
17+
18+
If you believe you have found a security vulnerability in any Flow Production Tracking-owned
19+
repository, please report it to us as described below.
20+
21+
22+
## Reporting Security Issues
23+
24+
**Please do not report security vulnerabilities through public GitHub issues.**
25+
26+
Instead, please report them by sending a message to
27+
[Autodesk Trust Center](https://www.autodesk.com/trust/contact-us).
28+
29+
Please include as much information as you can provide such as locations,
30+
configurations, reproduction steps, exploit code, impact, etc.
31+
32+
33+
## Additional Information
34+
35+
Please check out the [Flow Production Tracking Security White Paper](https://help.autodesk.com/view/SGSUB/ENU/?guid=SG_Administrator_ar_general_security_ar_security_white_paper_html).

codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ ignore:
33
# ignore generated QT files
44
- "**tank/authentication/ui/login_dialog.py"
55
- "**tank/authentication/ui/resources_rc.py"
6+
7+
# disable PySide6 code coverage for now
8+
- "**tank/util/pyside6_patcher.py"

developer/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Shotgun Pipeline Toolkit Core API
1+
# Flow Production Tracking Core API
22

33
## How to upgrade pyyaml
44

@@ -14,3 +14,13 @@ If you need to upgrade this package you can use the script `upgrade_pyyaml.py`.
1414
cd tk-core/developer
1515
python upgrade_pyyaml.py
1616
```
17+
18+
19+
## The requirements.txt file
20+
21+
The file `developer/requirements.txt` is not used to install any packages,
22+
however exists so that automated checks for CVEs in dependencies will know about
23+
bundled packages in `python/tank_vendor`.
24+
25+
For this reason, it's important to add any newly bundled packages to this file,
26+
and to keep the file up to date if the bundled version of a module changes.

developer/bake_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def main():
294294
try:
295295
sg_connection.find_one("HumanUser", [])
296296
except Exception as e:
297-
logger.error("Could not communicate with ShotGrid: %s" % e)
297+
logger.error("Could not communicate with Flow Production Tracking: %s" % e)
298298
return 3
299299

300300
# Strip any extra whitespaces and make sure every bundle type exists.

developer/build_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def main():
815815
try:
816816
sg_connection.find_one("HumanUser", [])
817817
except Exception as e:
818-
logger.error("Could not communicate with ShotGrid: %s" % e)
818+
logger.error("Could not communicate with Flow Production Tracking: %s" % e)
819819
return 3
820820

821821
# we are all set.

developer/requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# This file aims to reflect the list of python packages installed in the
3+
# python/tank_vendor folder.
4+
#
5+
# Not designed to be run in a PIP install command but rather, it's goal is to
6+
# provide a list of package+version readable for code scan bot so we can collect
7+
# security reports.
8+
#
9+
10+
distro==1.4.0
11+
ordereddict==1.1
12+
pyyaml==5.4.1
13+
ruamel_yaml==0.10.10
14+
six==1.13.0

developer/shotgun_api_update.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ echo "Copying Shotgun API to the required location..."
8686
# Copy the files to the destination
8787
cp -R $DEST_REPO/shotgun_api3 $DEST/..
8888

89+
# Copy the software_credits file
90+
cp $DEST_REPO/software_credits $DEST/software_credits
91+
8992
# Move to the git repo to generate the sha and write it to the $DEST
9093
pushd $DEST_REPO
9194
git rev-parse HEAD > $DEST/commit_id

developer/utils/authentication.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def add_authentication_options(parser):
3838
"""
3939
group = optparse.OptionGroup(
4040
parser,
41-
"SG Authentication",
41+
"PTR Authentication",
4242
"In order to download content from the Toolkit app store, the script will need to authenticate "
43-
"against any SG site. By default, it will use the toolkit authentication APIs stored "
43+
"against any PTR site. By default, it will use the toolkit authentication APIs stored "
4444
"credentials, and if such are not found, it will prompt for site, username and password.",
4545
)
4646

@@ -49,7 +49,7 @@ def add_authentication_options(parser):
4949
"--shotgun-host",
5050
default=None,
5151
action="store",
52-
help="SG host to authenticate with.",
52+
help="PTR host to authenticate with.",
5353
)
5454

5555
group.add_option(
@@ -101,7 +101,7 @@ def authenticate(options):
101101
sg_user = sg_auth.create_script_user(script_name, script_key, shotgun_host)
102102

103103
else:
104-
logger.info("Connect to any SG site to collect AppStore keys.")
104+
logger.info("Connect to any PTR site to collect AppStore keys.")
105105
# get user, prompt if necessary
106106
sg_user = sg_auth.get_user()
107107

0 commit comments

Comments
 (0)