Skip to content

chore: drop dead on_complete, escape glob metachars, strict semver tags - #12

Merged
log0u7 merged 1 commit into
mainfrom
chore/cleanup-glob-release
Sep 20, 2026
Merged

log0u7 merged 1 commit into
mainfrom
chore/cleanup-glob-release

Conversation

@log0u7

@log0u7 log0u7 commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Summary

Three quality items from the audit (issue #11): remove the dead plugin_manager#async#on_complete (the 2.2.4 sweep claimed it, it survived), escape glob metachars in the remove filesystem search, and enforce strict semver ^v[0-9]+\.[0-9]+\.[0-9]+$ on release tags (release.yml step + Makefile tag target).

Type of change

  • refactor
  • chore / ci
  • test

Related issue

Fixes #11

How was this tested?

  • make test-ci passes (209/209, +3 quality tests, written test-first)
  • make test-async passes (16/16)
  • Verified manually on Vim 9.1 / Ubuntu 24.04
  • New logic covered by a Vader test (red before: the glob matched and removed the unrelated plugin; on_complete existed)

Note: the semver Vader test pins the exact pattern shared by release.yml and the Makefile so the two cannot drift.

Checklist

  • Commits follow Conventional Commits (type(scope): subject)
  • README.md / doc/plugin_manager.txt / CHANGELOG.md updated if behavior changed
  • No new network call at startup (opt-in only, behind a g:plugin_manager_* flag defaulting to off)
  • Linux only, Vim 8.2 floor respected (no Vim 9+ features, guard v:version < 802 untouched)

- plugin_manager#async#on_complete: zero call sites; the 2.2.4 sweep
  already claimed its removal, it survived - deleted now (issue #11)
- remove: escape glob metachars in the fuzzy filesystem search so a
  metachar name can never match an unrelated plugin
- release: validate tags with ^v[0-9]+\.[0-9]+\.[0-9]+$ in release.yml
  (new step before archive) and the Makefile tag target (was: ^v only)

Closes #11
@log0u7
log0u7 merged commit 0538585 into main Sep 20, 2026
32 checks passed
@log0u7
log0u7 deleted the chore/cleanup-glob-release branch September 20, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quality: dead async#on_complete, unescaped glob metachars in remove search, weak release tag validation

1 participant