How to add a "latest" download point for Atomic Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
    It was requested from members of the Fedora Cloud WG that we
provide a persistent URL that will always offer up the latest Two Week
Atomic Host release from Fedora.

Initially I wrote some code that would handle this in the Two Week
Atomic script[0] but dgilmore brought up a good point that this
removes our ability to easily track what compose any given "latest"
image downloaded at various points of time actually is since it would
overwrite the images in-place (we could maintain a listing of
checksums but that's not ideal). What was then proposed and I like
better is to offer a web endpoint that would do two things:

1) Serve up the latest image for the different image types (something
like getfedora.org/atomic/latest/$IMAGE_TYPE)

2) A simple URL endpoint that would return the actual image name that
is the 'latest' for use by people who want to write scripts to
automate and verify the images. (something like
getfedora.org/atomic/latest/$IMAGE_TYPE/filename)

The needed data is already provided via fedmsg by the Two Week Release
and is used to populate download links for the Atomic page[1] so
hopefully this won't be too much work. I'm also willing to do the work
and just submit the code for review but would like some guidance and
feedback on the topic in general.

Thank you,
-AdamM

[0] - https://pagure.io/fork/maxamillion/releng/c/9a49e6cfc8ee1b23dc383cbf527b896a49bd6a9e
[1] - https://getfedora.org/en/cloud/download/atomic.html
--
websites mailing list
websites@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/websites@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux