Skip to content

Generates nightly image download pages for haiku-os.org

Notifications You must be signed in to change notification settings

jt15s/generate-download-pages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script to generate index files for nightly images

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.

Requirements

The requirements are python 3.6 or newer, the Mako library, and boto (for s3)

Config

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)

Bucket Layout

The nightly images in the s3 buckets are generally laid out as follows:

(bucket)/(variant)/haiku-nightly-(hrevtag)-(variant)-(type).(zip|tar.xz)

About

Generates nightly image download pages for haiku-os.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.5%
  • Python 30.3%
  • CSS 15.2%