The script generate-download-pages.py can be used to generate index pages of nightly build directories for download.haiku-os.org.
This is a script that should be run after each file upload to the nightly-images directories.
The requirements are python 3.6 or newer, the Mako library, and boto (for s3)
The script generate-download-pages.py reads a toml configuration to gain insight about s3 buckets that contain nightly images. A sample is provided in config-sample.toml.
Each section gets deposited as a location in the index.html (europe, US, etc)
The nightly images in the s3 buckets are generally laid out as follows:
(bucket)/(variant)/haiku-nightly-(hrevtag)-(variant)-(type).(zip|tar.xz)