Opened 5 years ago

Closed 5 years ago

#10736 closed enhancement (fixed)

Add a 'current' url for the nightly images

Reported by: kallisti5 Owned by: haiku-web
Priority: normal Milestone:
Component: Website Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

A current url for the night images would be super handy. I've needed one a few times in the past.

An example use case is an automated way to spawn a virtual machine with the latest nightly image.

Change History (3)

comment:1 Changed 5 years ago by kallisti5

Example:

http://haiku-files.org/unsupported-builds/x86-gcc4hybrid/current-raw
http://haiku-files.org/unsupported-builds/x86-gcc4hybrid/current-vmdk

comment:2 Changed 5 years ago by Kev

Temporary(?) workaround:

  echo "Getting latest Haiku version..."
  wget -q http://www.haiku-files.org/unsupported-builds/x86-gcc4hybrid/ -O latest-haiku.html
  HAIKU_TAR_XZ=`perl -ne 'print if /VMDK/../raw\.tar\.xz/' ~/latest-haiku.html | perl -ne '/\.\/(.*raw\.tar\.xz)/;print $1'`
  rm latest-haiku.html
  echo $HAIKU_TAR_XZ

comment:3 Changed 5 years ago by pulkomandy

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.