Skip to content

Remove trailing slashes and update redirected Ultralytics URLs - #33

Merged
pderrenger merged 2 commits into
mainfrom
no-trailing-slash-urls
Aug 20, 2026
Merged

Remove trailing slashes and update redirected Ultralytics URLs#33
pderrenger merged 2 commits into
mainfrom
no-trailing-slash-urls

Conversation

@pderrenger

@pderrenger pderrenger commented Aug 20, 2026

Copy link
Copy Markdown
Member

Normalizes Ultralytics link formatting and refreshes links whose destinations have permanently moved. Text-only change: no hook logic, packaging, or workflow behavior is touched.

Trailing slashes (7 URLs, 3 files)

Removed the terminating path slash from every ultralytics.com / *.ultralytics.com URL. Applied with a regex fixer validated against positive and negative cases first (subdomains, protocol-relative, bare host, fragment/query, sentence-final punctuation, markdown/HTML/backtick delimiters vs. path separators, emails, templates, ellipsis placeholders).

  • README.mdwww.ultralytics.com/ (x2), community.ultralytics.com/, docs.ultralytics.com/help/contributing/ (x2)
  • .github/ISSUE_TEMPLATE/config.ymlcommunity.ultralytics.com/
  • .github/ISSUE_TEMPLATE/bug-report.ymldocs.ultralytics.com/help/minimum-reproducible-example/

All seven destinations verified 200 in their slashless form.

Redirect refresh (3 accepted)

  • opensource.org/license/agpl-v3 -> opensource.org/license/agpl-3.0 — OSI 301, and already the form used in the main ultralytics README.
  • reddit.com/r/ultralytics -> www.reddit.com/r/ultralytics/301 to the canonical www host, matching the social badge block in the main ultralytics README. Applied to both the README badge and the ⌨️ Reddit contact link in .github/ISSUE_TEMPLATE/config.yml.

Deliberately left alone

  • ultralytics.com/discord and ultralytics.com/bilibili — vanity shortlinks meant to stay redirects.
  • server=https%3A%2F%2Fcommunity.ultralytics.com in the Forums badge — URL-encoded parameter, kept byte-identical.
  • pre-commit.com/, python.org/ — non-Ultralytics domains, out of scope for the slash rule.
  • ultralytics.com/license header lines — written by Ultralytics Actions, already slashless.

No dead links or homepage collapses were reported by the scan.

Validation

  • Re-scanned the tree: zero Ultralytics URLs retain a terminating slash.
  • All YAML files parse; prettier@3.8.5 --print-width 120 --check clean on Markdown and YAML.
  • All CI checks green (actions including broken-link checks, CodeQL, CLA).

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Updated Ultralytics-related links across the README and issue templates by removing unnecessary trailing slashes and replacing redirected destinations with their canonical URLs.

📊 Key Changes

  • Removed trailing slashes from seven ultralytics.com and *.ultralytics.com links in README.md and issue templates.
  • Updated the OSI license link from agpl-v3 to agpl-3.0.
  • Updated Reddit links from reddit.com/r/ultralytics to www.reddit.com/r/ultralytics/ in the README badge and issue-template contact links.
  • Preserved intentional redirects, URL-encoded badge parameters, and non-Ultralytics URLs.

🎯 Purpose & Impact

  • Documentation and issue-template links now use the specified canonical URL forms.
  • No user-facing change to pre-commit hooks, packaging, CI workflows, or repository behavior.

@UltralyticsAssistant UltralyticsAssistant added the documentation Improvements or additions to documentation label Aug 20, 2026
@UltralyticsAssistant

Copy link
Copy Markdown
Member

👋 Hello @pderrenger, thank you for submitting a ultralytics/pre-commit 🚀 PR! This automated message confirms your contribution was received, and an Ultralytics engineer will assist with the review. To ensure a seamless integration of your work, please review the following checklist:

  • Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • Synchronize with Source: Confirm your PR is synchronized with the ultralytics/pre-commit main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • Update Documentation: Update the relevant documentation for any new or modified features.
  • Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • Minimize Changes: Limit your changes to the minimum necessary for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀

@UltralyticsAssistant UltralyticsAssistant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔍 PR Review

Made with ❤️ by Ultralytics Actions

Reviewed all three changed files and the surrounding repository references. The URL edits are otherwise safe and consistent, but one remaining Reddit contact link still uses the redirected host.

💬 Posted 1 inline comment
  • 📝 LOW README.md:10 The Reddit redirect refresh is incomplete: .github/ISSUE_TEMPLATE/config.yml:15 still points to reddit.com/r/ultralytics, so the issue-template contact link continues through the old-host redirect instead of using the canonical www.reddit.com/r/Ultralytics/ destination. Update that remaining occurrence as well. (reddit.com)

Comment thread README.md
@pderrenger
pderrenger merged commit 3106068 into main Aug 20, 2026
5 checks passed
@pderrenger
pderrenger deleted the no-trailing-slash-urls branch August 20, 2026 21:52
@UltralyticsAssistant

Copy link
Copy Markdown
Member

🎉 This PR has been merged—thank you, @pderrenger!

“Great things are done by a series of small things brought together.” — Vincent van Gogh

Your careful updates bring Ultralytics-related README and issue-template links to their canonical forms, improving documentation consistency while preserving intentional redirects and leaving hooks, packaging, CI, and repository behavior unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants