Node icon indicating copy to clipboard operation
Node copied to clipboard

Download ipdb CSV file and convert it to ipdb.rs binary as part of the RELEASE stage in GH actions

Open czarte opened this issue 1 year ago • 0 comments

Download of the latest dbip IP-to-country data, generation of the dbip_country.rs file, and recompilation of the project should be an automated part of the release process.

The file, named dbip-country-lite-yyyy-mm.csv.gz, can be found at the link behind the "DOWNLOAD IP TO COUNTRY LITE CSV" button on dbip's download page.

A better option, although more complex, would be to have a watcher notice whenever dbip publishes a new database, download it, generate dbip_country.rs, and make a automated PR that could be reviewed and accepted by humans.

If you can make this second option happen, don't modify the release process. If you can't, modify the release process and make a spike card about figuring out how to do the second option.

czarte avatar Apr 26 '24 15:04 czarte