nips icon indicating copy to clipboard operation
nips copied to clipboard

NIP-34: add Status events, clarifications and improvements

Open DanConwayDev opened this issue 11 months ago • 3 comments

see commit messages for more details

DanConwayDev avatar Mar 07 '24 10:03 DanConwayDev

Nice!

vitorpamplona avatar Mar 07 '24 13:03 vitorpamplona

Are we creating Status: Open events for every new issue/pacth? Otherwise, how would clients search for everything that is open?

vitorpamplona avatar Mar 07 '24 13:03 vitorpamplona

unfortunately we have to filter client side as every root patch / issue begins its life in the Open state.

Root Patches and Issues have a Status that defaults to 'Open'

This is how I'm doing it:

  1. search for all root patches / issues and Status events associated with a repository (via unique-commit tag or a tag)
  2. mop up by requesting status events replying to root patches / issues where the unique-commit tag or a tag is omitted
  3. filter by Open on the client side: filter out root patches / issues, that have a most recent Status event other than Open

DanConwayDev avatar Mar 07 '24 14:03 DanConwayDev