DefinitelyTyped / dt-mergebot

The bot which handles auto-merging your PRs
https://devblogs.microsoft.com/typescript/changes-to-how-we-manage-definitelytyped/
MIT License
112 stars 44 forks source link

Make discussions on DT better to use than issues #421

Closed orta closed 2 years ago

orta commented 3 years ago

In https://github.com/microsoft/TypeScript/issues/44030 one of the big issues with DT is that it's hard to have ecosystem level discussions around DT because the issues generate so much noise. We've migrated the requests for new @types or @types amendments to live inside discussions which comes with a few advantages.

The discussions however fall prey to the same problem that issues had, mainly that they are hard to stay on top of and most of the time they get no replies. We're looking at making the same bot which handles the DT workflow also handle augmenting the experience of keeping on top of the DT discussions.

Feature Plan

WIP PR which adds the bot and sets up most of the above infra: https://github.com/DefinitelyTyped/dt-mergebot/pull/412

orta commented 3 years ago

I might have to add support for checking issue comments for this and have them auto-close, I guess there's some GitHub button for doing it as they all seem to have the same syntax:

Screen Shot 2021-08-13 at 8 26 46 AM

orta commented 3 years ago

The bot is now up and running - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/55125 and https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/55172 are good examples of it in action

elibarzilay commented 3 years ago

@orta, is there a way to have other kinds of discussions other than a SO-style Q&A? (It would look a bit odd if this is used for talking about package bugs etc.)

orta commented 3 years ago

Oops missed this, there isn't any config for anything other than this format - no. This does give the poster the ability to 'close' their own issues, handle upvotes etc

orta commented 2 years ago

This is solid now