installable through a Package Control channel

repository.json describes vDiff itself; "tags": true means a release is a
pushed git tag. channel.json is the file users add to their "channels"
setting - it holds nothing but repository URLs, so packages added to it
later reach existing users without them changing anything.

The two are easy to confuse: Package Control rejects a file under
"channels" unless it has a top-level "repositories" key, so a repository
file belongs in "repositories". The README spells that out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vaclav Tvrdik
2026-09-26 22:50:27 +02:00
parent 725d04aeed
commit e24922828c
4 changed files with 117 additions and 3 deletions

21
repository.json Normal file
View File

@@ -0,0 +1,21 @@
{
"$schema": "sublime://packagecontrol.io/schemas/repository",
"schema_version": "4.0.0",
"packages": [
{
"name": "vDiff",
"details": "https://github.com/vaclavt/vdiff",
"description": "Review uncommitted changes and commits in Sublime Text: whole files with deletions in red and insertions in green, in the file's own syntax highlighting",
"author": "vaclavt",
"labels": ["git", "diff", "review", "vcs"],
"releases": [
{
"sublime_text": ">=4213",
"platforms": ["*"],
"python_versions": ["3.14"],
"tags": true
}
]
}
]
}