-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
update-alternatives
fixes and improvements.
#25113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update-alternatives
fixes and improvements.
#25113
Conversation
bf18de2
to
38dfa64
Compare
c91be62
to
cca660b
Compare
I've now added a I'll be adding additional pager utilities in separate commits. Additionally |
cca660b
to
3b69edc
Compare
If there's any |
3b69edc
to
b9f95b4
Compare
When I look, it appears that Debian's build of https://repo.or.cz/git/debian.git/blob/77c0fc1dd8601a9552369b9e9ee95d129fe26aa1:/debian/rules#l17 termux-packages/packages/git/build.sh Lines 14 to 22 in 299ca87
I think that would be another program that |
That can be arranged. |
f866562
to
a43fe87
Compare
While looking for other programs that might contain However, while It seems like it makes sense, since bugs in Maybe termux-packages/packages/bash/build.sh Line 37 in 6d9084f
|
That makes sense to me, feel free to split that out into its own PR. |
- For consistency with `bash`: termux#25113 (comment) https://github.com/termux/termux-packages/blob/6d9084fcd742271e7c3eab852f0a34a6ed167d7e/packages/bash/build.sh#L37 - This kind of command prompts to autosend bug reports to gnu.org. - This is not desirable because the gnu.org bug tracker should not be overwhelmed by bugs from an esoteric platform that might not be convenient for upstream developers. - It is more efficient for bugs in Termux packages to be reported here, then forwarded to upstream issue trackers if reproducible on a mainstream desktop platform familiar to desktop developers. - It is assumed that is why the choice was made for `bash`, and that the same removal should be applied to `gawkbug`. ``` Send bug report to [email protected]? [y/n] ```
- For consistency with `bash`: termux#25113 (comment) https://github.com/termux/termux-packages/blob/6d9084fcd742271e7c3eab852f0a34a6ed167d7e/packages/bash/build.sh#L37 - This kind of command prompts to autosend bug reports to gnu.org. - This is not desirable because the gnu.org bug tracker should not be overwhelmed by bugs from an esoteric platform that might not be convenient for upstream developers. - It is more efficient for bugs in Termux packages to be reported here, then forwarded to upstream issue trackers if reproducible on a mainstream desktop platform familiar to desktop developers. - It is assumed that is why the choice was made for `bash`, and that the same removal should be applied to `gawkbug`. ``` Send bug report to [email protected]? [y/n] ```
- For consistency with `bash`: termux#25113 (comment) https://github.com/termux/termux-packages/blob/6d9084fcd742271e7c3eab852f0a34a6ed167d7e/packages/bash/build.sh#L37 - This kind of command prompts to autosend bug reports to gnu.org. - This is not desirable because the gnu.org bug tracker should not be overwhelmed by bugs from an esoteric platform that might not be convenient for upstream developers. - It is more efficient for bugs in Termux packages to be reported here, then forwarded to upstream issue trackers if reproducible on a mainstream desktop platform familiar to desktop developers. - It is assumed that is why the choice was made for `bash`, and that the same removal should be applied to `gawkbug`. ``` Send bug report to [email protected]? [y/n] ``` - Remove references to `igawk`, which no longer seems to exist - Specify removal of `gawk-${TERMUX_PKG_VERSION}` explicitly instead of `gawk-*`
- `cat` is a last resort `pager`
- Clean up shellcheck warnings, mostly by quoting everything - Align build scripts more closely - Don't drop images, icons and tutorials from `emacs` package
- These 3 are tied together since the `ex`, `view`, `vim` `vimdiff` and `vimtutor` groups require changes in `vim`/`vim-gtk`'s package layouts. - Also stop dropping so many files from the `vim` package, we already ship `man1/evim.1`, `rvim`, `rview`, `ex` and the icons in `vim-gtk`
7a6c30d
to
5e0781c
Compare
I'd like to get this merged ahead of Vim 9.1.1500 so I don't have to rebase this branch again. |
I missed a couple typos. |
This PR handles a few outstanding issues related to the alternatives system provided by
dpkg
'supdate-alternatives
.nano
the default$PREFIX/bin/editor
.Currently the
editor
with the highest priority isvim
, which isn't shipped as part of the bootstrap but will override theeditor
executable when installed.To avoid user confusion due to this, default to
nano
instead which is the editor we ship as part of the bootstrap.ncat-openbsd
andnmap-ncat
no longer conflict.This PR adds an
nc
alternative group utilized byncat-openbsd
andnmap
and resolves the file overlaps between the two packages.It also removes the now unnecessary
nmap-ncat
subpackage in favor of makingncat-nmap
part of thenmap
package.$PREFIX/bin/editor
.I have set the compile time default editors for the
cronie
,w3m
and (new with this PR)less
packages toeditor
to better align with user preferences.In conjunction with the promotion of
nano
to defaulteditor
this change does not change the defaults forcronie
orw3m
.It does change the implicit default editor for
less
tonano
instead of the project defaultvi
.less
v
command defaults tovi
which may not be installed. #25074