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

Create tutorial_submission_policy.md #2995

Merged
merged 12 commits into from
Aug 24, 2024
Merged

Create tutorial_submission_policy.md #2995

merged 12 commits into from
Aug 24, 2024

Conversation

svekars
Copy link
Contributor

@svekars svekars commented Aug 8, 2024

  • Add a policy for new tutorials submissions

Copy link

pytorch-bot bot commented Aug 8, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2995

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 3930f09 with merge base ea2dfc6 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Copy link
Contributor

@sekyondaMeta sekyondaMeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

a review process. If you are interested in contributing a tutorial, please follow these steps:

1. **Create an issue:**
* Open an issue in the pytorch/tutorials repository proposing the new tutorial. Clearly
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have an issue template with directed questions they should be answering in their proposal? That might help get consistent submissions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do have a template for requesting a new tutorial: https://github.com/pytorch/tutorials/blob/main/.github/ISSUE_TEMPLATE/feature-request.yml I can repurpose it a bit to make it both request and proposal

tutorial_submission_policy.md Outdated Show resolved Hide resolved
* Each tutorial must be updated by its owners at least once a year. Tutorials that are
abandoned by the owners will be eventually deprecated.

We reserve the right to decline any new tutorial submissions that do not follow this policy.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels overly formal and already implied.

Comment on lines 57 to 62
1. **Maintenance:**
* By submitting a new tutorial, you agree to maintain it up-to-date with the latest PyTorch
updates and new features, review issues and pull requests and bugs submitted against the
tutorials and overall take proactive actions to ensure quality of the tutorial.
* Each tutorial must be updated by its owners at least once a year. Tutorials that are
abandoned by the owners will be eventually deprecated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I 100% agree we need this section but the current content sounds a bit underspecified compared to the rest of the doc.
In particular, even if a user wanted to follow the first point, would they have to follow every single issue happening on the repo and look for the ones about their tutorial?
Also for the second what happens if their tutorial doesn't need update?

Reading in between the lines, my guess is what you are trying to get here are:

  • An owner for each tutorial -> let have these as a comment on the file somewhere, and make it required for all new tutorials / updates. (similar to core test file owners).
  • Have an SLA on answering issue -> let's make this an SLA: the owner will be pinged on the issue and should answer within 1months or we'll consider the tutorial as "deprecated"
  • Have a way to remove old tutorials -> any "deprecated" tutorial will be unlisted immediatly, an issue will be open about it, pinging the owner, if there is no answer within a month, the tutorial can get deleted at the maintainer's discretion.

WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this!

tutorial_submission_policy.md Outdated Show resolved Hide resolved
tutorial_submission_policy.md Outdated Show resolved Hide resolved
tutorial_submission_policy.md Outdated Show resolved Hide resolved
@malfet malfet merged commit ec867b2 into main Aug 24, 2024
17 checks passed
@svekars svekars deleted the svekars-patch-28 branch August 26, 2024 15:12
c-p-i-o pushed a commit that referenced this pull request Sep 6, 2024
- Add a policy for new tutorials submissions

---------

Co-authored-by: albanD <[email protected]>
Co-authored-by: Nikita Shulga <[email protected]>
c-p-i-o pushed a commit that referenced this pull request Sep 6, 2024
- Add a policy for new tutorials submissions

---------

Co-authored-by: albanD <[email protected]>
Co-authored-by: Nikita Shulga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants