Mirror GitLab projects: issues, merge requests and commits (#538)
Free, open-source timeline editor for exact dates at any scale.
Brought to you by:
athanclark
Originally created by: athanclark
Part of [#538]: GitLab. This is stacked on [#546], and like it, it needs [#545] (128-character tags).
| Project | Issue | Merge request | Person | |
|---|---|---|---|---|
| gitlab.com | gitlab/group/app |
gitlab/group/app#12 |
gitlab/group/app!7 |
gitlab/mona |
| Self-hosted | gitlab:git.example.com/group/sub/app |
…#12 |
…!7 |
gitlab:git.example.com/mona |
!7 in tags, titles and mentions, mr in IDs (gl:group:app:mr:7), and tagged merge request.server/gitlab-source.mjs turns GitLab into the GitHub shapes the shared code reads.
Importer:
{-…-}{+…+} marks), mentions, locks and duplicates.GITLAB_TOKEN with read_api. Without one, gitlab.com keeps back events, notes and milestones; the importer leaves those out with one warning each, rather than failing.Receiver, checked against GITLAB_WEBHOOK_TOKEN:
Shared reader changes:
--since branches with nothing new aren't read. On gitlab-org/cli, 531 branches cost 19 requests.test/gitlab-source.test.mjs adds 6 tests, run against a fake API. They cover names and !n, system notes and resource events, webhooks with their changes, notes, pushes and releases, tokens, the receiver, and the importer leaving out what needs a token. All 32 source tests pass.gitlab-org/cli since 5 November.npm test: passes apart from contents.test.mjs, which fails locally with git ENOBUFS.🤖 Generated with Claude Code