OXYGENHUB

0.11.2: signing in works from the Marketplace 85a87a2d7d5b

OxygenHub VCS depends on Oxygen VCS as oxygenhub.oxygen-vscode, the id
the Marketplace has; 0.11.1 named one it does not, so the dependency
could not be met. If Oxygen VCS fails to start, OxygenHub starts anyway,
so Sign In and the hub views still work.
Author
Andy McCall @andymccall <[email protected]>
When
· 2026-09-30 19:06 UTC
Signature
✔ signed by Andy McCall
Hash
85a87a2d7d5b58b2bf802d71a022daebe47c9e5c5fd55b9f47e6d288303abf49
Depends on
092b8bf9f2ac 486c15b00314 d41ae0fdfae6 d8ac8f93fd34 e04950748142 f0b06deac4b9
Depended on by
d21a85954a34
In bookmarks
main
In tags
v0.11.2 v0.13.0
Edits
10 atoms, 0 tree operations, 4 files

Browse the tree at this change

modified CHANGELOG.md +4 −0
1 1
# Changelog
2 2
3 +
## 0.11.2 (2026-09-30)
4 +
5 +
- **Signing in works from the Marketplace.** It depends on Oxygen VCS as `oxygenhub.oxygen-vscode`, the id the Marketplace has (0.11.1 named one it does not). If Oxygen VCS fails to start, OxygenHub now starts anyway, so Sign In and the hub views still work.
6 +
3 7
## 0.11.1 (2026-09-30)
4 8
5 9
- **OxygenHub VCS.** The display name matches Oxygen VCS beside it (the Marketplace already has an "OxygenHub"). The id, commands and settings are unchanged.
…
91 unchanged lines
modified README.md +2 −2
1 1
# OxygenHub for Visual Studio Code
2 2
3 -
Proposals, reviews, issues, releases and checks from an OxygenHub, in the editor. It builds on the Oxygen VCS extension (`oxygenhub.oxygen`) the way the GitHub Pull Requests extension builds on the built-in Git extension. The specification is `docs/spec.md` in this repository.
3 +
Proposals, reviews, issues, releases and checks from an OxygenHub, in the editor. It builds on the Oxygen VCS extension (`oxygenhub.oxygen-vscode`) the way the GitHub Pull Requests extension builds on the built-in Git extension. The specification is `docs/spec.md` in this repository.
4 4
5 5
## Requirements
6 6
7 7
- Visual Studio Code 1.137 or later.
8 -
- The **Oxygen** extension (`oxygenhub.oxygen`), which this one depends on, and `oxy` on your PATH.
8 +
- The **Oxygen** extension (`oxygenhub.oxygen-vscode`), which this one depends on, and `oxy` on your PATH.
9 9
- An account on an OxygenHub, and a personal access token from it (Settings › Tokens on the hub). `repo:write` covers everything here; `repo:read` is enough to browse.
10 10
11 11
## Getting started
…
69 unchanged lines
modified package.json +2 −2
…
1 unchanged lines
2 2
  "name": "oxygenhub",
3 3
  "displayName": "OxygenHub VCS",
4 4
  "description": "Proposals, reviews, issues and checks from an OxygenHub, in the editor. Builds on the Oxygen extension.",
5 -
  "version": "0.11.1",
5 +
  "version": "0.11.2",
6 6
  "publisher": "oxygenhub",
7 7
  "author": {
8 8
    "name": "OxygenHub.io",
…
24 unchanged lines
33 33
    "issues"
34 34
  ],
35 35
  "extensionDependencies": [
36 -
    "oxygenhub.oxygen"
36 +
    "oxygenhub.oxygen-vscode"
37 37
  ],
38 38
  "activationEvents": [
39 39
    "workspaceContains:.oxy/format",
…
527 unchanged lines
modified src/extension.ts +9 −3
…
33 unchanged lines
34 34
  await auth.load();
35 35
  context.subscriptions.push(auth);
36 36
37 -
  const ext = vscode.extensions.getExtension<OxygenAPI>("oxygenhub.oxygen");
38 -
  oxygen = ext ? ((await ext.activate()) as OxygenAPI | undefined) : undefined;
37 +
  // Oxygen VCS may be missing or fail to start (two copies of it installed
38 +
  // at once): OxygenHub still starts, so signing in and the hub views work.
39 +
  const ext = vscode.extensions.getExtension<OxygenAPI>("oxygenhub.oxygen-vscode");
40 +
  try {
41 +
    oxygen = ext ? ((await ext.activate()) as OxygenAPI | undefined) : undefined;
42 +
  } catch {
43 +
    oxygen = undefined;
44 +
  }
39 45
  if (!oxygen) {
40 -
    void vscode.window.showWarningMessage("OxygenHub: the Oxygen VCS extension is not available; install oxygenhub.oxygen 0.17.0 or later.");
46 +
    void vscode.window.showWarningMessage("OxygenHub: the Oxygen VCS extension is not available; install Oxygen VCS (oxygenhub.oxygen-vscode) 0.17.1 or later, and only one copy of it.");
41 47
  } else {
42 48
    context.subscriptions.push(oxygen.registerRemoteProvider(makeProvider({ bases: () => auth.bases() })));
43 49
    context.subscriptions.push(oxygen.onDidChangeRepositories(() => refreshAll()));
…
399 unchanged lines