- increase python line-length limit from 88 => 100. - gen_help_html: fix bug in "tag" case (tbl_count => tbl_contains) ref #15632 fix #18215 fix #18479 fix #20527 fix #20532 Co-authored-by: Ben Weedon <ben@weedon.email>
4.0 KiB
Maintaining the Neovim project
Notes on maintaining the Neovim project.
General guidelines
- Decide by cost-benefit
- Write down what was decided
- Constraints are good
- Use automation to solve problems
- Never break the API... but sometimes break the UI
Issue triage
In practice we haven't found a way to forecast more precisely than "next" and "after next". So there are usually one or two (at most) planned milestones:
- Next bugfix-release (1.0.x)
- Next feature-release (1.x.0)
The forecasting problem might be solved with an explicit priority system (like Bram's todo.txt). Meanwhile the Neovim priority system is defined by:
- PRs nearing completion.
- Issue labels. E.g. the
+planlabel increases the ticket's priority merely for having a plan written down: it is closer to completion than tickets without a plan. - Comment activity or new information.
Anything that isn't in the next milestone, and doesn't have a finished PR—is just not something you care very much about, by construction. Post-release you can review open issues, but chances are your next milestone is already getting full... :)
Release policy
Release "often", but not "early".
The (unreleased) master branch is the "early" channel; it should not be
released if it's not stable. High-risk changes may be merged to master if
the next release is not imminent.
For maintenance releases, create a release-x.y branch. If the current release
has a major bug:
- Fix the bug on
master. - Cherry-pick the fix to
release-x.y. - Cut a release from
release-x.y.- Run
./scripts/release.sh - Update (force-push) the remote
stabletag. - The CI job
will update the release assets and force-push to the
stabletag.
- Run
Release automation
Neovim automation includes a backport bot.
Trigger the action by labeling a PR with backport release-X.Y. See .github/workflows/backport.yml.
Third-party dependencies
These "bundled" dependencies can be updated by bumping their versions in cmake.deps/CMakeLists.txt.
Some can be auto-bumped by scripts/bump-deps.sh.
- LuaJIT
- Lua
- Luv
- gettext
- libiconv
- libtermkey
- libuv
- libvterm
- lua-compat
- msys2 (for mingw Windows build)
- Changes to mingw can break our mingw build.
- tree-sitter
- unibilium
Vendored dependencies
These dependencies are "vendored" (inlined), we must update the sources manually:
src/mpack/: libmpack- send improvements upstream!
src/xdiff/: xdiffsrc/cjson/: lua-cjsonsrc/nvim/lib/: Klibruntime/lua/vim/inspect.lua: inspect.luasrc/nvim/tui/terminfo_defs.h: terminfo definitions- Run
scripts/update_terminfo.shto update these definitions.
- Run
- treesitter parsers
Forks
We may maintain forks, if we are waiting on upstream changes: https://github.com/neovim/neovim/wiki/Deps