From 9eac10c5eb87b2951977f7a7cc219b7018d24d98 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 16 Feb 2023 16:50:38 +0000 Subject: [PATCH 1/5] [packit] 38.23.1 upstream release Upstream tag: anaconda-38.23.1-1 Upstream commit: f2f88ba2 Signed-off-by: Packit --- .gitignore | 1 + .packit.yml | 22 +++++++--------------- README.packit | 2 +- anaconda.spec | 7 ++++++- sources | 2 +- 5 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index cebe3c3..41f7dd0 100644 --- a/.gitignore +++ b/.gitignore @@ -343,3 +343,4 @@ /anaconda-38.19.tar.bz2 /anaconda-38.20.tar.bz2 /anaconda-38.21.tar.bz2 +/anaconda-38.23.1.tar.bz2 diff --git a/.packit.yml b/.packit.yml index 1d09827..059bf1f 100644 --- a/.packit.yml +++ b/.packit.yml @@ -38,32 +38,24 @@ jobs: - job: propose_downstream trigger: release - dist_git_branches: main + dist_git_branches: f38 - job: tests trigger: pull_request targets: - - fedora-rawhide - - - job: copr_build - trigger: pull_request - targets: - - fedora-rawhide - additional_repos: - # This repository contains fixup of Rawhide broken environment. - # Mainly useful when there is a package which is not yet in Rawhide but build is available. - - "https://fedorapeople.org/groups/anaconda/repos/anaconda_fixup_repo/" + - fedora-latest - job: copr_build trigger: commit targets: - - fedora-rawhide - branch: master + - fedora-latest + branch: fedora-38 owner: "@rhinstaller" - project: Anaconda + project: Anaconda-devel + preserve_project: True additional_repos: + - "copr://@storage/blivet-daily" # This repository contains fixup of Rawhide broken environment. # Mainly useful when there is a package which is not yet in Rawhide but build is available. - "https://fedorapeople.org/groups/anaconda/repos/anaconda_fixup_repo/" - preserve_project: True diff --git a/README.packit b/README.packit index be03dc7..1d8463b 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.66.0.post6+gedfbde6. +The file was generated using packit 0.67.0.post4+g281a5ac. diff --git a/anaconda.spec b/anaconda.spec index 9061104..bd7d2ac 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,6 +1,6 @@ Summary: Graphical system installer Name: anaconda -Version: 38.21 +Version: 38.23.1 Release: 1%{?dist} License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -463,6 +463,11 @@ rm -rf \ %{_prefix}/libexec/anaconda/dd_* %changelog +* Thu Feb 16 2023 Packit - 38.23.1-1 +- Apply templates for Fedora 38 (mkolman) +- Fix new pylint detections (vslavik) +- Update translations from Weblate + * Tue Feb 07 2023 Packit - 38.21-1 - Sort RPM versions via rpm.labelCompare() and not via packaging.version.LegacyVersion() (miro) diff --git a/sources b/sources index 6d0af84..74f0519 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anaconda-38.21.tar.bz2) = 4a3d4a5fd8b3b628bf547c5e123c376b68340fc9ee9fb7984879b85343e9c0485eda735cc03299d5aa73271d62dfc588826dea25452e31e476f0074e8c973dc4 +SHA512 (anaconda-38.23.1.tar.bz2) = 2b34d9c428baf86b356f37237af07355cfa70c82f1e31c3d040c9ef850c311e868dc12f26a2eff4e379ef60a692d26870a7f8400e3f18463df6f9491eb372535 From 7e18cd11afb2960bf261d32f0476af87e711d733 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 9 Mar 2023 13:49:49 +0000 Subject: [PATCH 2/5] [packit] 38.23.2 upstream release Upstream tag: anaconda-38.23.2-1 Upstream commit: a9489642 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 2 +- anaconda.spec | 7 ++++++- sources | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 41f7dd0..4ef91c7 100644 --- a/.gitignore +++ b/.gitignore @@ -344,3 +344,4 @@ /anaconda-38.20.tar.bz2 /anaconda-38.21.tar.bz2 /anaconda-38.23.1.tar.bz2 +/anaconda-38.23.2.tar.bz2 diff --git a/README.packit b/README.packit index 1d8463b..e135a47 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.67.0.post4+g281a5ac. +The file was generated using packit 0.69.0. diff --git a/anaconda.spec b/anaconda.spec index bd7d2ac..d1801bd 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,6 +1,6 @@ Summary: Graphical system installer Name: anaconda -Version: 38.23.1 +Version: 38.23.2 Release: 1%{?dist} License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -463,6 +463,11 @@ rm -rf \ %{_prefix}/libexec/anaconda/dd_* %changelog +* Thu Mar 09 2023 Packit - 38.23.2-1 +- Retranslate welcome screen more simply (vslavik) +- Fix translations of the pre-release warning dialog (#2165762) (vponcova) +- Update translations from Weblate + * Thu Feb 16 2023 Packit - 38.23.1-1 - Apply templates for Fedora 38 (mkolman) - Fix new pylint detections (vslavik) diff --git a/sources b/sources index 74f0519..b5717d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anaconda-38.23.1.tar.bz2) = 2b34d9c428baf86b356f37237af07355cfa70c82f1e31c3d040c9ef850c311e868dc12f26a2eff4e379ef60a692d26870a7f8400e3f18463df6f9491eb372535 +SHA512 (anaconda-38.23.2.tar.bz2) = 319729d3edd2cac749589a4564229669beb0286725eb3e41c35b2c9b669cac8c4383898c3e7b678029594f7928f7646c43b5845b75ca3761fc391abe1c555e53 From 737f7617563f84fab5836deb4a282585c5ba8a12 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 24 Mar 2023 12:26:25 +0000 Subject: [PATCH 3/5] [packit] 38.23.3 upstream release Upstream tag: anaconda-38.23.3-1 Upstream commit: 190c3471 Signed-off-by: Packit --- .gitignore | 1 + .packit.yml | 4 ++-- README.packit | 2 +- anaconda.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 5 files changed, 53 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 4ef91c7..f444426 100644 --- a/.gitignore +++ b/.gitignore @@ -345,3 +345,4 @@ /anaconda-38.21.tar.bz2 /anaconda-38.23.1.tar.bz2 /anaconda-38.23.2.tar.bz2 +/anaconda-38.23.3.tar.bz2 diff --git a/.packit.yml b/.packit.yml index 059bf1f..592ff72 100644 --- a/.packit.yml +++ b/.packit.yml @@ -43,12 +43,12 @@ jobs: - job: tests trigger: pull_request targets: - - fedora-latest + - fedora-38 - job: copr_build trigger: commit targets: - - fedora-latest + - fedora-38 branch: fedora-38 owner: "@rhinstaller" project: Anaconda-devel diff --git a/README.packit b/README.packit index e135a47..10ab7f2 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0. +The file was generated using packit 0.69.0.post27+g1374cc1. diff --git a/anaconda.spec b/anaconda.spec index d1801bd..0fe7528 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,6 +1,6 @@ Summary: Graphical system installer Name: anaconda -Version: 38.23.2 +Version: 38.23.3 Release: 1%{?dist} License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -39,13 +39,14 @@ Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{vers %define libxklavierver 5.4 %define mehver 0.23-1 %define nmver 1.0 -%define pykickstartver 3.43-1 +%define pykickstartver 3.46-1 %define pypartedver 2.5-2 %define pythonblivetver 1:3.6.0-1 %define rpmver 4.15.0 %define simplelinever 1.9.0-1 %define subscriptionmanagerver 1.26 %define utillinuxver 2.15.1 +%define rpmostreever 2023.2 BuildRequires: libtool BuildRequires: gettext-devel >= %{gettextver} @@ -102,6 +103,11 @@ Requires: python3-systemd Requires: python3-productmd Requires: python3-dasbus >= %{dasbusver} Requires: flatpak-libs +# dependencies for rpm-ostree payload module +Requires: rpm-ostree >= %{rpmostreever} +Requires: ostree +# used by ostree command for native containers +Requires: skopeo %if %{defined rhel} && %{undefined centos} Requires: subscription-manager >= %{subscriptionmanagerver} %endif @@ -352,7 +358,7 @@ rm -rf \ %{buildroot}/%{_sbindir}/liveinst \ %{buildroot}/%{_datadir}/anaconda/gnome \ %{buildroot}/%{_datadir}/anaconda/gnome/fedora-welcome \ - %{buildroot}/%{_datadir}/anaconda/gnome/fedora-welcome.desktop \ + %{buildroot}/%{_datadir}/anaconda/gnome/org.fedoraproject.welcome-screen.desktop \ %{buildroot}/%{_datadir}/applications/liveinst.desktop %endif @@ -463,6 +469,45 @@ rm -rf \ %{_prefix}/libexec/anaconda/dd_* %changelog +* Fri Mar 24 2023 Packit - 38.23.3-1 +- Fix virt-install cockpit run on fedora-X images (jkonecny) +- For user unit tests, provide valid login.defs (vslavik) +- Don't copy binaries in user unit tests (vslavik) +- Don't create empty login.defs (vslavik) +- Generate the ostreesetup kickstart command (vponcova) +- Implement needs_network for rpm_ostree_container (#2125655) (jkonecny) +- Move rpm-ostree deps from Lorax to Anaconda (#2125655) (jkonecny) +- Deduplicate test data creation func in rpm ostree (jkonecny) +- Add release note for ostreecontainer (#2125655) (jkonecny) +- Add new OSTree container source test (#2125655) (jkonecny) +- Enable RPM OSTree from container source in payload (#2125655) (jkonecny) +- Add RPM OSTree source from container (#2125655) (jkonecny) +- fedora-welcome: Default to light style (fmuellner) +- fedora-welcome: Swap buttons (fmuellner) +- fedora-welcome: Drop icons from buttons (fmuellner) +- fedora-welcome: Use libadwaita (fmuellner) +- fedora-welcome: Use actions instead of clicked callbacks (fmuellner) +- fedora-welcome: Port to GTK4 (fmuellner) +- fedora-welcome: Tweak button labels (fmuellner) +- fedora-welcome: Adjust wording of description (fmuellner) +- fedora-welcome: Rename .desktop file (fmuellner) +- fedora-welcome: Add back app icon (fmuellner) +- fedora-welcome: Replace grids with boxes (fmuellner) +- fedora-welcome: Remove secondary screen (fmuellner) +- fedora-welcome: Launch .desktop file instead of spawning command (fmuellner) +- fedora-welcome: Fix passing command line flags (fmuellner) +- fedora-welcome: Use standard Javascript modules (fmuellner) +- fedora-welcome: Split out application subclass (fmuellner) +- fedora-window: Use show_all() only internally (fmuellner) +- fedora-welcome: Stop using deprecated Lang module (fmuellner) +- fedora-welcome: Reindent WelcomeWindow class (fmuellner) +- fedora-welcome: Use consistent quotes (fmuellner) +- fedora-welcome: Use template strings (fmuellner) +- fedora-welcome: Use consistent braces (fmuellner) +- fedora-welcome: Remove unused imports (fmuellner) +- Add config for Fedora Designsuite (luya) +- Update translations from Weblate + * Thu Mar 09 2023 Packit - 38.23.2-1 - Retranslate welcome screen more simply (vslavik) - Fix translations of the pre-release warning dialog (#2165762) (vponcova) diff --git a/sources b/sources index b5717d5..f609902 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anaconda-38.23.2.tar.bz2) = 319729d3edd2cac749589a4564229669beb0286725eb3e41c35b2c9b669cac8c4383898c3e7b678029594f7928f7646c43b5845b75ca3761fc391abe1c555e53 +SHA512 (anaconda-38.23.3.tar.bz2) = eced14a9da3d8248837e0623edde716e2758c3e1853f4a2a236cc64a2d827ef671ece7d70e8c6aea1f439f7cdf6e54a6ecf93c56ecee4885d06cc06773546e58 From 5032e468a5d4eaf0e2f845bcf6d5081a980caabb Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 28 Mar 2023 17:43:51 +0000 Subject: [PATCH 4/5] [packit] 38.23.4 upstream release Upstream tag: anaconda-38.23.4-1 Upstream commit: 55bc10f4 Signed-off-by: Packit --- .gitignore | 1 + anaconda.spec | 17 +++++++++++------ sources | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f444426..c9bbb7e 100644 --- a/.gitignore +++ b/.gitignore @@ -346,3 +346,4 @@ /anaconda-38.23.1.tar.bz2 /anaconda-38.23.2.tar.bz2 /anaconda-38.23.3.tar.bz2 +/anaconda-38.23.4.tar.bz2 diff --git a/anaconda.spec b/anaconda.spec index 0fe7528..aa83e31 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,6 +1,6 @@ Summary: Graphical system installer Name: anaconda -Version: 38.23.3 +Version: 38.23.4 Release: 1%{?dist} License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -103,11 +103,6 @@ Requires: python3-systemd Requires: python3-productmd Requires: python3-dasbus >= %{dasbusver} Requires: flatpak-libs -# dependencies for rpm-ostree payload module -Requires: rpm-ostree >= %{rpmostreever} -Requires: ostree -# used by ostree command for native containers -Requires: skopeo %if %{defined rhel} && %{undefined centos} Requires: subscription-manager >= %{subscriptionmanagerver} %endif @@ -243,6 +238,11 @@ Requires: nm-connection-editor Requires: librsvg2 Requires: gnome-kiosk Requires: brltty +# dependencies for rpm-ostree payload module +Requires: rpm-ostree >= %{rpmostreever} +Requires: ostree +# used by ostree command for native containers +Requires: skopeo %description install-img-deps The anaconda-install-img-deps metapackage lists all boot.iso installation image dependencies. @@ -469,6 +469,11 @@ rm -rf \ %{_prefix}/libexec/anaconda/dd_* %changelog +* Tue Mar 28 2023 Packit - 38.23.4-1 +- Add 'vga' to the list of preserved kernel arguments (#2176782) (awilliam) +- Move ostreecontainer deps to install-img-deps (jkonecny) +- Update translations from Weblate + * Fri Mar 24 2023 Packit - 38.23.3-1 - Fix virt-install cockpit run on fedora-X images (jkonecny) - For user unit tests, provide valid login.defs (vslavik) diff --git a/sources b/sources index f609902..9241984 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anaconda-38.23.3.tar.bz2) = eced14a9da3d8248837e0623edde716e2758c3e1853f4a2a236cc64a2d827ef671ece7d70e8c6aea1f439f7cdf6e54a6ecf93c56ecee4885d06cc06773546e58 +SHA512 (anaconda-38.23.4.tar.bz2) = 88fa6261f7dd12ccc0e469c5662912e5dbcc7f5a521884aa77f943e0a3ad403e2a6d2f6b661fd3a2de71c1a16ef6b3f09add72dd1d7420dc3badc322ab6a3206 From e2097295547ef395eddca808b6d1edeee98922c9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 11 Apr 2023 10:45:35 -0700 Subject: [PATCH 5/5] Backport PR #4690 to avoid failing on empty files when reporting bugs --- ...ttach-existent-and-non-empty-files-2.patch | 35 +++++++++++++++++++ anaconda.spec | 9 ++++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 0001-exception-only-attach-existent-and-non-empty-files-2.patch diff --git a/0001-exception-only-attach-existent-and-non-empty-files-2.patch b/0001-exception-only-attach-existent-and-non-empty-files-2.patch new file mode 100644 index 0000000..a82cf62 --- /dev/null +++ b/0001-exception-only-attach-existent-and-non-empty-files-2.patch @@ -0,0 +1,35 @@ +From 61155974a597e49bbc2b33ba2dc1e3b70162d99e Mon Sep 17 00:00:00 2001 +From: Adam Williamson +Date: Tue, 11 Apr 2023 10:15:16 -0700 +Subject: [PATCH] exception: only attach existent and non-empty files + (#2185827) + +libreport barfs (in a non-fatal but scary way) if a file we try +to attach does not exist or is empty. Let's make sure all the +files exist and aren't empty before we try to attach them. In a +current F38+ live install, for instance, both packaging.log and +dnf.librepo.log are usually empty. + +Signed-off-by: Adam Williamson +--- + pyanaconda/exception.py | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py +index d507cafcc2..3c39dff0f2 100644 +--- a/pyanaconda/exception.py ++++ b/pyanaconda/exception.py +@@ -138,6 +138,10 @@ class AnacondaExceptionHandler(ExceptionHandler): + """ + + log.debug("running handleException") ++ # don't try and attach empty or non-existent files (#2185827) ++ self.conf.fileList = [ ++ fn for fn in self.conf.fileList if os.path.exists(fn) and os.path.getsize(fn) > 0 ++ ] + exception_lines = traceback.format_exception(*dump_info.exc_info) + log.critical("\n".join(exception_lines)) + +-- +2.40.0 + diff --git a/anaconda.spec b/anaconda.spec index aa83e31..d46e5a0 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,7 +1,7 @@ Summary: Graphical system installer Name: anaconda Version: 38.23.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -11,6 +11,10 @@ URL: http://fedoraproject.org/wiki/Anaconda # ./autogen.sh # make dist Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.bz2 +# https://github.com/rhinstaller/anaconda/pull/4690 +# https://bugzilla.redhat.com/show_bug.cgi?id=2185827 +# Don't try and attach non-existent or empty files to bug reports +Patch0: 0001-exception-only-attach-existent-and-non-empty-files-2.patch # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). @@ -469,6 +473,9 @@ rm -rf \ %{_prefix}/libexec/anaconda/dd_* %changelog +* Tue Apr 11 2023 Adam Williamson - 38.23.4-2 +- Backport PR #4690 to avoid failing on empty files when reporting bugs + * Tue Mar 28 2023 Packit - 38.23.4-1 - Add 'vga' to the list of preserved kernel arguments (#2176782) (awilliam) - Move ostreecontainer deps to install-img-deps (jkonecny)