File: CONTRIBUTING.md
๐ฆธ Contributing to Roboflow Notebooks
We love your input! We want to make contributing to Roboflow Notebooks as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing a new feature
- Becoming a maintainer
๐ ๏ธ Submitting a Pull Request (PR)
- Add new notebook
.ipynbfile tonotebooksdirectory. - Add new entry to
automation/notebooks-table-data.csvfile. - Run
automation/autogenerate_notebooks_table.pyscript. Roboflow Notebooks table inREADME.mdwill update
automatically. - Commit changes to feature branch. Create PR.
ยฉ License
By contributing, you agree that your contributions will be licensed under the MIT license.
File: automation/README.md
Don't change Roboflow Notebooks list in README.md manually!
- Add new notebook file
.ipynbtonotebooksdirectory. - Add new entry to
automation/notebooks-table-data.csvfile. - Run
automation/autogenerate_notebooks_table.pyscript. Roboflow Notebooks table inREADME.mdwill update
automatically.
python3 automation/autogenerate_notebooks_table.py- Commit changes to feature branch. Create PR.
File: .github/ISSUE_TEMPLATE/bug-report.yml
name: ๐ Bug Report
title: " "
labels: [bug, triage]
body:
type: markdown
attributes:
value: |
Thank you for submitting a Roboflow Notebooks ๐ Bug Report!type: checkboxes
attributes:
label: Search before asking
Please search the issues to see if a similar bug report already exists.
options:
- label: >
I have searched the Roboflow Notebooks issues and found no similar bug report.
required: truetype: textarea
attributes:
label: Notebook name
placeholder: |
๐ก ProTip! Provide link or name to Notebook that you are referring to.
validations:
required: truetype: textarea
attributes:
label: Bug
placeholder: |
๐ก ProTip! Include as much information as possible (screenshots, logs, tracebacks etc.) to receive the most helpful response.
validations:
required: truetype: textarea
attributes:
label: Environment
placeholder: |
- Google Colab / Kaggle / Local
- OS: Ubuntu 20.04
- Python: 3.9.0
validations:
required: truetype: textarea
attributes:
label: Minimal Reproducible Example
When asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem.
This is referred to by community members as creating a minimal reproducible example.
placeholder: |# Code to reproduce your issue here
validations:
required: falsetype: textarea
attributes:
label: Additionaltype: checkboxes
attributes:
label: Are you willing to submit a PR?
(Optional) We encourage you to submit a Pull Request (PR) to help improve Roboflow Notebooks for everyone, especially if you have a good understanding of how to implement a fix or feature.
See the Roboflow Notebooks Contributing Guide to get started.
options:
- label: Yes I'd like to help by submitting a PR!
File: .github/ISSUE_TEMPLATE/feature-request.yml
name: ๐ Feature Request
title: " "
labels: [enhancement]
body:
type: markdown
attributes:
value: |
Thank you for submitting a Roboflow Notebooks ๐ Feature Request!type: checkboxes
attributes:
label: Search before asking
Please search the issues to see if a similar bug report already exists.
options:
- label: >
I have searched the Roboflow Notebooks issues and found no similar bug report.
required: truetype: textarea
attributes:
label: Description
placeholder: |
What tutorial do you think we should add to Roboflow Notebooks?
validations:
required: truetype: textarea
attributes:
label: Additionaltype: checkboxes
attributes:
label: Are you willing to submit a PR?
(Optional) We encourage you to submit a Pull Request (PR) to help improve Roboflow Notebooks for everyone, especially if you have a good understanding of how to implement a fix or feature.
See the Roboflow Notebooks Contributing Guide to get started.
options:
- label: Yes I'd like to help by submitting a PR!
File: .github/workflows/issue-greetings.yml
name: Issue greetings
on: [issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
๐ Hello @${{ github.actor }}, thank you for leaving an issue on Roboflow Notebooks.
## ๐ Bug reports
If you are filing a bug report, please be as detailed as possible. This will help us more easily diagnose and resolve the problem you are facing. To learn more about contributing, check out our [Contributing Guidelines](https://github.com/roboflow/notebooks/blob/main/CONTRIBUTING.md).
If you require support with custom code that is not part of Roboflow Notebooks, please reach out on the [Roboflow Forum](https://discuss.roboflow.com) or on the [GitHub Discussions page](https://github.com/roboflow/notebooks/discussions) associated with this repository.
## ๐ฌ Get in touch
Do you have more questions about Roboflow that we haven't responded to yet? Feel free to ask them on the [Roboflow Discuss](https://discuss.roboflow.com) forum. Our developer advocates and community team actively respond to questions there.
To ask questions about Notebooks, head over to the [GitHub Discussions](https://github.com/roboflow/notebooks/discussions) section of this repository.File: .github/workflows/rebuild-readme-notebooks-table-on-pr-merge-to-main.yml
name: rebuild readme.md notebooks table on pr merge to main
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Rebuild notebooks table in project README.md
run: python automation/autogenerate_notebooks_table.py
- name: Check for modified files
id: git-check
run: echo ::set-output name=modified::$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
- name: Update changes in GitHub repository
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.name 'SkalskiP'
git config --global user.email '[email protected]'
git commit -am "๐ค hello friend, the notebooks table has been rebuilt"
git push