packages feed

dl-fedora 0.9.1 → 0.9.2

raw patch · 4 files changed

+9/−5 lines, 4 files

Files

CHANGELOG.md view
@@ -1,5 +1,8 @@ # Changelog +## 0.9.2 (2021-10-01)+- fix test (beta) image selection to be the latest version+ ## 0.9.1 (2021-08-30) - new Kinoite edition for F35 - initial Centos Stream "c9s" target for production boot images
README.md view
@@ -12,13 +12,13 @@  `dl-fedora rawhide` : downloads the latest Fedora Rawhide Workstation Live iso -`dl-fedora 34 silverblue` : downloads the Fedora Silverblue iso+`dl-fedora 35 silverblue` : downloads the Fedora Silverblue iso  `dl-fedora respin kde` : downloads the latest KDE Live respin -`dl-fedora 33 server --arch aarch64` : will bring down the F33 Server iso for armv8+`dl-fedora 34 server --arch aarch64` : will bring down the Server iso for armv8 -`dl-fedora --run 34` : will download Fedora 34 Workstation and boot the Live image with qemu-kvm.+`dl-fedora --run 35` : will download Fedora Workstation and boot the Live image with qemu-kvm.  `dl-fedora --local rawhide` : shows the current locally available image (as well as the latest one). With `--dryrun` it doesn't check for newest iso. 
dl-fedora.cabal view
@@ -1,6 +1,6 @@ cabal-version:       1.18 name:                dl-fedora-version:             0.9.1+version:             0.9.2 synopsis:            Fedora image download tool description:         Tool to download Fedora iso and image files -- can change to GPL-3.0-or-later with Cabal-2.2
src/Main.hs view
@@ -304,7 +304,7 @@       let path = "fedora/linux" +/+ "releases/test"           url = dlFpo +/+ path       rels <- map (T.unpack . noTrailingSlash) <$> httpDirectory mgr url-      let mrel = listToMaybe rels+      let mrel = if null rels then Nothing else Just (last rels)       return (path +/+ fromMaybe (error' ("test release not found in " <> url)) mrel +/+ subdir, mrel)      stageRelease :: Manager -> FilePath -> IO (FilePath, Maybe String)@@ -409,6 +409,7 @@             pipeFile_ checksumfile ("gpg",["-q"]) (shasum, ["-c", "--ignore-missing"])             else do             putStrLn $ "Running " <> shasum <> ":"+            -- FIXME ignore other downloaded iso's (eg partial images error)             cmd_ shasum ["-c", "--ignore-missing", checksumfile]      checkChecksumfile :: Manager -> URL -> FilePath -> String -> IO Bool