From 5f069a0d03e6d235ed635c651278926487d305a7 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 15 Aug 2026 18:28:40 +0200 Subject: [PATCH 1/2] Standardize .github configuration --- .github/dependabot.yml | 15 +++++++++++++++ .github/workflows/format.yml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b0860f2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + +# Dependabot for package version updates +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/.github/workflows" + schedule: + interval: weekly + time: "04:00" + open-pull-requests-limit: 5 + labels: + - dependencies diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 3f3ef5b..82ca973 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -29,7 +29,7 @@ jobs: python: true # Format Python with Ruff and docformatter prettier: true # Format YAML, JSON, Markdown, CSS spelling: true # Check spelling with codespell - links: false # Check broken links with Lychee + links: true # Check broken links with Lychee summary: true # Generate AI-powered PR summaries openai_api_key: ${{ secrets.OPENAI_API_KEY }} # Powers PR summaries, labels and comments brave_api_key: ${{ secrets.BRAVE_API_KEY }} # Used for broken link resolution From 915fead0d768650fd569ae8076631ead3fcaaf58 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 15 Aug 2026 19:11:50 +0200 Subject: [PATCH 2/2] Add issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 98 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 16 ++++ .github/ISSUE_TEMPLATE/feature-request.yml | 53 ++++++++++++ .github/ISSUE_TEMPLATE/question.yml | 35 ++++++++ 4 files changed, 202 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..91609fe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,98 @@ +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + +name: 🐛 Bug Report +# title: " " +description: Problems with the Ultralytics JSON2YOLO converters +labels: [bug, triage] +type: "bug" +body: + - type: markdown + attributes: + value: | + Thank you for submitting an Ultralytics 🐛 Bug Report! + + - type: checkboxes + attributes: + label: Search before asking + description: > + Please search the [Ultralytics Docs](https://docs.ultralytics.com/datasets/) and [issues](https://github.com/ultralytics/JSON2YOLO/issues) to see if a similar bug report already exists. + options: + - label: > + I have searched the Ultralytics [issues](https://github.com/ultralytics/JSON2YOLO/issues) and found no similar bug report. + required: true + + - type: dropdown + attributes: + label: Ultralytics Component + description: | + Please select the component where you found the bug. + multiple: true + options: + - "Install" + - "COCO conversion" + - "Labelbox conversion" + - "Segmentation labels" + - "Keypoints" + - "Output format" + - "Documentation" + - "Other" + validations: + required: false + + - type: textarea + attributes: + label: Bug + description: Please provide as much information as possible. Copy and paste console output and error messages including the _full_ traceback. Use [Markdown](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) to format text, code and logs. If necessary, include screenshots for visual elements only. Providing detailed information will help us resolve the issue more efficiently. + placeholder: | + 💡 ProTip! Include as much information as possible (logs, tracebacks, screenshots, etc.) to receive the most helpful response. + validations: + required: true + + - type: textarea + attributes: + label: Environment + description: Please provide your system information to help us diagnose the problem. + placeholder: | + Please include: + - OS (e.g., Ubuntu 20.04, macOS 13.5, Windows 11) + - Python version (e.g., 3.11.2) + - Package versions (e.g. pip list | grep -E 'numpy|tqdm|ultralytics') + - Any relevant environment details + + Example: + ``` + OS: macOS-13.5.2 + Python: 3.11.2 + Package: numpy==2.2.6 tqdm==4.67.1 + Environment: Terminal + ``` + validations: + required: true + + - type: textarea + attributes: + label: Minimal Reproducible Example + description: > + 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](https://docs.ultralytics.com/help/minimum-reproducible-example/). + placeholder: | + ```python + from general_json2yolo import convert_coco_json + + convert_coco_json("../coco/annotations/", use_segments=True) # Code to reproduce your issue here + ``` + validations: + required: true + + - type: textarea + attributes: + label: Additional + description: Anything else you would like to share? + + - type: checkboxes + attributes: + label: Are you willing to submit a PR? + description: > + (Optional) We encourage you to submit a [Pull Request](https://github.com/ultralytics/JSON2YOLO/pulls) (PR) to help improve Ultralytics software for everyone, especially if you have a good understanding of how to implement a fix or feature. + See the Ultralytics [Contributing Guide](https://docs.ultralytics.com/help/contributing) to get started. + options: + - label: Yes I'd like to help by submitting a PR! diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..0ddcb70 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,16 @@ +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + +blank_issues_enabled: true +contact_links: + - name: 📄 Ultralytics Docs + url: https://docs.ultralytics.com/datasets/ + about: Ultralytics dataset format and converter documentation + - name: 💬 Forum + url: https://community.ultralytics.com/ + about: Ask on Ultralytics Community Forum + - name: 🎧 Discord + url: https://ultralytics.com/discord + about: Ask on Ultralytics Discord + - name: ⌨️ Reddit + url: https://reddit.com/r/ultralytics + about: Ask on Ultralytics Subreddit diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..c60676b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,53 @@ +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + +name: 🚀 Feature Request +description: Suggest an Ultralytics JSON2YOLO idea +# title: " " +labels: [enhancement] +type: "feature" +body: + - type: markdown + attributes: + value: | + Thank you for submitting an Ultralytics 🚀 Feature Request! + + - type: checkboxes + attributes: + label: Search before asking + description: > + Please search the [Ultralytics Docs](https://docs.ultralytics.com/datasets/) and [issues](https://github.com/ultralytics/JSON2YOLO/issues) to see if a similar feature request already exists. + options: + - label: > + I have searched the Ultralytics [issues](https://github.com/ultralytics/JSON2YOLO/issues) and found no similar feature requests. + required: true + + - type: textarea + attributes: + label: Description + description: A short description of your feature. + placeholder: | + What new feature would you like to see in JSON2YOLO? + validations: + required: true + + - type: textarea + attributes: + label: Use case + description: | + Describe the use case of your feature request. It will help us understand and prioritize the feature request. + placeholder: | + How would this feature be used, and who would use it? + + - type: textarea + attributes: + label: Additional + description: Anything else you would like to share? + + - type: checkboxes + attributes: + label: Are you willing to submit a PR? + description: > + (Optional) We encourage you to submit a [Pull Request](https://github.com/ultralytics/JSON2YOLO/pulls) (PR) to help improve Ultralytics software for everyone, especially if you have a good understanding of how to implement a fix or feature. + See the Ultralytics [Contributing Guide](https://docs.ultralytics.com/help/contributing) to get started. + options: + - label: Yes I'd like to help by submitting a PR! diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..508f426 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,35 @@ +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + +name: ❓ Question +description: Ask an Ultralytics JSON2YOLO question +# title: " " +labels: [question] +body: + - type: markdown + attributes: + value: | + Thank you for asking an Ultralytics ❓ Question! + + - type: checkboxes + attributes: + label: Search before asking + description: > + Please search the [Ultralytics Docs](https://docs.ultralytics.com/datasets/), [issues](https://github.com/ultralytics/JSON2YOLO/issues) and [discussions](https://github.com/orgs/ultralytics/discussions) to see if a similar question already exists. + options: + - label: > + I have searched the Ultralytics [issues](https://github.com/ultralytics/JSON2YOLO/issues) and [discussions](https://github.com/orgs/ultralytics/discussions) and found no similar questions. + required: true + + - type: textarea + attributes: + label: Question + description: What is your question? Please provide as much information as possible. Include detailed code examples to reproduce the problem and describe the context in which the issue occurs. Format your text and code using [Markdown](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) for clarity and readability. Following these guidelines will help us assist you more effectively. + placeholder: | + 💡 ProTip! Include as much information as possible (logs, tracebacks, screenshots etc.) to receive the most helpful response. + validations: + required: true + + - type: textarea + attributes: + label: Additional + description: Anything else you would like to share?