Patrick Cloke activity https://gitlab.com/clokep 2023-01-17T20:56:30Z tag:gitlab.com,2023-01-17:2350222443 Patrick Cloke commented on issue #2856 at gitter / webapp 2023-01-17T20:56:30Z clokep Patrick Cloke

While looking at the export of this data I realized there's something weird going on. It generates entries similar to:

{
  "gitterUserId": "1234",
  "mxid": "@foo_twitter-1234:gitter.im",
  "provider": "github",
  "providerKey": "undefined"
}

I see two oddities with this:

  • The MXID has twitter in it, but the provider is GitHub. (There are also ones for gitlab.)
  • The providerKey is "undefined", which shouldn't be possible.

From discussion with @MadLittleMods this could be related to #2328 (closed).

tag:gitlab.com,2022-12-28:2315997035 Patrick Cloke deleted project branch fix-dump-script at Patrick Cloke / webapp 2022-12-28T18:30:55Z clokep Patrick Cloke

Patrick Cloke (9ed87c31) at 28 Dec 18:30

tag:gitlab.com,2022-12-28:2315834192 Patrick Cloke commented on merge request !2318 at gitter / webapp 2022-12-28T16:16:13Z clokep Patrick Cloke

See !2319 (merged) for a fix to this.

tag:gitlab.com,2022-12-28:2315833664 Patrick Cloke opened merge request !2319: Ensure there's a trailing newline on each user identity info entry. at gitter / webapp 2022-12-28T16:15:48Z clokep Patrick Cloke

Follow-up to !2318

Without this change the file periodically ends up with two entries on the same line, making the file much harder to parse.

Example of the broken file:

{"gitterUserId":"abcdef","mxid":"@alice-abcdef:gitter.im","provider":"github","providerKey":"1234"}
{"gitterUserId":"ghijkl","mxid":"@bob-ghijkl:gitter.im","provider":"github","providerKey":"5678"}{"gitterUserId":"mnopqr","mxid":"@charlie-mnopqr:gitter.im","provider":"github","providerKey":"9123"}

This change should fix the broken lines (although I have no way to test it), I believe this now conforms to ndjson.

Related to #2856.

tag:gitlab.com,2022-12-28:2315827305 Patrick Cloke pushed to project branch fix-dump-script at Patrick Cloke / webapp 2022-12-28T16:11:16Z clokep Patrick Cloke

Patrick Cloke (9ed87c31) at 28 Dec 16:11

Ensure there's a trailing newline on each user identity info entry.

tag:gitlab.com,2022-12-28:2315825651 Patrick Cloke pushed to project branch fix-dump-script at Patrick Cloke / webapp 2022-12-28T16:10:06Z clokep Patrick Cloke

Patrick Cloke (0575f9f7) at 28 Dec 16:10

Ensure there's a trailing newline on each user identity info entry.

tag:gitlab.com,2022-12-28:2315824130 Patrick Cloke pushed new project branch fix-dump-script at Patrick Cloke / webapp 2022-12-28T16:09:02Z clokep Patrick Cloke

Patrick Cloke (f6c75d2e) at 28 Dec 16:09

tag:gitlab.com,2022-12-28:2315823113 Patrick Cloke created project Patrick Cloke / webapp 2022-12-28T16:08:18Z clokep Patrick Cloke tag:gitlab.com,2022-12-28:2315819283 Patrick Cloke commented on merge request !2318 at gitter / webapp 2022-12-28T16:05:45Z clokep Patrick Cloke

This creates broken data when appending to an existing file -- there's no final \n on ndJsonString so the first entry on the second call gets put on the same line as the last entry.

tag:gitlab.com,2018-10-24:280844083 Patrick Cloke pushed to project branch master at Patrick Cloke / to-rss 2018-10-24T13:37:52Z clokep Patrick Cloke

Patrick Cloke (99cd8a9c) at 24 Oct 13:37

Add support for Sentry.

tag:gitlab.com,2018-08-23:249163668 Patrick Cloke pushed to project branch master at Patrick Cloke / mwcomposerfromhell 2018-08-23T23:30:06Z clokep Patrick Cloke

Patrick Cloke (ffccc6e3) at 23 Aug 23:30

Update changelog.

tag:gitlab.com,2018-08-23:249025362 Patrick Cloke deleted project branch simplify-text at Patrick Cloke / mwcomposerfromhell 2018-08-23T16:10:58Z clokep Patrick Cloke

Patrick Cloke (7df444be) at 23 Aug 16:10

tag:gitlab.com,2018-08-23:249025286 Patrick Cloke pushed to project branch master at Patrick Cloke / mwcomposerfromhell 2018-08-23T16:10:49Z clokep Patrick Cloke

Patrick Cloke (36c4b9b9) at 23 Aug 16:10

Merge branch 'simplify-text'

... and 38 more commits

tag:gitlab.com,2018-08-23:249024201 Patrick Cloke pushed to project branch simplify-text at Patrick Cloke / mwcomposerfromhell 2018-08-23T16:08:24Z clokep Patrick Cloke

Patrick Cloke (7df444be) at 23 Aug 16:08

Flake8 fix.

... and 46 more commits

tag:gitlab.com,2018-08-23:249023376 Patrick Cloke pushed new project branch simplify-text at Patrick Cloke / mwcomposerfromhell 2018-08-23T16:06:33Z clokep Patrick Cloke

Patrick Cloke (2ba1a772) at 23 Aug 16:06

Move list logic to one place.

... and 46 more commits

tag:gitlab.com,2018-08-23:248984045 Patrick Cloke deleted project branch table-test at Patrick Cloke / mwcomposerfromhell 2018-08-23T14:58:02Z clokep Patrick Cloke

Patrick Cloke (37e139a6) at 23 Aug 14:58