Skip to content

Hide/collapse bots in commits #1676

Closed

Description

@mike-north

With the rise in popularity of dependency management bots and other non-human commit-generating entities, commit logs can get very noisy relative to the typical experience in the pre "rise of the bots" era.

It would be nice to have an option for filtering these types of commits out of the list, particularly in the /compare/X...Y UI.

Activity

  1. fregante commented on Dec 19, 2018

    @fregante
    Member

    There’s a problem with including this feature: it’s a very minor feature and might cause problems (i.e. hiding commits some people might not want to hide), including false positive and thus constant tweaking of the selector.

  2. sindresorhus commented on Dec 20, 2018

    @sindresorhus
    Member

    It's nice to remove noise, but not sure if this is a good idea. What if a rogue bot commits something bad to your repo and we hide that commit.

  3. sindresorhus commented on Dec 20, 2018

    @sindresorhus
  4. fregante commented on Dec 20, 2018

    @fregante
  5. sindresorhus commented on Dec 20, 2018

    @sindresorhus
  6. fregante commented on Dec 20, 2018

    @fregante
  7. sindresorhus commented on Dec 20, 2018

    @sindresorhus
  8. fregante commented on Dec 20, 2018

    @fregante
  9. sindresorhus commented on Dec 20, 2018

    @sindresorhus
  10. mike-north commented on Dec 20, 2018

    @mike-north
    Author

    There’s a problem with including this feature: it’s a very minor feature and might cause problems (i.e. hiding commits some people might not want to hide), including false positive and thus constant tweaking of the selector.

    My thinking was that this filter would default to "off". I definitely agree that starting to filter stuff without telling anyone, or requiring that they "opt in" is a bad idea.

    RE: concerns around false positives, there's a knowable and relatively small set of bots that produce this kind of noise

    • greenkeeper
    • dependabot
    • renovate
    • etc...

    Could we not just have a hardcoded list of "noisy bots"?

    I wouldn't necessarily want to remove all bots, since there may be some whose contribution to changelogs is far more meaningful (i.e., auto-fixing a security vulnerability or something)

  11. fregante commented on Jan 14, 2019

    @fregante
    Member

    Whitelist sounds good too.

    Could these commits be faded out like we do we merge commits? Safer.

  12. added
    small
    and removed on Feb 13, 2019
  13. changed the title [-]Option for filtering out bot users in commit log[/-] [+]Hide/collapse bots in commits[/+] on Feb 15, 2019
  14. fregante commented on Jul 29, 2019

    @fregante
    Member

    Sounds like all our discussion was for nothing 😅
    Bots have /marketplace/ or /apps in the URL, which makes it very easy to filter out. Example of noisy commit list: https://github.com/OctoLinker/OctoLinker/commits/master 🤢

  15. kidonng commented on Aug 18, 2019

    @kidonng
    Member

    Could these commits be faded out like we do we merge commits? Safer.

    1

    Something looks like this? Cool 😁

    But I'd also like if we can merge serial bot commits into one and collapse them, make the page cleaner and easier to scroll through. Most of us merge several bot PRs at the same time so this happens a lot.

  16. fregante commented on Sep 7, 2019

    @fregante
    Member

    Yes please, also in PR/Issue lists

  17. added
    Please! ♥︎
    on Sep 7, 2019
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

    Please! ♥︎enhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions