#7 db support
Closed by adamwill. Opened by kevin.

support storing the info in a db (if configured) instead of just a directory. :)


I have this done now, but haven't updated the tests yet. Will get to that tomorrow.

Metadata Update from @adamwill:
- Issue assigned to adamwill

OK, this is fixed now with https://pagure.io/fedora-qa/releasestream/c/4c8ef3868f47d252798c49af5966b7fba7509f59?branch=main , which also allows for creating stream events with arbitrary timestamps because it's sort of necessary for testing now (but not in the web API, at least not until I decide whether I want to allow that). I used peewee because it seems simpler and lighter than sqlalchemy.

Had to do some awkward stuff around DB init to allow for the tests to work. I feel like there should be a better way but I wasn't smart enough to figure it out, not yet at least.

Metadata Update from @adamwill:
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/quality/releasestream/issues/7

Please continue any further discussion there.

Metadata