martinthomson / i-d-template

A template for IETF internet draft git repositories
Other
213 stars 182 forks source link

Save closed/closed_by references #227

Closed martinthomson closed 3 years ago

martinthomson commented 4 years ago

It would be nice to record linkages between issues, particularly the relationship between a pull request and the issue that it closes.

The graphql interface makes it a little hard to extract these, so this is non-trivial. They appear as a CrossReferencedEvent in the timelineItems field of issues and pull requests with a willCloseTarget attribute. The event list can be filtered based on the type, so it's not likely to be a huge addition to the load. Note that events should be immutable, so updating this can use skip or after fairly reliably.

martinthomson commented 3 years ago

See https://github.com/MikeBishop/archive-repo/issues/9