Skip to content

Add "optimap" and timestamp to the download files names #136

@nuest

Description

@nuest

In #124 we add code for downloading the whole set of publications in different formats. There are also #48 and #62 and the related #105 for the download page.

The files names should be more informative. They should start with optimap_ so that the source is clear, they do not need to include "publications" because in the future, the data dump may include other metadata, but they should include a timestamp. Formats are differentiated by the extensions. Examples for filenames:

  • optimap_data_dump_20250401T130102.geojson
  • optimap_data_dump_20250401T130102.geojson.gz
  • optimap_data_dump_20250401T130102.gpkg

The file name generate should be wrapped in a function so we have a single point of changing it:

filename = generate_data_dump_filename(extension = "geojson.gz")

Add a configuration option on how many old files we want to keep. Start with 3.

All previous files will be deleted as part of the generation task.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions