Debian Patches

Status for vim-youcompleteme/0+20240827+gitb6e8c64+ds-7

Patch Description Author Forwarded Bugs Origin Last update
0001-Bump-vim-requirement-to-version-9.1.0016.patch Bump vim requirement to version 9.1.0016
Since Ubuntu 24.04 is out, we can clean up a bit.
Some of the `VimSupportsFoo()` functions will always return `True` in
vim, but we also need to take into account othervim.
Boris Staletic <boris.staletic@protonmail.com> no upstream, commit:dd365b28d80fddb95737394388bf4d00eb061cbb 2024-08-28
0002-Update-Docker-image.patch Update Docker image Boris Staletic <boris.staletic@protonmail.com> no upstream, commit:57e27fe9f716c9da79823731dcde085430cbc545 2024-08-28
0003-Fix-pip-not-allowing-install-outside-a-virtual-env.patch Fix pip not allowing install outside a virtual env Boris Staletic <boris.staletic@protonmail.com> no upstream, commit:10b274ceb9fc1850665c181fd862e84c4a8a089b 2024-08-29
0004-Update-test-dependencies.patch Update test dependencies
coverage and click were pinned because covimerage was outdated.
Now covimerage states its dependencies properly and works with
coveragepy 7.
Boris Staletic <boris.staletic@protonmail.com> no upstream, commit:e177cb406b1e5486bee3134076ca2acefaa70d59 2024-09-11
0005-Update-vim-docs.patch Update vim docs bstaletic <bstaletic@users.noreply.github.com> no upstream, commit:4654e1bf7001128195ae7692c35fe91b4024d632 2024-09-12
0006-Use-setlocal-for-temporary-completeopt-adjustment.patch Use setlocal for temporary completeopt adjustment
Since vim 9.1.0469, completeopt is a global-local option. When adding
`noselect`, we need to treat `completeopt` as local and use `setlocal`.
This works for 9.1.0016 as well and allows users to freely mess with
buffer-local `completeopt` without messing up YCM completions.
Boris Staletic <boris.staletic@protonmail.com> no upstream, commit:d51771132ca48d0f57dca5089d08e7f6c944d376 2024-09-14
0007-Fix-typos-in-the-code-of-conduct.patch Fix typos in the code of conduct Christian Hagau <ach@hagau.se> no upstream, commit:172ffe5c44f0ccae7046ce3f0d4e5b542cae6ddd 2024-10-09
0008-Allow-soft-wrapping-of-lines-in-the-signature-help-w.patch Allow soft-wrapping of lines in the signature help window
This looks ugly, but at least no data is lost due to lines going off
screen.
Boris Staletic <boris.staletic@protonmail.com> no upstream, commit:05f688cbab7227ccb5eec1483df90786e69797cb 2024-08-04
0010-Python-3.12.patch Python 3.12 Ben Jackson <puremourning@gmail.com> no upstream, commit:ab6a321d0a53352f2b6e40639b826d71753c4b83 2025-12-29
0011-Fix-hierarchies-test-after-clang-21-update.patch Fix hierarchies test after clang 21 update
It now supports incoming calls in call hierarchy.

Closes #4321
Ben Jackson <puremourning@gmail.com> no upstream, commit:0aef12663c0831aa39b04281a31c3fcdbb349248 2025-12-29
0012-Need-java-21-for-new-jdt.patch Need java 21 for new jdt Ben Jackson <puremourning@gmail.com> no upstream, commit:891fb1cf2c0297efd1826630c396329ca3e1d4b7 2025-12-29
0013-Fix-file-descriptors-sockets-leak.patch Fix file descriptors (sockets) leak Alexander Serkov <alexandr.serkov@gmail.com> no upstream, commit:701319a4bd6f331797050b7121a98527c4a93986 2025-03-10
0014-Make-update-vim-docs-work-again-maybe.patch Make update vim docs work again, maybe Ben Jackson <puremourning@gmail.com> no upstream, commit:dd313f82c2b8a55350f13978e48332f0b36d0af0 2025-12-29
0015-Update-vim-docs.patch Update vim docs Ben Jackson <puremourning@gmail.com> no upstream, commit:f9ce9973b6ea0a6bbcdfd5dad21b828a5f7d5fdf 2025-12-29
0016-Remove-WaitForCommandRequestComplete-from-hover-test.patch Remove WaitForCommandRequestComplete from hover tests, use CheckNoCommandRequest instead alxn1 <alexandr.serkov@gmail.com> no upstream, commit:3999cf56740a9a1634fcb8a69b0e438c36953742 2025-12-30
0017-fix-Add-safety-check-for-b-ycm_hover.patch fix: Add safety check for b:ycm_hover Zahar Chernenko <zaharchernenko35@gmail.com> no upstream, commit:79b7e5466564b17a1d4f36aa9e11e3fadc12ab1c 2025-04-09
0019-Cross-repo-reference-to-g-ycm_language_server-descri.patch Cross-repo reference to g:ycm_language_server description "Mikhail f. Shiryaev" <mr.felixoid@gmail.com> no upstream, commit:bb70ace5082d6fb615c9e3778b924440c33cf35e 2026-01-14
0021-Update-vim-docs.patch Update vim docs puremourning <puremourning@users.noreply.github.com> no upstream, commit:c02a4bf22f675e8aa8c73c7cc4cb4376d3fc5be2 2026-01-30
00-path-to-server-script.patch Use Debian's ycmd package locations for ycmd. We neither have the third_party directory for vim-youcompleteme nor
for ycmd, so we can't import them and we don't want to either.
.
This means we can drop lots and lots of complicated code as we know
by virtue of dependencies where everything is and that it is good
David Kalnischkies <donkult@debian.org> not-needed 2020-10-28
01-allow-tests-to-be-run.patch Use Debian's ycmd package locations for ycmd in tests We neither have the third_party directory for vim-youcompleteme nor
for ycmd, so we can't import them and we don't want to either.
.
The two python tests are removed as we have always Python installed
in Debian due to dependencies and the tests can for some reason not
override this properly.
David Kalnischkies <donkult@debian.org> not-needed
02-allow-to-retry-failed-test-runs.patch Allow retrying failed vim tests automatically The vim tests are somewhat sensitive to timing, so if the machine isn't
the fastest or does other things concurrently it can happen that the
timing in the tests fail to match reality.
.
Ideally the tests would not be sensitive to timing issues, but that is
a bigger and more involved problem to solve for upstream. So as a tiny
downstream we just cop out here and allow the tests to be retried a
bunch of times likely hitting the 'PASS' jackpot in a retry.
David Kalnischkies <donkult@debian.org> no
03-do-not-override-unset-ycmd-settings.patch Load ycmd default settings from its default_settings.json Upstream prefers to keep the configuration in one place, but as Debian has
ycmd and vim-youcompleteme in two different packages and can update them
independently it makes more sense to not override the defaults ycmd has
as that would require updating both packages then.
.
This is still the case as the configuration options are only documented here
as they can only be changed sensible from here by the user, but it allows at
least the package maintainer to change options in one place and only have the
documentation lagging behind (or ahead) slightly.
David Kalnischkies <donkult@debian.org> invalid 2020-10-28
04-do-not-require-semantic-highlighting.patch Do not require a ycmd upgrade No need to entangle us too strongly for experimental features David Kalnischkies <donkult@debian.org> not-needed
05-test-supports-different-hierarchy-order-on-s390x.patch Support different order in type hierarchies test on s390x For some reason on s390x only the order of the type hierarchies is
different in that it names D1 first instead of last like on the rest.
.
As this doesn't really matter we can adapt the test to accept both
and stop worrying for now. In an ideal world we would not be this
dependent on the order as any order seems fine, but we will see if
that turns out to be an actual problem for future clang changes.
.
I might have been the first human in existence to have run
vim-youcompleteme on a s390x machine and I might also be the last
so upstreaming that seems overkill for now.
David Kalnischkies <donkult@debian.org> not-needed
06-support-different-clangds-in-tests.patch Support different clangd versions in tests Upstream always blesses and embeds a specific LLVM version and hence
clangd release and adapts their tests accordingly. While we could do
similar requiring a specific clangd version I prefer using whatever
is the default in Debian currently, which means we are sometimes ahead
or behind and usually both.
.
For upstream the changes are at best not-needed, but at times I take
a shortcut and relax the tests which for upstream isn't appropriate,
but for us it should be good enough for the time being.
.
An example being the CheckPopupPosition change (the only current one)
as technically only one position is correct and changing it would be
incorrect/a regression, but given the constraint is still very narrow
I picked this solution for now.
David Kalnischkies <donkult@debian.org> not-needed
07-support-different-ycmds-in-tests.patch Support different ycmd versions in tests Similar to previous patch dealing with different clang (and related)
versions this one deals with different versions of ycmd causing
differences in the tests so that I can avoid lock-stepping the two
even if in practice usually the newest of both will run together.
.
If its more than simple hard-to-observe/cosmetic changes upstream
usually uses an increase in CORE_VERSION instead which we can follow.
.
For upstream the changes are at best not-needed, but at times I take
a shortcut and relax the tests which for upstream isn't appropriate,
but for us it should be good enough for the time being.
David Kalnischkies <donkult@debian.org> not-needed
08-ignore-arch-specific-details-in-hover-test.patch Ignore architecture-specific details in hover vim-test Offset and Padding are different on e.g. i386 vs. amd64,
so we go from exact matching to manually comparing arrays of lines
of text which we match individually against an expected pattern.
For most lines, that will be a fixed string as before, but for
the offending two we will accept any number in place of a fixed one.
David Kalnischkies <donkult@debian.org> no
09-allow-tests-to-be-skipped.patch Implement a simple interface to skip vim tests In this way I can skip certain tests in autopkgtest to run them
later on individually if desired.
.
The patch is incomplete as it does handle only skipping entire
tests while upstream allows running individual testcases inside
a test file, so an upstreamable --skip should ideally support
this as well beside that the patch as-is depends on the retry
one at the moment althrough trivially.
David Kalnischkies <donkult@debian.org> no
10-add-libclang-test.patch Check that libclang-based completer offers fixit clangd is preferred and more featureful, but libclang is a decent
fallback and as long as we built it, it should at least keep working.
David Kalnischkies <donkult@debian.org> not-needed
11-add-ccls-test.patch Check ccls support Support is Debian specific as upstream already has libclang and clangd for
the cfamily and adding more is hard to do platform agnostic, while in Debian
it is hardly one apt call way and hence easy to do.
David Kalnischkies <donkult@debian.org> not-needed
12-add-gopls-test.patch Check gopls works The test content itself is a bit pointless, but it can at
least proof that go support isn't entirely broken.
David Kalnischkies <donkult@debian.org> not-needed
13-add-fortran-test.patch Adding a simple test for fortran completer This is Debian-specific as enabling the completer is a
Debian-specific patch in ycmd.
David Kalnischkies <donkult@debian.org> not-needed
14-relax-cursor-position-tests-with-newer-vim.patch Relax assert of cursor pos tests failing with newer vim The difference is one point, so this seems hardly relevant in
practical terms as the test is more there to check the cursor
isn't completely off.
.
Upstream tests with a specific version and will just change the
tests accordingly as needed as usual, so forwarding is pointless.
We could do that as well, but to avoid a transition complicating
hard-dependency on a specific vim version, we just accept both.
.
Closes: #1120056
David Kalnischkies <donkult@debian.org> not-needed
15-relax-popup-position-tests-with-newer-vim.patch Relax assert of popup pos tests failing with newer vim After no activity for more than a year and vim upstream tests
relying on this behaviour now it seems unlikely it will be
reverted in vim upstream. As such, YCM will have to adapt.
.
Upstream tests with a specific version and will just change the
tests accordingly as needed as usual, so forwarding is pointless.
We could do that as well, but to avoid a transition complicating
hard-dependency on a specific vim version, we just accept both
(also, as usual).
.
Closes: #1091729
David Kalnischkies <donkult@debian.org> not-needed upstream

All known versions for source package 'vim-youcompleteme'

Links