paritytech / opstooling-js

Shared functionality for OpsTooling projects
https://www.npmjs.com/package/@eng-automation/js
Apache License 2.0
0 stars 1 forks source link

Extract Postgres database library #6

Closed joao-paulo-parity closed 1 year ago

joao-paulo-parity commented 2 years ago

https://github.com/paritytech/github-issue-sync/blob/master/src/server/database.ts and https://github.com/paritytech/gitspiegel/blob/master/src/database.ts are pretty much a copy-and-paste of each other except that the latter has a few more things.

We should extract this database layer into a library and bring it to a package here (#5) or create a new repository for it.