doc: Add CODEOWNERS file #17094

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2019_10_codeowners changing 1 files +25 −0
  1. laanwj commented at 9:05 AM on October 10, 2019: member

    Code owners (maintainers) will be added automatically to the "Reviewers" list for a PR and notified when a PR is opened.

    See https://help.github.com/en/articles/about-code-owners for syntax.

    Let me know if you want to be added for a specific path or file wildcard.

  2. laanwj added the label Docs on Oct 10, 2019
  3. meshcollider commented at 10:32 AM on October 10, 2019: contributor

    This could potentially add a lot of noise, fanquake does a good job labelling PRs and often requesting reviews anyway. @fanquake would this make your life easier? Or are you happy to keep requesting reviews from people manually where necessary?

  4. laanwj commented at 11:03 AM on October 10, 2019: member

    Well someone requested this as it'd be useful to list maintainers somewhere.

    What kind of noise are you afraid of? (FWIW, I'll comment out your entry if you don't want to be in this)

  5. emilengler commented at 3:02 PM on October 10, 2019: contributor

    I like it because it adds more transparency to this project. However, is the term 'CODEOWNERS' a good term? This sounds like they own the copyright. I would prefer a file called MAINTAINERS.md in the markdown format.

  6. practicalswift commented at 3:23 PM on October 10, 2019: contributor

    ACK c3f117fd966367a5bb61dbdbd492ba6b67c97296 -- this information is useful

  7. achow101 commented at 3:25 PM on October 10, 2019: member

    It may be useful to also list people who aren't specifically maintainers with merge access but have the domain specific knowledge and are usually the ones who review that part of code.

    w.r.t noise, if the way Github adds people is similar to how Drahtbot adds labels, there could be a lot of false positives where something in another module is changed but isn't actually the focus of the PR and thus requesting a review from that person is unnecessary.

    However, is the term 'CODEOWNERS' a good term? This sounds like they own the copyright. I would prefer a file called MAINTAINERS.md in the markdown format.

    It has to be called CODEOWNERS since it's a Github specific feature that will trigger review requests.

  8. in CODEOWNERS:19 in c3f117fd96 outdated
      14 | +/src/test/            @marcofalke
      15 | +/test/                @marcofalke
      16 | +/ci/                  @marcofalke
      17 | +
      18 | +# GUI maintainer
      19 | +/src/qt/              @jonasschneli
    


    mzumsande commented at 3:31 PM on October 10, 2019:

    typo: jonasschnelli


    laanwj commented at 4:01 PM on October 10, 2019:

    Whoops :blush:

  9. sipa commented at 3:33 PM on October 10, 2019: member

    @emilengler The CODEOWNERS file is magic in GitHub, and drives what reviewers are automatically added for PRs that affect certain directories/files in the source tree; it doesn't work with any other name. We could additionally have some .md file that documents the maintainers, but that would feel like duplicating efforts.

  10. laanwj commented at 4:01 PM on October 10, 2019: member

    It may be useful to also list people who aren't specifically maintainers with merge access but have the domain specific knowledge and are usually the ones who review that part of code.

    Right, this is not about committers; of these, @sipsorcery nor @theuni has merge access. People can be maintainers of a certain part, which means they review and ideally sign off on changes, it doesn't necessarily mean they merge them.

  11. sipsorcery commented at 5:35 PM on October 10, 2019: member

    ACK c3f117fd966367a5bb61dbdbd492ba6b67c97296

  12. doc: Add CODEOWNERS file
    Describes maintainers.
    
    See https://help.github.com/en/articles/about-code-owners for syntax.
    a887a61ca5
  13. laanwj force-pushed on Oct 10, 2019
  14. practicalswift commented at 7:05 PM on October 10, 2019: contributor

    ACK a887a61ca517883324a59c284776f491008d60f8

  15. meshcollider commented at 3:46 AM on October 11, 2019: contributor

    What kind of noise are you afraid of? (FWIW, I'll comment out your entry if you don't want to be in this)

    I'm happy to be in it, I'm just worried it'll request a lot of reviews from people for PRs that even slightly touch files in their directory. Should be fine though I guess. I'd also be happy to just list maintainers in the contribution guideline doc or something so people know who to talk to.

  16. meshcollider commented at 3:48 AM on October 11, 2019: contributor

    ACK https://github.com/bitcoin/bitcoin/commit/a887a61ca517883324a59c284776f491008d60f8

    You could also add sipa to specific files like Bech32 which he wrote

  17. in CODEOWNERS:7 in a887a61ca5
       0 | @@ -0,0 +1,25 @@
       1 | +# Nonspecific maintainers
       2 | +#   @laanwj
       3 | +#   @sipa
       4 | +#   @fanquake
       5 | +
       6 | +# Build system maintainer
       7 | +/configure.ac         @theuni
    


    fanquake commented at 12:30 PM on October 11, 2019:

    Even though @theuni is the person we'd like send these reviews to, based on my recent discussions with him, I don't think that is going to be most effective right now. I'd rather @dongcarl receive the build system review notifications (assuming he doesn't mind?)


    laanwj commented at 8:35 AM on October 14, 2019:

    Will wait for his response, otherwise i'll comment these out.

  18. fanquake commented at 12:40 PM on October 11, 2019: member

    Concept ACK on more visibility into maintainers. Although I'm concerned that GitHub is going to assign reviews poorly (if they are anything like the review "suggestions" I see). For example, if someone adds a new file to the wallet dir, touching a makefile, does that mean Cory would get a review request as well? I don't think that's what we want.

    Anyone feel free to correct me, but I fee like I've been having some good effect with targeted review requests lately, either requesting via GitHub or through a different channel like IRC. I wouldn't want everyone to start ignoring the GH review requests because they become spammy.

    You could also add sipa to specific files like Bech32 which he wrote

    You could also add achow101 across the PSBT files, practicalswift across all the scripts/linter type files etc. Just don't want to end up having to maintain the maintainers file.

  19. practicalswift commented at 12:47 PM on October 11, 2019: contributor

    You could also add achow101 across the PSBT files, practicalswift across all the scripts/linter type files etc.

    Sure thing -- that would be *.sh, test/lint/ and ci/lint/ I guess.

    I'd be happy to review everything touching src/test/fuzz/ too :)

  20. emilengler commented at 8:44 PM on October 11, 2019: contributor

    Concept ACK

  21. laanwj commented at 8:44 AM on October 14, 2019: member

    I'd also be happy to just list maintainers in the contribution guideline doc or something so people know who to talk to.

    Sure, we could do that instead. But I do prefer a machine-parseable solution as that it's less likely to become out of date, it's clear soon enough when github assigns a wrong reviewer. And so that contributors don't have to go looking in the (fairly large) documentation for it.

    Listing it per path also encourages dividing up the source code along different parts with different maintainers. The idea is also organizational.

    I'm happy to be in it, I'm just worried it'll request a lot of reviews from people for PRs that even slightly touch files in their directory.

    IMO that's a feature. Essentially, the idea is that you're always aware when someone proposes changes to files you maintain.

    (thinking of it, this would be important for consensus-critical files, maybe we should add many reviewers there)

    Then again if this is too controversial with the actual maintainers I'm happy to close this and never bring it up again.

  22. achow101 commented at 11:04 PM on October 14, 2019: member

    ACK a887a61ca517883324a59c284776f491008d60f8

  23. in CODEOWNERS:13 in a887a61ca5
       8 | +/build-aux/           @theuni
       9 | +/depends/             @theuni
      10 | +*.am                  @theuni
      11 | +Makefile.*            @theuni
      12 | +
      13 | +# Test framework maintainer
    


    emilengler commented at 11:36 AM on December 1, 2019:

    What about other CI relevant files like /.travis.yml

  24. laanwj commented at 7:45 AM on December 2, 2019: member

    I kind of lost interest here, sorry. I think

    • although things have been moving in the right direction, the boundaries between different areas of maintenance are not well-defined enough yet in this project (it just intersects in too many ways now)
    • maintainers being afraid to be assigned unnecessarily

    kind of closes the door on this, maybe after a few more years of (purposeful) code moves, this can be resurrected

  25. laanwj closed this on Dec 2, 2019

  26. MarcoFalke commented at 2:34 PM on December 3, 2019: member

    I think it is fine to allow Bitcoin Core contributors to add themselves to this file, so that the get notifications about code they care about. It is unfortunate that the file is called codeowners, but I think adding a comment that "owners" are "reviewers" should make things clear.

  27. adamjonas referenced this in commit cef356ca80 on May 7, 2020
  28. adamjonas referenced this in commit cd58a48911 on May 11, 2020
  29. adamjonas referenced this in commit e02da22906 on Aug 3, 2020
  30. MarcoFalke referenced this in commit 38fd1bdcd4 on Sep 20, 2020
  31. sidhujag referenced this in commit ec9131488c on Sep 21, 2020
  32. PastaPastaPasta referenced this in commit f9ada04431 on Jun 27, 2021
  33. PastaPastaPasta referenced this in commit 6ca1b49ca6 on Jun 28, 2021
  34. PastaPastaPasta referenced this in commit d45b627d0b on Jun 29, 2021
  35. PastaPastaPasta referenced this in commit e679898e5a on Jul 1, 2021
  36. PastaPastaPasta referenced this in commit ab8be307c6 on Jul 1, 2021
  37. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me