Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,13 @@ jobs:
exit 0
fi
cat > "$RUNNER_TEMP/notes.md" <<'NOTES'
macOS Subversion provider for a Lithe preview whose host declares API 3 vcsProviders 1 and serverProcess 1.
macOS Subversion provider for a Lithe preview whose host declares API 3 vcsProviders 1 and serverProcess 1 and offers structured plugin diagnostics (litheLogging 1). Stable Lithe 0.6.7 does not offer litheLogging 1 and cannot start this version; keep using 0.1.0 there.

Shows and commits the changes of Subversion working copies in Lithe's version control tool window: status, base diff, history, annotate, check-in, rollback, update, conflict resolution, and moves through svn. Requires Subversion 1.8+ and Node.js 20.3+, both user-provided.
Changes in 0.1.1:
- Structured diagnostics: the bundled Node SDK records failed provider requests as ERROR on the plugins/io.github.lithe-idea.svn-support/host channel of Lithe's log window, with a stable failure code. Background status and base-content successes are not logged.
- A recovered annotate history failure records one WARN degraded entry and still returns the annotation without commit messages. svn output, history XML, source, repository addresses and credentials never enter the log.

Requires Subversion 1.8+ and Node.js 20.3+, both user-provided. Not listed in Lithe Store yet; download the ZIP and install it from disk.

Preview status: automated Core integration and svn scenario checks pass; native installation and full UI acceptance are pending. Windows is not supported. Published ZIP bytes must not be replaced.
NOTES
Expand Down
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,31 @@ version control tool window show and commit the changes of Subversion working
copies in an open project: status, diff against the base, history, annotate,
check-in, rollback, update, conflict resolution, and moves through svn.

**0.1.0 is unreleased preview source.** There is no published release yet.
Automated tests run the package against the selected latest Lithe Core and a real `svn`
client in this repository's CI; native installation and full UI acceptance
are still pending.
**0.1.1 is a preview release.** Automated tests run the package against the
selected latest Lithe Core and a real `svn` client in this repository's CI;
native installation and full UI acceptance are still pending.

The plugin requires a Lithe preview whose host declares the `vcsProviders`
capability (API 3 `vcsProviders: 1` and `serverProcess: 1`). Older hosts
refuse to install it. Windows is not supported yet.
capability (API 3 `vcsProviders: 1` and `serverProcess: 1`) and offers
structured plugin diagnostics (`litheLogging: 1`). Older hosts refuse to
install it; stable Lithe 0.6.7 installs it but cannot start the provider, so
keep 0.1.0 there. Windows is not supported yet.

## Install

Install Subversion 1.8 or newer (for example `brew install subversion`) and
Node.js 20.3 or newer first. Node runs the provider; svn is not bundled and is
the client you already use, with its own configuration and credential cache.

Build `dist/svn-support-0.1.0-darwin.zip` with `node scripts/package.mjs`.
Download `svn-support-0.1.1-darwin.zip` from
[Releases](https://github.com/Lithe-IDEA/lithe-plugin-svn/releases), or build it
with `node scripts/package.mjs`.
In Lithe, choose Settings → Plugins → Install from Disk, select the ZIP,
review the provider command, the svn client and its network use, and
restart. Enable Subversion, then open a project that is, or contains, a
Subversion working copy. After a [Lithe Store](https://github.com/Lithe-IDEA/Lithe-store)
entry is merged, compatible preview builds can also install it from the plugin
marketplace.
Subversion working copy. 0.1.1 is not listed in
[Lithe Store](https://github.com/Lithe-IDEA/Lithe-store) yet: the Store cannot
tell stable hosts without `litheLogging: 1` apart, so install it from disk.

## How it works

Expand Down Expand Up @@ -79,7 +82,7 @@ branches/switch, relocate, and merge tracking.

## Diagnostic logs

This branch requires a host offering `litheLogging: 1`. The vendored official
Version 0.1.1 requires a host offering `litheLogging: 1`. The vendored official
Node SDK sends typed `lithe/log` notifications to the host's v2 catalog and
writer, in the current session's `plugins/io.github.lithe-idea.svn-support/host`
channel. Provider process and protocol facts remain in `vcs/svn`. The SDK owns each request's
Expand Down
2 changes: 1 addition & 1 deletion io.github.lithe-idea.svn-support/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schemaVersion": 2,
"id": "io.github.lithe-idea.svn-support",
"displayName": "Subversion",
"version": "0.1.0",
"version": "0.1.1",
"pluginAPIVersion": 3,
"requires": { "serverProcess": 1, "vcsProviders": 1 },
"vendor": { "id": "io.github.lithe-idea", "displayName": "Lithe Community", "signatureRequirement": "none" },
Expand Down
Loading