-
Notifications
You must be signed in to change notification settings - Fork 10
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
Repo improvements #2
Repo improvements #2
Conversation
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #2 +/- ##
=======================================
Coverage ? 90.03%
=======================================
Files ? 3
Lines ? 1114
Branches ? 0
=======================================
Hits ? 1003
Misses ? 111
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Bump readthedocs-sphinx-ext from 2.1.5 to 2.1.8 Bump myst-parser from 0.17.2 to 0.18.0 Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some small comments. but it looks pretty good to me.
.github/PULL_REQUEST_TEMPLATE.md
Outdated
|
||
Each PR should link at least one issue, in the form: | ||
|
||
```Fixes #123``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```Fixes #123``` | |
Fixes #123 |
I guess that was copied from OTIO repo. Using triple backquotes here will lead to Fixes #123
which GitHub won't be able to understand and so won't link the PR to the issue. Eventually it also needs to be fixed in OTIO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this was just copied from the main OTIO repo.
README.md
Outdated
------------ | ||
|
||
* [OpenTimelineIO](https://github.com/AcademySoftwareFoundation/OpenTimelineIO) > 14.1 (latest git version currently recommended) | ||
* [pyaaf2](https://github.com/markreidvfx/pyaaf2) >= 1.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to list the requirements? They are already set in the setup.py
. I find that redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally don't like having to dig into a project files to find such basic information, but I can remove it if preferred.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of making it clear that you need these two packages (esp pyaaf2), but let's omit the version info here, since that may change often.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea, I'll remove the version numbers.
README.md
Outdated
Overview | ||
-------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overview | |
-------- | |
# Overview |
I would recommend using markdown headers. It will render more nicely.
------------- | ||
|
||
If you have any suggested changes to the otio-aaf-adapter, | ||
please provide them via [pull request](../../pulls) or [create an issue](../../issues) as appropriate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This really works? If so I just learned something!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it does, saw some other repos doing it. Was very surprised too that it works!
setup.cfg
Outdated
@@ -23,7 +23,7 @@ ignore = | |||
W504 | |||
|
|||
[tool:pytest] | |||
addopts = --cov=./ -W ignore::DeprecationWarning | |||
addopts = --cov=otio_aaf_adapter -W ignore::DeprecationWarning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addopts = --cov=otio_aaf_adapter -W ignore::DeprecationWarning | |
addopts = --cov=otio_aaf_adapter |
It is generally better if CI logs (or even fails, -W error::DeprecationWarning
) when DeprecationWarning
s are encountered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is like that in the template repo, but I agree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could try turning that off to see if it passes. I suspect that since we're running against such a wide range of Python versions that some deprecations are unavoidable...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've already turned it off ignore and all the tests still pass. I didn't try -W error::DeprecationWarning
though, I thought that would be overkill for now.
<!-- | ||
Important: If this is your first contribution to OpenTimelineIO, you will need to submit a Contributor License Agreement. For a step-by-step instructions on the pull request process, see | ||
https://github.com/AcademySoftwareFoundation/OpenTimelineIO/tree/main/CONTRIBUTING.md | ||
--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this stay here? Will CLA/CCLA be required for the adapters repos?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is my assumption that it is needed for officially supported adapters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed the pros/cons among the TSC and decided that yes, we would like to have the same CLA (and DCO) requirements for repos in the OpenTimelineIO GitHub organization. That will ensure that all the approvals and such are uniform between these and the core repo in the ASWF org. If a particular repo needs/wants to follow different rules, it can just live in a different org.
Does that sound reasonable to you two @markreidvfx and @JeanChristopheMorinPerso ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable to me!
I don't think DCO has been activated for this repo yet, I believe its somewhere in the repo settings.
Having EasyCLA
available for plugin repos at some point would be great too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no problem with DCO and CLAs in general, but I do find that they are kind of a barrier of entry in some cases. I find that it's a lot of bureaucracy to contribute to an adapter. But I guess there is some legal questions regarding adapters that are moved out of the OTIO repo and stuff like that? Anyway, if the TSC decided to go with CLAs+DCO, then that's the way it is. I'll still happily sign the CLAs and contribute :)
.github/ISSUE_TEMPLATE/bug_report.md
Outdated
5. Compiler information: | ||
on Mac, type `clang -v`, and paste the results here | ||
on Linux, type `gcc -v`, and paste the results here | ||
on Windows, type `cl`, and paste the results here. | ||
If you are unable to determine your compiler via these commands, please indicate that here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's relevant here since pyaaf2
is pure Python? Or potentially we keep it here just in case someone simply installs otio-aaf-adapter
without actually installing OTIO (which would mean OTIO would be installed by otio-aaf-adapter
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can get rid of this, I just missed it when copying the file over from the main OTIO repo
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
* Mark Reid ([markreidvfx](https://github.com/markreidvfx)) | ||
* Stefan Schulze ([stefanschulze](https://github.com/stefanschulze)) | ||
* Stephan Steinbach ([ssteinbach](https://github.com/ssteinbach)) | ||
* Tim Lehr ([timlehr](https://github.com/timlehr)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add these people also?
* Shahbaz Khan ([shahbazk8194](https://github.com/shahbazk8194))
* Freeson Wang ([freesonluxo](https://github.com/freesonluxo))
* Andrew Moore ([andrewmoore-nz](https://github.com/andrewmoore-nz))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking fantastic! There's just a couple of tiny changes left as comments.
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
e5208cc
to
c81e3d0
Compare
Added the requested changes to the pull. Everything should be addressed unless I missed something :p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request address the following the tasks in #1
CodeCov/Dependabot might need to be enabled on the repo settings if it's not already.