Repository navigation
[WIP] Add a MAINTAINERS.md file and desribe the role of maintainer more directly - #25560
JeremyRubin wants to merge 2 commits into
Conversation
2fb087f to
c18b9bc
Compare
|
Concept ACK |
maflcko
left a comment
There was a problem hiding this comment.
Concept ACK on tidying up the documentation, but I am not entirely convinced that your suggested processes are going to achieve the goals you want to achieve.
There was a problem hiding this comment.
I am not sure about the purpose of focus areas. Not only does the list of maintainers change, but also their focus area, so are they required to open a pull request to change their focus and wait for approval by others to change their interests?
There was a problem hiding this comment.
I think as long as maintainers know what other focus other maintainers have currently, they can point people in the right direction. i.e., I don't think it's required for this PR
There was a problem hiding this comment.
this is made clear in the following part of the document:
The role of the Maintainer is currently evolving with respect to "Scoped Maintainers". The concept of a scoped maintainer is that it is helpful to add maintainers who are subject matter experts in a particular area of the code, but perhaps not in other areas. As such, maintainers with an explicit scope typically will avoid merging PRs in areas outside their scope, but may do so on occasion. As an individual maintainer's experience levels in the project increase, they may change their focus from scoped to general, but this is not currently an explicit designation (all maintainers should be considered to be general at this time). As a rough measure, scoped maintainers should avoid "stepping on the toes" of work that is being guided by another maintainer or contributor.
I'm not sure if the "review bar" for updating documentation is the same as for modifying code, but I would assume it would be OK for maintainers to self-merge if they are keeping it up to date. As the document describes, this is just documenting what a maintainer's focus is, not restricting it.
There was a problem hiding this comment.
For reference, the only mention of "lead maintainer" in this repo was about the release cycle. However, there is no technical requirement that a single maintainer does the release cycle. In fact in large parts in can be done by any contributor, and the final steps of the release process are currently done by 4 different maintainers collectively, which is why I have removed the mention in 8abe79a
There was a problem hiding this comment.
Interesting I can't actually find a reference for @laanwj ever becoming Lead Maintainer -- it seems when Gavin handed off, he explicitly said that there would not be a Lead Maintainer, just a Core Maintainer.
Wladimir van der Laan has been paid to work on Bitcoin Core full-time for several months now– again, thanks to all of you Foundation members for stepping up and helping to fund core development– and has been doing a fantastic job. He has agreed to take over for me as the “Bitcoin Core Maintainer.”
ref: https://web.archive.org/web/20140915022516/https://bitcoinfoundation.org/2014/04/bitcoin-core-maintainer-wladimir-van-der-laan/ which is clarified here https://youtu.be/Y6hZhdZuct0 that there is not a lead maintainer around the 3 min mark.
Was there a point where we adopted the Lead Maintainer title? Is it something we should formally retire at this point?
There was a problem hiding this comment.
Was there a point where we adopted the Lead Maintainer title? Is it something we should formally retire at this point?
I don't know an answer to either question. All I know is that the phrase I removed was added in commit 06d92d7
There was a problem hiding this comment.
I don't see how this could be of any help. If you want to find out what went well in the past, you can read the release notes. If you want maintainers to prioritize something, it likely won't work. (Assume I prioritized $project, but then no one reviewed it, am I supposed to merge it without review?)
Don't get me wrong, I am not holding anyone back from sharing their interests and motivations or making a personal roadmap, but in my eyes this has nothing to do with maintainers. In fact, if you force contributors that are maintainers to come up with a roadmap, I could see that this will discourage contributors that are non-maintainers from sharing their goals, since it doesn't align with the "official roadmap".
There was a problem hiding this comment.
In my experience, both from corporate projects and open source projects, including Bitcoin Core, this would be mostly bureaucracy stuff with very little or no real impact. Are maintainers doing this now? If not, then why impose that on them with this document?
Also, it gives somehow the false impression that maintainers are deciding there the project is going. In reality contributors do by opening PRs and reviewing them.
There was a problem hiding this comment.
An example from Bitcoin Core of a similar thing that stalled: https://github.com/bitcoin-core/bitcoin-devwiki/wiki/P2P-Current-Priorities/
There was a problem hiding this comment.
agree, this would push maintainers into a more active project management/leadership role which would only lead to frustration:
- by maintainers who will be made responsible by contributors if their projects don't move forward due to lack of review or approval, getting blamed for "prioritizing" them not enough in their roadmap posts
- by contributors who would feel less a part of a largely self-organizing community without central project management
I think that even if individual maintainers wanted to do these kind of posts, they should make them in the role of a contributor, not maintainer.
So I would prefer not to have this section.
There was a problem hiding this comment.
+1 to the other commenters, the only thing id add:
practically the views and prioritizations of maintainers have an impact on what gets reviewed, merged, and the general direction of the project.
this seems like a bug-not-a-feature. if anything, we should be thinking of ways to minimize this, not formalize it.
There was a problem hiding this comment.
In my experience, both from corporate projects and open source projects, including Bitcoin Core, this would be mostly bureaucracy stuff with very little or no real impact. Are maintainers doing this now? If not, then why impose that on them with this document?
Also, it gives somehow the false impression that maintainers are deciding there the project is going. In reality contributors do by opening PRs and reviewing them.
It's something that's been done historically by past maintainers, but I think it's never been codified as a requirement.
The point of imposing it as such is that maintainers already do have these prioritizations and plans, but they live in their heads and aren't shared publicly with opportunity for comment.
Having maintainers regularly write up their thoughts on what they think is possible / prioritized and how they will spend their time leads to better utilization of all contributors time, as well as helps contributors understand if the projects they are working on are unlikely to recieve 'support' from maintainers (which might open the door to proposing a new maintainer with that scope).
There was a problem hiding this comment.
if the projects they are working on are unlikely to recieve 'support' from maintainers (which might open the door to proposing a new maintainer with that scope).
(edit: your meaning anyone's)
If your project doesn't receive any review, then an encouragement by maintainers is likely not going to magically give it reviewers. If a project isn't merged despite review, then it may have outstanding issues or controversies. Assigning a new maintainer for the sole purpose of merging your project isn't magically going to resolve them.
There was a problem hiding this comment.
do you mind de-personalizing this? i don't presently have any work i think would be benefitted by the addition of a maintainer.
There are many contributors who are not maintainers who have long term projects that seem to be somewhat stalled out, even though there are other individual who might be qualified to serve as a scoped maintainer to help (or that individual could as well). I think often times the issue in it of itself is getting sufficient review, and maintainers with scopes help coordinate review. And there are PRs where there is sufficient review, but no maintainer has a strong interest that stall out. These are circumstances where adding a maintainer would help.
There was a problem hiding this comment.
I really don't think that we should have maintainers be required to share what they prioritize, particularly in long form writing in a permanent location. It will have an affect on the direction of the project and lead to those things being perceived as roadmaps. This will discourage contributors from pursuing their own projects that may conflict with whatever maintainers are prioritizing and generally reduce the diversity of thought in the project. I think that will have a centralizing effect around the maintainers that we want to avoid.
There was a problem hiding this comment.
These are circumstances where adding a maintainer would help.
Yes, I agree that currently adding more maintainers is probably beneficial to the project. Especially if making someone maintainer "tricks" them into spending time on code review in the areas they are interested in. Moreover, when there are multiple maintainers for the same module, it might naturally increase the accountability and cross-checks, something that you'd rather see fixed by having them "check some boxes".
There was a problem hiding this comment.
I don't think we want to use this repository as a world-writeable blog for anyone (or a link collection to such)
There was a problem hiding this comment.
I think it's an overstatement to call it a world writable blog: we could maintain these in a docs folder if we want them comitted / reviewed.
Alternatively, they could live somewhere else, but I think it's important that you can somehow discover where these live from the section detailing they exist. Otherwise it's just "there exists this informaiton somewhere find it via google"?
There was a problem hiding this comment.
preventing takeover by a single dev
But it allows takeover by 2 cooperating maintainers. These hard rules have the downside that they make it clear to adversaries what exactly has to be done in order to f**k up the project.
There was a problem hiding this comment.
Well right now we "allow", afaict, takeover by a single dev it's just not clearly stated.
Is security through obscurity preferred?
There was a problem hiding this comment.
Any single GitHub/Microsoft employee with enough permissions is "allowed" to "take over" the project.
There was a problem hiding this comment.
So a maintainer may be removed for not merging PRs frequently enough!? This sounds like a gross misunderstanding to me. Also, it would achieve the opposite effect - without that maintainer even less PRs will be merged.
How could a single maintainer be a bottleneck? Nothing prevents other maintainers from merging a PR. It is not like a given maintainer has an exclusive "only I merge PRs matching a given criteria".
There was a problem hiding this comment.
The section you're referrencing basically says the opposite of what you're saying, or is at least intended to.
Requests for removal are a last resort, not a first resort. Contributors might ask if the maintainer can spend more time, they might propose adding a new maintainer. Or, they might request replacing the maintainer if there is someone who can spend more time on it.
There was a problem hiding this comment.
I think the whole section below should be reduced to just "the best judgement of other maintainers and contributors apply" or something like that.
There was a problem hiding this comment.
+1, adding more rules and processes here seems to be increasing the attack surface. in many cases, having less formalized rules makes the process more resilient
There was a problem hiding this comment.
However, the role does include permissions on the repository, and connotes a general sense of stewardship over the project.
I would prefer leaving it at "janitorial." stewardship implies a more active role in leading and setting the direction of the project, which is not the responsibility of a maintainer.
There was a problem hiding this comment.
Going from bitcoincore.org,
Project maintainers have commit access and are responsible for merging patches from contributors. They perform a > janitorial role merging patches that the team agrees should be merged. They also act as a final check to ensure that > patches are safe and in line with the project goals. The maintainers’ role is by agreement of project contributors.
I read "ensuring patches are in line with the project goals" as being stewardship, given that it requires setting or having some project goals (I don't know if we have them written down anywhere?).
There was a problem hiding this comment.
i dont think that sentence implies the maintainers are setting the project goals (ergo stewarding the project), which is why i prefer restricting the verbiage to janitorial.
There was a problem hiding this comment.
I also don't think that this sentence means the project sets the goal. Maybe we should remove documentation that can be interpreted to mean both one thing and the opposite of that thing?
There was a problem hiding this comment.
I agree with @josibake and @MarcoFalke. I interpret "ensure that patches are ... in line with the project goals" in a sense that maintainers will not merge a patch, no matter how many ACKs it has if it e.g. turns Bitcoin Core into a 3D computer game, or Word processor, or an online dating app - something that is gross offtopic.
There was a problem hiding this comment.
is this section needed? i think it would be sufficient to document that some individuals may elect to focus on a particular area of the codebase due to having subject matter expertise in that area but are able to review and merge PRs from any section of the codebase.
im also not sure what is meant by "stepping on the toes." do you have an example of this?
There was a problem hiding this comment.
steppind on toes: It was a term used by others in the IRC meeting -- I read it to mean that a maintainer is merging PRs that another maintainer would consider their area of expertise, and would disrupt merging of other work that maintainer might think has higher priority. E.g., not-achow merging a refactoring PR in wallet which conflicts with other PRs that achow is planning to merge soon / has indicated are close to ready.
I think the section is needed, and it is the documentation "that some individuals may elect to focus on a particular area of the codebase due to having subject matter expertise in that area but are able to review and merge PRs from any section of the codebase."
There was a problem hiding this comment.
sorry, i could have phrased that better: i do think there should be a section explaining what a scoped maintainer is but i think it would be less confusing if it were reduced to something along the lines of "Individuals may elect to focus on a particular area of the codebase due to having subject matter expertise in that area but are able to review and merge PRs from any section of the codebase."
given that there doesn't currently exist a formalized distinction between general and scoped maintainer, the full paragraph seems a bit premature for documentation. the reality is, regardless of what a maintainer's stated focus is, they are able to review and merge any PR in the codebase. i think the documentation should clearly state the reality and if we later decided on a more formalized distinction, the document can be updated.
There was a problem hiding this comment.
+1 to the other commenters, the only thing id add:
practically the views and prioritizations of maintainers have an impact on what gets reviewed, merged, and the general direction of the project.
this seems like a bug-not-a-feature. if anything, we should be thinking of ways to minimize this, not formalize it.
There was a problem hiding this comment.
+1, adding more rules and processes here seems to be increasing the attack surface. in many cases, having less formalized rules makes the process more resilient
There was a problem hiding this comment.
Can this whole paragraph be removed? It reads more like an editorial, and all the actual info is in the following paragraphs anyway.
edit: Removed probably inappropriate attempt at humor
There was a problem hiding this comment.
my litmus test is if it is helpful for someone to read this if they are trying to understand
- what a maintainer is / does
- how someone became a maintainer
is the document improved, for someone with little context into the project , whithout this section?
There was a problem hiding this comment.
I mean strictly speaking this paragraph doesn't explain what a maintainer is, just what a maintainer is not (and who did not become a maintainer). I guess what the paragraph is trying to convey is that it isn't some career goal that you obtain when you reach Bitcoin programmer level 35. Which is fine to mention, but at least I wouldn't open the section with that. And if at all possible I would avoid words like "honour" in a technical role description (maybe replace with "achievement award" or similar?), but maybe that's just me.
There was a problem hiding this comment.
it took me a while to find this (I blame british/american spelling differences). This is the reason why I included the bit about honor/honour in particular.
"I had noticed that Gavin had been much less active in the Github project lately, but I did not expect him to step down as lead developer. But it makes sense, there is a lot more theoretical work with regard to Bitcoin and cryptocurrency in general making it a full-time job just to keep up with that (and giving talks, travelling, and such). On the other hand, I have been effectively the maintainer of the code for quite a while. In practice nothing changes."
He added that it was "an honour to be entrusted with the role" and said the positive responses he had received were a reminder that his work was appreciated in the community: "it's easy to forget that sometimes with all the trolling and meanness going on around Bitcoin!"
I felt it is important to clarify that it's not the type of honor that is like an award, even though there is honor in it.
There was a problem hiding this comment.
To me, "there is honor in it" sounds like something a politician would say to get young people to do something stupid (like invade some foreign country), but I guess we were just socialised differently. But before I stop beating that dead horse, let me point out that the quote you posted directly contradicts your proposed text:
He added that it was "an honour to be entrusted with the role"
vs.
Being a Maintainer is not an honor
(and doing something honorably is not the same thing as feeling honored to be entrusted with something. But again, I'll stop now, our usage of/associations with that word are just different I guess)
There was a problem hiding this comment.
it's fine to discuss and i'm interested to meaningfully incorporate your feedback.
perhaps one of:
Being a Maintainer is not a bestowed honor (but it may be honorable to serve as one).
Being a Maintainer is not an honorific title (but it may be honorable to serve as one).
Being a Maintainer is not an "honorable status" (but it may be honorable to serve as one).
Being a Maintainer is not an "honorable appointment" (but it may be honorable to serve as one).
Paired with one of:
(but it may be honorable to serve as one).
.
, not to be confused with the honorability of serving in this role which is beyond the scope of this document.
|
It's not clear to me what expected benefit this document is aiming to achieve. It feels that this proposes to add more bureaucracy and formality to processes that are orthogonal to the issues in practice. It seems more likely to me that this document would become a basis for arguments rather than substantially benefit anyone or improve processes. |
|
@xekyo Conceptually, I think there can be minor fixups to the existing docs to clarify some stuff that was discussed in the IRC meeting that motivated this pull requests. On this pull request: I am wondering if the author is still working on this? For now, it might be best to not provide further review feedback (to avoid piling up comments that are unlikely to be addressed) and wait for the current feedback to be addressed first. |
IMO having public list of all Bitcoin Core maintainers (people with commit access to the repo) somewhere is very important and good thing. Don't think we had something like this always up to date anywhere before? (some time ago somebody asked me this question, about all maintainers, and I couldn't find complete list) |
List of maintainers, a better process to decide new maintainers and clarity on a few things that were discussed recently in IRC meeting and #25524 |
|
attempted to incorporate feedback, prioritizing that from extant maintainers. |
@kristapsk: A list of maintainers is here already: Line 20 in aeab1b4 |
|
It was removed in #25613 and based on PR description scope of this PR appears to be more than just a list |
instagibbs
left a comment
There was a problem hiding this comment.
concept ACK on a document like this, but it's probably gonna have to be split up between descriptive(what is ostensibly followed today) and prescriptive(more aspirational, such as self-merge section), so we can debate the prescriptive portion a bit more.
There was a problem hiding this comment.
This is new policy, which probably would have to be iterated on a few times to make sure it strikes the right balance of accountability and light-weight process.
|
Are you still working on this to address feedback? |
|
@MarcoFalke i'm not sure what you mean; the most recent non-formatting feedback was from 3 hours ago, and before that, all other feedback had been meaningfully addressed / responded to. |
|
For example my comment from July 7th wasn't addressed (among others): #25560 (comment) , also the CI is failing. |
There seems to be a general desire from numerous contributors and maintainers including Marco above to reduce the scope of the changes in this PR and instead just to complete minor fixups. There are various reasons for this but they include not wanting to impose greater maintenance burden (i.e. requiring regular changes to this doc as things change e.g. maintainer focus) and not wanting to tie maintainers up in processes that not only take extra time but also potentially make things worse than the status quo (a maintainer needing to auto merge another maintainer's PRs to get round a restriction that a maintainer can't merge their own PR no matter how much review it has). I strongly believe that when there are controversies or differences of viewpoint that there should be open discussion (e.g. on IRC) and maintainers should be expected to engage with that discussion (i.e. if they merge something that informed contributors don't think should have been merged or merge something prematurely without sufficient review). But I don't believe in tying them up in counterproductive processes and trying to catch them out because they didn't follow a long list of processes imposed by this doc. Hence I'm a Concept ACK on minor fixups as Marco says but if the PR author disagrees and thinks more expansive changes are required I'm an Approach NACK on that. I don't want to speak on behalf of others but that seems to be the general sentiment from most other contributors' comments too. I also don't want to engage in a flame fight on this so I won't be commenting on this PR again. Just wanted to pop up and say my 2 cents as I'm not sure this is heading in a productive direction. |
There is no maintainers.md file right now in bitcoin core master branch. I could not find any other doc file that could be used to add things discussed in IRC and #25524 with minor fixups. TL;DR of IRC
TL;DR about changes in process from PR 25524
|
I wasn't sure that comment needed a direct response as the question was already answered in the text immediately following, I've responded to that comment nevertheless. #25560 (comment) was intended to note that I incorporated the majority of the actionable feedback and the document was ready for re-review. w.r.t. the failing build, it was a lint error that I intended to fix on a subsequent patch, which I've done now. I didn't think that a lint error was the blocking/bottleneck for a documentation change which still needed more buy-in before merge, but perhaps you think the document is closer to ready for merge than I appreciated. Apologies if I misinterpreted, let me know if I should remover WIP. |
|
@instagibbs that seems reasonable; i tried to synthesize a bit the desires people have around things like that but maybe consensus can be reached on a pared down version of this document while debate continues on a more expansive document. |
5592603 to
7fd5236
Compare
…ntainer more directly, to be clarified/defined in further PRs.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
|
The pull request still has |
|
I don't think the normal review structure applies in this case, since it is a project organization change v.s. a code change. The point of being WIP is that if there is more feedback than it is very happy to be integrated in. WIP isn't an issue of "confidence", it's an issue of process, and it's not certain to me by what process a document would be approved or by who. E.g., is this something to get a quorum of some sort of contributors to weigh in on? All of the current maintainers? Since I began this document, we've added 1 contributor and removed 2, so clearly it's a moving target. Perhaps, as the maintainer engaging on this PR, you could shed light on what you think the "merge criteria" are on this, and I'd be happy to appropriately remove WIP. In terms of confidence I think that #25839 is mergeable (although should get some review to check it) as per @instagibbs feedback that the bits that are nor purely descriptive ought to be debated, that version is more or less descriptive (I think). |
7fd5236 to
2e5f280
Compare
|
I have no strong opinion on this pull request anymore or a mild NACK because of the following points about process that I wanted to improve:
|
|
Closing for now. Let's focus on #25839 first and then reopen this one. |
As a follow up to the conversation in IRC around maintainers, I have begun drafting a document to better define the roles and procedures around adding a maintainer.
I've tried my best to document what is currently done, as well as inputting some of what was discussed in IRC. I also had to "fill in" a little bit of procedure on things I couldn't find reference for, but very open to feedback if I've missed the mark somehow in those areas.
I've tried largely to keep it informal, with "shoulds" and "mays" aplently, but over time we might change these to be required behaviors/procedures.