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
10 changes: 0 additions & 10 deletions .changeset/global-host-channel.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/host-push.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/token-lock.md

This file was deleted.

20 changes: 20 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# gcb-client

## 0.9.0

### Minor Changes

- [#142](https://github.com/code-vaults/git-credential-broker/pull/142) [`d26ea16`](https://github.com/code-vaults/git-credential-broker/commit/d26ea16a5c0df22e4865ee3947009a3be1266297) Thanks [@i1stG](https://github.com/i1stG)! - Allow host-broker requests made outside a checkout to use the shared
`~/.gcb-host/channel`; they still require an explicit `--repo` and the same allowlist and account
checks. The channel is a pre-created, host-owned 0700 directory; the broker validates it and does
not create or chmod it.

- [#136](https://github.com/code-vaults/git-credential-broker/pull/136) [`bcc1373`](https://github.com/code-vaults/git-credential-broker/commit/bcc1373cedabeca2d267bd07ab85db15e98895a2) Thanks [@JounQin](https://github.com/JounQin)! - Add `gcb push` (explicit host-executed push; a deliberate exception to native Git): the host broker pushes an exact commit with its own gh account, or its SSH
agent/key when the selected remote uses SSH. A destination fork is allowed when `allowForkPush` verifies its parent/source against the allowlist;
the command takes a git-style remote and branch, and the request carries the repository, remote,
branch, exact commit, optional force/lease expectation, account and proxy; `--force` and `--force-with-lease` are explicit. Other push arguments are not passed through; no token or container-controlled remote URL enters the host push.
The container runs its own `pre-push` hook; the host never runs container-owned hooks.

### Patch Changes

- Updated dependencies [[`d26ea16`](https://github.com/code-vaults/git-credential-broker/commit/d26ea16a5c0df22e4865ee3947009a3be1266297), [`bcc1373`](https://github.com/code-vaults/git-credential-broker/commit/bcc1373cedabeca2d267bd07ab85db15e98895a2)]:
- gcb-core@0.9.0

## 0.8.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcb-client",
"version": "0.8.1",
"version": "0.9.0",
"type": "module",
"description": "Container-side gcb client: credential helper, setup, and socket-backed commands.",
"repository": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"prepack": "clean-pkg-json"
},
"dependencies": {
"gcb-core": "0.8.1"
"gcb-core": "0.9.0"
},
"publishConfig": {
"access": "public",
Expand Down
15 changes: 15 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# gcb-core

## 0.9.0

### Minor Changes

- [#142](https://github.com/code-vaults/git-credential-broker/pull/142) [`d26ea16`](https://github.com/code-vaults/git-credential-broker/commit/d26ea16a5c0df22e4865ee3947009a3be1266297) Thanks [@i1stG](https://github.com/i1stG)! - Allow host-broker requests made outside a checkout to use the shared
`~/.gcb-host/channel`; they still require an explicit `--repo` and the same allowlist and account
checks. The channel is a pre-created, host-owned 0700 directory; the broker validates it and does
not create or chmod it.

- [#136](https://github.com/code-vaults/git-credential-broker/pull/136) [`bcc1373`](https://github.com/code-vaults/git-credential-broker/commit/bcc1373cedabeca2d267bd07ab85db15e98895a2) Thanks [@JounQin](https://github.com/JounQin)! - Add `gcb push` (explicit host-executed push; a deliberate exception to native Git): the host broker pushes an exact commit with its own gh account, or its SSH
agent/key when the selected remote uses SSH. A destination fork is allowed when `allowForkPush` verifies its parent/source against the allowlist;
the command takes a git-style remote and branch, and the request carries the repository, remote,
branch, exact commit, optional force/lease expectation, account and proxy; `--force` and `--force-with-lease` are explicit. Other push arguments are not passed through; no token or container-controlled remote URL enters the host push.
The container runs its own `pre-push` hook; the host never runs container-owned hooks.

## 0.8.1

No changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcb-core",
"version": "0.8.1",
"version": "0.9.0",
"type": "module",
"description": "Shared command runtime and protocol for gcb-client and gcb-host.",
"repository": {
Expand Down
23 changes: 23 additions & 0 deletions packages/host/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# gcb-host

## 0.9.0

### Minor Changes

- [#142](https://github.com/code-vaults/git-credential-broker/pull/142) [`d26ea16`](https://github.com/code-vaults/git-credential-broker/commit/d26ea16a5c0df22e4865ee3947009a3be1266297) Thanks [@i1stG](https://github.com/i1stG)! - Allow host-broker requests made outside a checkout to use the shared
`~/.gcb-host/channel`; they still require an explicit `--repo` and the same allowlist and account
checks. The channel is a pre-created, host-owned 0700 directory; the broker validates it and does
not create or chmod it.

- [#136](https://github.com/code-vaults/git-credential-broker/pull/136) [`bcc1373`](https://github.com/code-vaults/git-credential-broker/commit/bcc1373cedabeca2d267bd07ab85db15e98895a2) Thanks [@JounQin](https://github.com/JounQin)! - Add `gcb push` (explicit host-executed push; a deliberate exception to native Git): the host broker pushes an exact commit with its own gh account, or its SSH
agent/key when the selected remote uses SSH. A destination fork is allowed when `allowForkPush` verifies its parent/source against the allowlist;
the command takes a git-style remote and branch, and the request carries the repository, remote,
branch, exact commit, optional force/lease expectation, account and proxy; `--force` and `--force-with-lease` are explicit. Other push arguments are not passed through; no token or container-controlled remote URL enters the host push.
The container runs its own `pre-push` hook; the host never runs container-owned hooks.

- [#144](https://github.com/code-vaults/git-credential-broker/pull/144) [`e55194f`](https://github.com/code-vaults/git-credential-broker/commit/e55194f7a09fe64edf08f20c4cfff9afa7b13326) Thanks [@JounQin](https://github.com/JounQin)! - Serialize refresh-token renewal and `gcb authorize` with a shared `user.refresh.lock` directory, and
replace the token under the lock. Re-authorizing a running sidecar no longer requires stopping it.

### Patch Changes

- Updated dependencies [[`d26ea16`](https://github.com/code-vaults/git-credential-broker/commit/d26ea16a5c0df22e4865ee3947009a3be1266297), [`bcc1373`](https://github.com/code-vaults/git-credential-broker/commit/bcc1373cedabeca2d267bd07ab85db15e98895a2)]:
- gcb-core@0.9.0

## 0.8.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/host/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcb-host",
"version": "0.8.1",
"version": "0.9.0",
"type": "module",
"description": "Host-side gcb broker, configuration, providers and administration commands.",
"repository": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"prepack": "clean-pkg-json"
},
"dependencies": {
"gcb-core": "0.8.1",
"gcb-core": "0.9.0",
"node-fetch-native": "^1.6.7",
"x-fetch": "^0.3.0",
"yaml": "^2.9.1"
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2716,13 +2716,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "gcb-client@workspace:packages/client"
dependencies:
gcb-core: "npm:0.8.1"
gcb-core: "npm:0.9.0"
bin:
gcb: ./bin/gcb.js
languageName: unknown
linkType: soft

"gcb-core@npm:0.8.1, gcb-core@workspace:packages/core":
"gcb-core@npm:0.9.0, gcb-core@workspace:packages/core":
version: 0.0.0-use.local
resolution: "gcb-core@workspace:packages/core"
languageName: unknown
Expand All @@ -2732,7 +2732,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "gcb-host@workspace:packages/host"
dependencies:
gcb-core: "npm:0.8.1"
gcb-core: "npm:0.9.0"
node-fetch-native: "npm:^1.6.7"
x-fetch: "npm:^0.3.0"
yaml: "npm:^2.9.1"
Expand Down