rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
172 stars 74 forks source link

Allow triagebot to create hackmds #1740

Open jackh726 opened 11 months ago

jackh726 commented 11 months ago

It would be great to have triagebot auto-generate meeting hackmds. HackMD has a (newish?) API: https://hackmd.io/@hackmd-api/developer-portal/https%3A%2F%2Fhackmd.io%2F%40hackmd-api%2FrkoVeBXkq

This might needs some @rust-lang/infra work too, since there aren't "organization" API tokens. So, we would likely have to have a triagebot user, then add that user to any teams that we want to do any automation with.

Mark-Simulacrum commented 11 months ago

I'm happy to provision a token and wire it up into an env variable for triagebot to read at runtime.

apiraino commented 11 months ago

I've been using HackMD through API extensively for ~2 years with a simple Python script, namely using the team notes API. I thought about integrating HackMD into the triagebot meetings agenda generator(s) but I was always a bit hesitant because there are some issues with this service.

Some examples:

Just my .2 cents, hope I don't sound too pessimistic :slightly_smiling_face: . All I am saying is that an HTTP client should work around these bugs.

jackh726 commented 11 months ago

Yeah, I imagined it would take a little bit of tinkering to get this "right".

@apiraino maybe we should chat about your experience here sometime and discuss your thoughts. If this is something that we want (as a Project) and there currently problems with the API, then maybe a more "official" email could help.

Idk, we should talk!