TromsFylkestrafikk / ragnarok

Harvest public transport data for statistics usage
0 stars 0 forks source link

Allow local files to be compressed #24

Closed tfk-kaare closed 1 year ago

tfk-kaare commented 1 year ago

When using LocalFiles from ragnarok-sink, you only get to write the content directly.

What is missing here is an abstraction or additional layer which allows for compression of the content. This might be a new class or an expansion of the RawFile model.

tfk-kaare commented 1 year ago

Nah, this is sink specific work. If the sink needs to compress the data, they are responsible for both that and keeping the name updated. Otherwise it creates unnecessary complexity which doesn't solve anything.

Fixed in ragnarok-ruter, where this initially was needed.