main: make "--use-librepo" the default

This commit switches the default to librepo. We do not have many
users yet so this is a great place to test the new librepo
functionality. It also is much more stable for fedora/centos
systems that often have flaky mirrors.

This also bumps the minimum required version of osbuild.
This commit is contained in:
Michael Vogt 2025-01-17 10:20:51 +01:00 committed by Simon de Vlieger
parent d75bb4fa0a
commit 687f69bb76
2 changed files with 7 additions and 3 deletions

View file

@ -199,7 +199,7 @@ operating sytsems like centos and RHEL with easy customizations support.`,
manifestCmd.Flags().String("ostree-ref", "", `OSTREE reference`)
manifestCmd.Flags().String("ostree-parent", "", `OSTREE parent`)
manifestCmd.Flags().String("ostree-url", "", `OSTREE url`)
manifestCmd.Flags().Bool("use-librepo", false, `(experimental) use librepo to download packages, needs new osbuild`)
manifestCmd.Flags().Bool("use-librepo", true, `use librepo to download packages (disable if you use old versions of osbuild)`)
rootCmd.AddCommand(manifestCmd)
buildCmd := &cobra.Command{