Skip to content

Commit ec2a956

Browse files
authored
Merge branch 'main' into add_to_dict_methods
2 parents d19d487 + f662359 commit ec2a956

File tree

307 files changed

+7600
-58931
lines changed

Some content is hidden

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

307 files changed

+7600
-58931
lines changed

.codecov.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ comment:
1818
require_changes: no
1919

2020
ignore:
21-
- "contrib/opentimelineio_contrib/adapters/tests/test_rvsession.py"
22-
- "contrib/opentimelineio_contrib/adapters/tests/test_maya_sequencer.py"
23-
- "contrib/opentimelineio_contrib/adapters/tests/test_burnins.py"
24-
- "contrib/opentimelineio_contrib/adapters/burnins.py"
2521
- "*aaf2*"
2622
- "*pkg_resources*"
2723
- "*pbr*"

.github/ISSUE_TEMPLATE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
labels: triage
3+
---
4+
15
# Required:
26
------------
37
[ ] I believe this isn't a duplicate topic

.github/labeler.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# https://github.com/actions/labeler#common-examples
2+
3+
release-candidate:
4+
- 'CHANGELOG.md'
5+
6+
submodules:
7+
- any: ['src/deps/**']
8+
9+
dependencies:
10+
- any: ['pyproject.toml']
11+
12+
ci:
13+
- '.github/**'
14+
15+
documentation:
16+
- any: ['docs/**']
17+
18+
opentime:
19+
- any: ['src/opentime/**']
20+
21+
'time calculations':
22+
- any: ['src/opentime/**']
23+
24+
otioview:
25+
- any: ['src/opentimelineview/**']
26+
27+
python-bindings:
28+
- any: ['src/py-opentimelineio/**']

.github/release-drafter.yml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# https://github.com/release-drafter/release-drafter#configuration-options
2+
3+
# The template for the body of the draft release
4+
template: |
5+
$CHANGES
6+
7+
# The template to use for each merged pull request
8+
change-template: '* $TITLE @$AUTHOR (#$NUMBER)'
9+
# Characters to escape in $TITLE when inserting into change-template so that they are not interpreted as Markdown format characters
10+
change-title-escapes: '\<*_&' # You can add #
11+
12+
# The template for the name of the draft release
13+
name-template: 'v$RESOLVED_VERSION 🌈'
14+
# The template for the tag of the draft release
15+
tag-template: 'v$RESOLVED_VERSION'
16+
17+
# # Template used calculating the next version number for the release
18+
# version-template: '$MAJOR.$MINOR'
19+
# # Adjust the $RESOLVED_VERSION variable using labels.
20+
# version-resolver:
21+
# # every release is a whole version by default
22+
# default: minor
23+
# major:
24+
# labels:
25+
# - 'feature'
26+
# - 'feat'
27+
# - 'perf'
28+
# minor:
29+
# labels:
30+
# - 'bug'
31+
# - 'bugfix'
32+
# - 'fix'
33+
# - 'build'
34+
# - 'refactor'
35+
# - 'revert'
36+
# - 'test'
37+
# patch:
38+
# labels:
39+
# - 'chore'
40+
# - 'ci'
41+
# - 'docs'
42+
# - 'style'
43+
44+
# automatically label pull requests
45+
# https://github.com/release-drafter/release-drafter#autolabeler
46+
autolabeler:
47+
- label: 'feat'
48+
title:
49+
- '/^feat.+/'
50+
branch:
51+
- '/feature\/.+/'
52+
- '/feat\/.+/'
53+
- label: 'fix'
54+
title:
55+
- '/^fix.+/'
56+
branch:
57+
- '/bugfix\/.+/'
58+
- '/hotfix\/.+/'
59+
- '/fix\/.+/'
60+
- label: 'build'
61+
title:
62+
- '/^build.+/'
63+
branch:
64+
- '/build\/.+/'
65+
- label: 'chore'
66+
title:
67+
- '/^chore.+/'
68+
branch:
69+
- '/chore\/.+/'
70+
- label: 'ci'
71+
title:
72+
- '/^ci.+/'
73+
branch:
74+
- '/ci\/.+/'
75+
- label: 'documentation'
76+
title:
77+
- '/^docs.+/'
78+
branch:
79+
- '/docs\/.+/'
80+
- label: 'perf'
81+
title:
82+
- '/^perf.+/'
83+
branch:
84+
- '/perf\/.+/'
85+
- label: 'refactor'
86+
title:
87+
- '/^refactor.+/'
88+
branch:
89+
- '/refactor\/.+/'
90+
- label: 'revert'
91+
title:
92+
- '/^revert.+/'
93+
branch:
94+
- '/revert\/.+/'
95+
- label: 'style'
96+
title:
97+
- '/^style.+/'
98+
branch:
99+
- '/style\/.+/'
100+
- label: 'test'
101+
title:
102+
- '/^test.+/'
103+
branch:
104+
- '/test\/.+/'
105+
106+
# Categorize pull requests using labels
107+
# https://github.com/release-drafter/release-drafter#categorize-pull-requests
108+
categories:
109+
- title: '🚀 Features'
110+
labels:
111+
- 'feat'
112+
- 'feature'
113+
- 'perf'
114+
- title: '📖 Documentation'
115+
labels:
116+
- 'documentation'
117+
- title: '🐛 Bug Fixes'
118+
labels:
119+
- 'bug'
120+
- 'bugfix'
121+
- 'fix'
122+
- title: '🧰 Maintenance'
123+
labels:
124+
- 'build'
125+
- 'chore'
126+
- 'dependencies'
127+
- 'ci'
128+
- 'refactor'
129+
- 'revert'
130+
- 'style'
131+
- 'test'

.github/scripts/release-branch.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
set -e
3+
4+
#
5+
# entry script to create a release branch in ci
6+
# generates a release branch named with a utc timestamp
7+
#
8+
echo 'CREATING A RELEASE BRANCH'
9+
10+
# create a release branch locally and remotely
11+
# normalize utc date to YYYY-MM-DD-HH-MM
12+
NEW_BRANCH_NAME="release/$(date -u +%Y-%m-%d-%H-%M)"
13+
echo "NEW BRANCH: $NEW_BRANCH_NAME"
14+
git checkout -b $NEW_BRANCH_NAME
15+
git push origin $NEW_BRANCH_NAME

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
check-links:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
submodules: 'recursive'
1616

17-
- uses: actions/setup-python@v4.3.0
17+
- uses: actions/setup-python@v5.4.0
1818
with:
1919
python-version: '3.10'
2020

@@ -58,11 +58,11 @@ jobs:
5858
check-warnings:
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
6262
with:
6363
submodules: 'recursive'
6464

65-
- uses: actions/setup-python@v4.3.0
65+
- uses: actions/setup-python@v5.4.0
6666
with:
6767
python-version: '3.10'
6868

.github/workflows/pr-tools.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Pull Request Tools
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request_target:
6+
types: [
7+
opened, # pr is created
8+
reopened, # pr is reopened after being closed
9+
synchronize, # pr is updated with new commits
10+
]
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
# label PRs based on the files that were changed
18+
pr-labeler:
19+
name: Label Pull Requests
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 8
22+
permissions:
23+
contents: read
24+
pull-requests: write
25+
steps:
26+
- name: Checkout Repo
27+
uses: actions/checkout@v4 # https://github.com/actions/checkout/tree/main#usage
28+
29+
# https://github.com/actions/labeler#usage
30+
- uses: actions/labeler@v4
31+
with:
32+
# https://github.com/actions/labeler#inputs
33+
configuration-path: .github/labeler.yml
34+
sync-labels: true # remove labels when matching files are reverted or no longer changed by the PR
35+
dot: true # auto-include paths starting with dot (e.g.; ~/.github)
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: publish
1+
name: Publish Release to PyPI
22

33
on:
44
release:
@@ -17,16 +17,17 @@ jobs:
1717
# happen for this actual commit (the commit that the tag points to).
1818
# It also restores the files timestamps.
1919
- name: Download wheels from commit ${{ github.sha }}
20-
uses: dawidd6/action-download-artifact@v2
20+
uses: dawidd6/action-download-artifact@v8
2121
with:
2222
workflow: python-package.yml
2323
workflow_conclusion: success
2424
commit: ${{ github.sha }}
25-
name: wheels
25+
name_is_regexp: true
26+
name: 'wheel-.*'
2627
path: dist
2728

2829
- name: Download sdist from commit ${{ github.sha }}
29-
uses: dawidd6/action-download-artifact@v2
30+
uses: dawidd6/action-download-artifact@v8
3031
with:
3132
workflow: python-package.yml
3233
workflow_conclusion: success

0 commit comments

Comments
 (0)