Skip to content

Conversation

@anish-devgit
Copy link

Summary

Fixes #106

Updates contributing guidelines to recommend full GitHub URLs for issue references instead of shorthand numbers, preventing broken references when code is moved between repositories.

Changes Made

  • Fixed typo in contributing.rst: "enthusiatic" → "enthusiastic"
  • Updated writing_good_commit_messages.rst to recommend full GitHub URLs (e.g., https://github.com/aboutcode-org/aboutcode/issues/234) for code comments and cross-repository references
  • Clarified that shorthand format (#234) is acceptable for commit messages within the same repository
  • Added reference to the original issue for context

Rationale

When code or documentation is moved to a different repository, shorthand issue references (#123) will point to a completely different issue in the new repo, breaking traceability. Full URLs remain valid regardless of where the code lives.

Testing

  • Reviewed git diff to verify changes
  • Confirmed RST syntax is correct
  • CI will run full Sphinx documentation build to ensure no errors

Before / After

Before: Contributors were instructed to use #234 for all issue references
After: Contributors are now guided to use full URLs for code comments and cross-repo references, with shorthand accepted for commit messages within the same repository

…e-org#106)

- Updated contributing.rst to fix typo: enthusiatic → enthusiastic
- Enhanced writing_good_commit_messages.rst to recommend full GitHub URLs
  for issue references instead of shorthand (aboutcode-org#123) format
- Added guidance on when to use shorthand vs. full URLs:
  * Shorthand acceptable for commits within same repository
  * Full URLs required for code comments to prevent broken references
    when code is moved between repositories

This change helps maintain traceability when code and documentation
are migrated to different repositories.

Fixes aboutcode-org#106

Signed-off-by: Anish <anishkumar@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve how we reference issues in commit message and code

1 participant