-
Notifications
You must be signed in to change notification settings - Fork 61
Add link to rfcbot post from original post #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc #213 |
👍 To workaround the comment folding issue, how about rfcbot posts a comment when the PR is opened, and then when someone requests a "fcp merge" perhaps rfcbot could (1) edit its initial comment (comment number 2 of the thread) with the concerns and checkboxes, (2) and post a comment linking to that comment. WDYT? Would a pull request along these lines be of interest? More generally, are pull requests welcome to rfcbot or is it in low maintenance mode at the moment? |
@dwijnand What you describe is basically what I had in mind but I never got around to implementing it. A PR(s) would be nice, me or anp can review. :) |
One drawback of this approach is however that if rfcbot proposals get cancelled and then changed (e.g. first merge then close) then you lose the history of the merge comment (they are distinct today). |
Doesn't GH allow seeing the edit history nowadays? Alternatively, the bot could keep old proposals on a folded block at the bottom of the post. |
Let's rely on comment history for now and defer snapshotting the previous fcp to further down the road. I'll try and give this a shot. |
Also, care must be taken for already ongoing RFCs. |
Yeah GH history makes sense; I think you'll want to be extra careful with the DB :) |
(Btw, probably not going to do this one, at least any time soon, given the care it needs.) |
In a long RFC/tracking issue, it can be really hard to find the post where rfcbot keeps track of checkboxes and concerns. Would it be possible for rfcbot to edit the original post of that issue/PR and add a link to the rfcbot post, so that it always just is one click away from the top of the page? That would make finding that post (and, in fact, finding out if that post even exists already) much easier.
To make things worse, GitHub sometimes folds the rfcbot post into the hidden comments, and then links which go directly to that post fail because it is not loaded. Is there a place to ask GitHub to please make it so that links directly to posts (using the anchor) keep working for hidden posts, e.g. by automatically un-hiding the post when it is referenced by the URL anchor? GitLab does something like that successfully for PRs, so it's certainly possible.
The text was updated successfully, but these errors were encountered: