Mirror GitHub issues and pull requests into timelines
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
The first work-item source (#538). Each issue and pull request is a duration from when it was opened until it was closed or merged, and ongoing while it is open (#537); assignments are moments; "closes #n" links a pull request to the issue. Its tags carry the repository, kind, state, assignees, labels and milestone, so separating by assignee tags draws a chart per person. IDs derive from the source, so redeliveries and repeated imports update in place. - server/github-source.mjs: the mapping, signature checks and routing rules, without I/O. - server/github-receiver.mjs (npm run github): a webhook receiver that checks X-Hub-Signature-256, routes by repository, coalesces changes per timeline, saves links apart (a link to an issue the timeline lacks is let go) and retries what the server could not take. - server/import-github.mjs (och-import-github): imports repositories' issues, assignments and links through the REST API, paged, with --since, --dry-run and rate-limit waits; the token goes only to GitHub's origin. - TimelineWriter.send can now delete durations and add links. Both check that their timelines have the Gregorian display before writing. docs/github.md covers setup, the mapping and what personal data is copied. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/3ecb8278da9a5cf17088d74fbc0ce1526c85a9a7
Related
Open Mirror GitHub issues and pull requests into timelines in the timeline