Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cnf for openSUSE:Factory checked in at 2026-09-15 17:08:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cnf (Old) and /work/SRC/openSUSE:Factory/.cnf.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cnf" Tue Sep 15 17:08:58 2026 rev:11 rq:1377578 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/cnf/cnf.changes 2025-09-05 21:42:56.083693783 +0200 +++ /work/SRC/openSUSE:Factory/.cnf.new.383539/cnf.changes 2026-09-15 17:09:02.277888778 +0200 @@ -1,0 +2,14 @@ +Sat Sep 12 18:03:09 UTC 2026 - [email protected] + +- Update to version 0.9.1: + * Translated using Weblate (German, Spanish, Georgian) + * Pass a properly terminated string to fopen + +------------------------------------------------------------------- +Wed Sep 9 09:06:03 UTC 2026 - Fabian Vogt <[email protected]> + +- Improve version determination in _service: + * ~ made it older (0.9.0~0 < 0.9.0), use the correct + instead + * Adjust the versionrewrite regex to omit +0 + +------------------------------------------------------------------- Old: ---- cnf-0.9.0~0.tar.zst New: ---- cnf-0.9.1.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cnf.spec ++++++ --- /var/tmp/diff_new_pack.5KV7s2/_old 2026-09-15 17:09:04.501981897 +0200 +++ /var/tmp/diff_new_pack.5KV7s2/_new 2026-09-15 17:09:04.503981980 +0200 @@ -1,7 +1,7 @@ # # spec file for package cnf # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: cnf # This will be set by osc services, that will run after this. -Version: 0.9.0~0 +Version: 0.9.1 Release: 0 Summary: A command-not-found handler for openSUSE License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.5KV7s2/_old 2026-09-15 17:09:04.539983488 +0200 +++ /var/tmp/diff_new_pack.5KV7s2/_new 2026-09-15 17:09:04.545983739 +0200 @@ -2,12 +2,12 @@ <service mode="manual" name="obs_scm"> <!-- ✨ URL of the git repo ✨ --> <param name="url">https://github.com/openSUSE/cnf.git</param> - <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param> + <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="scm">git</param> <!-- ✨ The version tag or branch name from git ✨ --> <param name="revision">main</param> <param name="match-tag">*</param> - <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> + <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)(\+0)?</param> <param name="versionrewrite-replacement">\1</param> <param name="changesgenerate">enable</param> <!-- ✨ Your email here ✨ --> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.5KV7s2/_old 2026-09-15 17:09:04.572984869 +0200 +++ /var/tmp/diff_new_pack.5KV7s2/_new 2026-09-15 17:09:04.576985037 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/cnf.git</param> - <param name="changesrevision">578f834810a84d974b9cb234eb553b0e73fff6ad</param></service></servicedata> + <param name="changesrevision">3cffde22d815ef3b4fdfec65947566f44f43d889</param></service></servicedata> (No newline at EOF) ++++++ cnf-0.9.0~0.tar.zst -> cnf-0.9.1.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/Cargo.lock new/cnf-0.9.1/Cargo.lock --- old/cnf-0.9.0~0/Cargo.lock 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/Cargo.lock 2026-09-12 19:55:54.000000000 +0200 @@ -81,7 +81,7 @@ [[package]] name = "cnf" -version = "0.9.0" +version = "0.9.1" dependencies = [ "bindgen", "cc", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/Cargo.toml new/cnf-0.9.1/Cargo.toml --- old/cnf-0.9.0~0/Cargo.toml 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/Cargo.toml 2026-09-12 19:55:54.000000000 +0200 @@ -1,6 +1,6 @@ [package] name = "cnf" -version = "0.9.0" +version = "0.9.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/README.md new/cnf-0.9.1/README.md --- old/cnf-0.9.0~0/README.md 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/README.md 2026-09-12 19:55:54.000000000 +0200 @@ -142,6 +142,27 @@ > Absolute path to 'rpm' is '/usr/bin/rpm'. Please check your $PATH variable > to see whether it contains the mentioned path > ``` +## dnf backend + +The step by step instructions for how to test the dnf part is + +```sh +distrobox ephemeral +sudo zypper install dnf rpm-repos-openSUSE-Tumbleweed libcurl4 +sudo dnf makecache +# run osc getbinaries utilities cnf openSUSE_Factory x86_64 +sudo zypper in binaries/cnf-0.9*x86_64.rpm +cnf fractal + +The program 'fractal' can be found in the following package: + * fractal [ path: /usr/bin/fractal, repository: opensuse-tumbleweed-oss ] + +Try installing with: + sudo dnf install fractal +``` + +`libcurl4` dependency is mandatory avoiding the `No handler specified` error from `dnf`/`dnf5`. + ## **PowerShell users** As `cnf` does not integrate with PowerShell by default, please read the issue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/i18n/po/de/cnf.po new/cnf-0.9.1/i18n/po/de/cnf.po --- old/cnf-0.9.0~0/i18n/po/de/cnf.po 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/i18n/po/de/cnf.po 2026-09-12 19:55:54.000000000 +0200 @@ -10,23 +10,23 @@ "Project-Id-Version: cnf 0.3.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-05-29 11:17+0000\n" -"PO-Revision-Date: 2025-08-01 14:59+0000\n" -"Last-Translator: Gemineo <[email protected]>\n" +"PO-Revision-Date: 2026-09-09 16:13+0000\n" +"Last-Translator: Nico Krapp <[email protected]>\n" "Language-Team: German <https://l10n.opensuse.org/projects/cnf/main/de/>\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.12.2\n" +"X-Generator: Weblate 2026.9.1\n" #: src/main.rs:47 msgid "" "Absolute path to '{}' is '{}'. Please check your $PATH variable to see " "whether it contains the mentioned path." msgstr "" -"Das Programm '{}' ist verfügbar im Paket '{}', das auf ihrem System " -"installiert ist." +"Der absolute Pfad für '{}' ist '{}'. Überprüfen Sie, ob dieser Pfad in der " +"$PATH Variable enthalten ist." #: src/main.rs:53 msgid "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/i18n/po/es/cnf.po new/cnf-0.9.1/i18n/po/es/cnf.po --- old/cnf-0.9.0~0/i18n/po/es/cnf.po 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/i18n/po/es/cnf.po 2026-09-12 19:55:54.000000000 +0200 @@ -10,16 +10,15 @@ "Project-Id-Version: cnf 0.3.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-05-29 11:17+0000\n" -"PO-Revision-Date: 2021-08-21 02:11+0000\n" +"PO-Revision-Date: 2026-02-11 22:04+0000\n" "Last-Translator: Javier Llorente <[email protected]>\n" -"Language-Team: Spanish <https://l10n.opensuse.org/projects/scout/command-not-" -"found-master/es/>\n" +"Language-Team: Spanish <https://l10n.opensuse.org/projects/cnf/main/es/>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7.1\n" +"X-Generator: Weblate 5.15.2\n" #: src/main.rs:47 msgid "" @@ -44,8 +43,8 @@ #: src/main.rs:89 msgid "The program '{}' can be found in the following package:" msgid_plural "The program '{}' can be found in following packages:" -msgstr[0] "La aplicación '{}' se puede encontrar en el paquete:" -msgstr[1] "La aplicación '{}' se puede encontrar en los paquetes:" +msgstr[0] "La aplicación '{}' está disponible en el siguiente paquete:" +msgstr[1] "La aplicación '{}' está disponible en los siguientes paquetes:" #: src/main.rs:99 msgid " * {} [ path: {}/{}, repository: {} ]" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/i18n/po/ka/cnf.po new/cnf-0.9.1/i18n/po/ka/cnf.po --- old/cnf-0.9.0~0/i18n/po/ka/cnf.po 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/i18n/po/ka/cnf.po 2026-09-12 19:55:54.000000000 +0200 @@ -7,42 +7,45 @@ "Project-Id-Version: cnf 0.3.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-05-29 11:17+0000\n" -"PO-Revision-Date: 2023-02-01 22:14+0000\n" +"PO-Revision-Date: 2026-01-27 07:04+0000\n" "Last-Translator: Temuri Doghonadze <[email protected]>\n" -"Language-Team: Georgian <https://l10n.opensuse.org/projects/scout/command-" -"not-found-master/ka/>\n" +"Language-Team: Georgian <https://l10n.opensuse.org/projects/cnf/main/ka/>\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9.1\n" +"X-Generator: Weblate 5.15.2\n" #: src/main.rs:47 msgid "" "Absolute path to '{}' is '{}'. Please check your $PATH variable to see " "whether it contains the mentioned path." msgstr "" +"აბსოლუტური ბილიკი '{}'-მდე არის '{}'. შეამოწმეთ თქვენი გარემოს ცვლადი $PATH " +"ამ ბილიკის შემცველობაზე." #: src/main.rs:53 msgid "" "Absolute path to '{}' is '{}', so running it may require superuser " "privileges (eg. root)." msgstr "" +"აბსოლუტური ბილიკი '{}'-მდე არის '{}'. ასე რომ, მის გაშვებას ზემომხმარებლის " +"(ანუ root-ის) პრივილეგიები სჭირდება ." #: src/main.rs:82 msgid "<selected_package>" -msgstr "" +msgstr "<მონიშნული_პაკეტი>" #: src/main.rs:89 msgid "The program '{}' can be found in the following package:" msgid_plural "The program '{}' can be found in following packages:" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "პროგრამა '{}' აღმოჩენილია შემდეგ პაკეტში:" +msgstr[1] "პროგრამა '{}' აღმოჩენილია შემდეგ პაკეტებში:" #: src/main.rs:99 msgid " * {} [ path: {}/{}, repository: {} ]" -msgstr "" +msgstr " * {} [ ბილიკი: {}/{}, რეპოზიტორია: {} ]" #: src/main.rs:111 msgid "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/src/pool.rs new/cnf-0.9.1/src/pool.rs --- old/cnf-0.9.0~0/src/pool.rs 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/src/pool.rs 2026-09-12 19:55:54.000000000 +0200 @@ -64,8 +64,7 @@ } unsafe { - const RDONLY: std::os::raw::c_char = 114; // ASCII r - let fp = fopen(csolv.into_raw(), &RDONLY); + let fp = fopen(csolv.into_raw(), c"r".as_ptr()); if fp.is_null() { return Err(ErrorKind::IOError(io::Error::last_os_error())); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/test/dnf.dockerfile new/cnf-0.9.1/test/dnf.dockerfile --- old/cnf-0.9.0~0/test/dnf.dockerfile 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/test/dnf.dockerfile 2026-09-12 19:55:54.000000000 +0200 @@ -7,15 +7,21 @@ ADD --chown=65532:65532 nonroot /home/nonroot/whoami # The following is exactly the same as for dnf5, except it uses 'dnf' instead of 'dnf5' +# download.opensuse.org redirects to a mirror, and mirrors sometimes lag behind +# the published repomd.xml and answer 404 for the metadata files it lists, which +# breaks the refresh. Use the origin server, it is always self-consistent. +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/zypp/repos.d/*.repo RUN zypper refresh # As with dnf5, dnf4 fails to work without the libcurl4 package RUN zypper --non-interactive install --no-recommends dnf libcurl4 rpm-repos-openSUSE-Tumbleweed RUN dnf --assumeyes remove zypper libzypp RUN rm -rf /etc/zypp /var/cache/zypp/ /var/lib/zypp +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/yum.repos.d/*.repo RUN echo excludepkgs=busybox dbus diffutils pam-config perl-base systemd groff man >> /etc/dnf/dnf.conf RUN dnf --setopt install_weak_deps=False --assumeyes install zsh fish libsolv1 -RUN curl -O https://download.opensuse.org/repositories/GNOME:/Next/openSUSE_Factory/GNOME:Next.repo --output-dir /etc/dnf/repos.d/ +RUN curl -O https://downloadcontent.opensuse.org/repositories/GNOME:/Next/openSUSE_Factory/GNOME:Next.repo --output-dir /etc/dnf/repos.d/ +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/dnf/repos.d/*.repo RUN dnf makecache WORKDIR /src diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/test/dnf5.dockerfile new/cnf-0.9.1/test/dnf5.dockerfile --- old/cnf-0.9.0~0/test/dnf5.dockerfile 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/test/dnf5.dockerfile 2026-09-12 19:55:54.000000000 +0200 @@ -5,12 +5,17 @@ ADD group /etc/group ADD --chown=65532:65532 nonroot /home/nonroot/whoami +# download.opensuse.org redirects to a mirror, and mirrors sometimes lag behind +# the published repomd.xml and answer 404 for the metadata files it lists, which +# breaks the refresh. Use the origin server, it is always self-consistent. +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/zypp/repos.d/*.repo RUN zypper refresh # dnf5 completely fails to work without the libcurl4 package, yet it isn't transitvely required, recommended, or suggested RUN zypper --non-interactive install --no-recommends dnf5 libcurl4 rpm-repos-openSUSE-Tumbleweed RUN dnf5 --assumeyes remove zypper libzypp # Ensure zypper's cache and settings aren't installed RUN rm -rf /etc/zypp /var/cache/zypp/ /var/lib/zypp +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/yum.repos.d/*.repo # The rest here is the equivalent of Zypper-Dockerfile, but changed to use dnf5 # Equivelent to zypper addlock @@ -18,7 +23,8 @@ # --setopt install_weak_deps=False is equivalent to to zypper --no-recommends RUN dnf5 --setopt install_weak_deps=False --assumeyes install zsh fish libsolv1 # Equivalent of zypper addrepo -RUN curl -O https://download.opensuse.org/repositories/GNOME:/Next/openSUSE_Factory/GNOME:Next.repo --output-dir /etc/dnf/repos.d/ +RUN curl -O https://downloadcontent.opensuse.org/repositories/GNOME:/Next/openSUSE_Factory/GNOME:Next.repo --output-dir /etc/dnf/repos.d/ +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/dnf/repos.d/*.repo # Equivalent of zypper refresh (note that the default dnf5 settings don't check GPG-keys) RUN dnf5 makecache diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cnf-0.9.0~0/test/zypper.dockerfile new/cnf-0.9.1/test/zypper.dockerfile --- old/cnf-0.9.0~0/test/zypper.dockerfile 2025-09-04 11:10:28.000000000 +0200 +++ new/cnf-0.9.1/test/zypper.dockerfile 2026-09-12 19:55:54.000000000 +0200 @@ -5,11 +5,16 @@ ADD group /etc/group ADD --chown=65532:65532 nonroot /home/nonroot/whoami +# download.opensuse.org redirects to a mirror, and mirrors sometimes lag behind +# the published repomd.xml and answer 404 for the metadata files it lists, which +# breaks the refresh. Use the origin server, it is always self-consistent. +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/zypp/repos.d/*.repo RUN zypper refresh # minimize number of packages installed RUN zypper --non-interactive addlock busybox dbus diffutils pam-config perl-base pkgconf-m4 systemd groff man RUN zypper --non-interactive install --no-recommends zsh fish libsolv1 -RUN zypper --non-interactive addrepo https://download.opensuse.org/repositories/GNOME:/Next/openSUSE_Factory/GNOME:Next.repo +RUN zypper --non-interactive addrepo https://downloadcontent.opensuse.org/repositories/GNOME:/Next/openSUSE_Factory/GNOME:Next.repo +RUN sed -i 's|//download\.opensuse\.org|//downloadcontent.opensuse.org|' /etc/zypp/repos.d/*.repo RUN zypper --gpg-auto-import-keys refresh GNOME_Next WORKDIR /src ++++++ cnf.obsinfo ++++++ --- /var/tmp/diff_new_pack.5KV7s2/_old 2026-09-15 17:09:04.957000947 +0200 +++ /var/tmp/diff_new_pack.5KV7s2/_new 2026-09-15 17:09:04.961001115 +0200 @@ -1,5 +1,5 @@ name: cnf -version: 0.9.0~0 -mtime: 1756977028 -commit: 578f834810a84d974b9cb234eb553b0e73fff6ad +version: 0.9.1 +mtime: 1789235754 +commit: 3cffde22d815ef3b4fdfec65947566f44f43d889 ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/cnf/vendor.tar.zst /work/SRC/openSUSE:Factory/.cnf.new.383539/vendor.tar.zst differ: char 7, line 1
