NixOS / NixOS/ofborg

Editing a message containing an ofborg command re-triggers the command

Open
#261 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
323
Forks
171
PR merge metrics
No merged PRs in 30d

Description

It makes sense in a way, but would be better if ofborg detected the line containing the ofborg command was already present. This may be possible using the changes key of https://developer.github.com/v3/activity/events/types/#events-api-payload-14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading ofborg's handling of GitHub message events and the Events API changes key linked in the issue. Trace where ofborg detects commands; done means editing a message containing an existing ofborg command does not rerun it, while newly added commands still trigger normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.