Skip to content

netiquette on commits #7571

Not planned
Not planned

Description

@kidonng

Description

Commits also have comments, netiquette could work there as well.

Similar heuristics could be used:

  • Commits made long ago
  • Commits with lots of comments

Example URLs

react/react@75897c2

Activity

  1. fregante commented on Jul 21, 2024

    @fregante
    Member

    Sindre mentioned it's not a good idea to comment on commits at all because it's easy to lose track of them. For example if I report a bug… but I don't open a bug report. And also it's impossible to search these comments.

    I'm not sure how we can address this issue other than with a nuclear option:

    Prefer opening a new issue rather than commenting on commits. If this commit is part of a PR, leave a comment there instead.

    But then this might not apply to every type of comment.

    🤷‍♂️

  2. kidonng commented on Jul 21, 2024

    @kidonng
    MemberAuthor

    I think the temptation to comment on commits is real (according to personal experience), especially if the commits don't originate from/address any issue/PR.

    But then this might not apply to every type of comment.

    That's no different with current netiquette though?

  3. yakov116 commented on Jul 21, 2024

    @yakov116
    Member

    I run into these random comments too on super old commits.

    I think it's worth a shot.

  4. fregante commented on Jul 22, 2024

    @fregante
    Member

    But then this might not apply to every type of comment.

    That's no different with current netiquette though?

    We discourage commenting on old issues/PRs because:

    • the decision has been taken
    • the discussion does not appear in the issues/PRs tab
    • old participants will be notified

    On commits:

    • the commit has been committed
    • the commit discussion does not appear anywhere ever
    • old participants will be notified, if any

    Only the last one is time-based; even then, usually there are no participants on commits, so the standard time-based banner barely applies.

    Maybe show this, always, or after 7 days if we must allow a minimum of conversation:

    Prefer opening a new issue because conversations on commits are hard to track.

  5. added
    small
    and removed on Aug 1, 2024
  6. fregante commented on May 10, 2026

    @fregante
    Member

    Wow. This is in the repository settings now:

    Image

    However I think some comments are ok, just not for anything useful/important. memes only.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedenhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions