Re: Introducing vim-default-editor subpackage - replace nano as a default editor if wanted

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

 



On Mon, Oct 12, 2020 at 5:25 AM Zdenek Dohnal <zdohnal@xxxxxxxxxx> wrote:
>
> Hi,
>
> thanks to Pawel Marciniak's pull request [1] I'm happy to announce
> vim-default-editor subpackage, which easily sets/removes Vim as the
> default editor by installing/uninstalling the subpackage.
>
> Because of nano was selected as a default editor since Fedora 33+, the
> new subpackage conflicts with nano-default-editor subpackage to ensure
> the correct behavior. It means the dnf transaction needs to use
> '--allowerasing' option when installing vim-default-editor is going to
> be installed and nano-default-editor is already installed and vice versa.
>
> Vim's NVR which introduced the subpackage is 2:8.2.1815-2, the build
> containing the subpackage will go into updates for F31+ tomorrow.
>
> Enjoy when it comes to the updates!
>
> [1] https://src.fedoraproject.org/rpms/vim/pull-request/11
>

There are two significant problems with this package:

1. It doesn't work for Fish, since Fish doesn't actually *read*
profile.d (did you look at how nano-default-editor *actually* set
things up?)

2. Having subpackages like this that conflict by name is going to get
crazy really fast, so we need a virtual name to make RPM only permit
one of them at a time.


And really, why do you need this instead of just uninstalling the
nano-default-editor package? Vim is the POSIX default already...



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux