Re: Should we have rpm package policies tying extension packages to the GNOME versions they'll work with?

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



On Fri, Nov 12, 2021 at 10:25 PM Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx> wrote:
>
> See this Ask Fedora topic: https://ask.fedoraproject.org/t/fedora-34-extensions-installed-from-dnf-disabled-after-upgrade-to-fedora-35/18017
>
> In short, some rpm-packaged GNOME Shell extensions don't work with the GNOME
> Shell we are shipping, but this isn't expressed in the dependencies.
>
> I looked at the package which triggered the question, and:
>
>    $ rpm -qRp gnome-shell-extension-sound-output-device-chooser-39^1.8c90ed0-1.fc35.noarch.rpm
>    gnome-shell-extension-common
>    python3
>    rpmlib(CaretInVersions) <= 4.15.0-1
>    rpmlib(CompressedFileNames) <= 3.0.4-1
>    rpmlib(FileDigests) <= 4.6.0-1
>    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>    rpmlib(PayloadIsZstd) <= 5.4.18-1
>
> and
>
>    $ rpm2cpio gnome-shell-extension-sound-output-device-chooser-39^1.8c90ed0-1.fc35.noarch.rpm |cpio -i --quiet --to-stdout  './usr/share/gnome-shell/extensions/*/metadata.json'|jq '."shell-version"'
>    [
>      "3.32",
>      "3.34",
>      "3.36",
>      "3.38",
>      "40"
>    ]
>
> Would it make sense to have an automatic dependency generator which requires
> gnome-shell to be one of those versions? (Or conflicts with gnome-shell which is
> _not_ those versions?)
>

I don't see a reason why not. Having a dependency generator that
leverages a "gnome-shell(abi)" dependency to link the two would make
sense. Potentially we'd want to check and fail the build if
non-matching versions exist through a buildroot policy too?



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/desktop@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux