Skip to content

Commit 9a54fde

Browse files
chore(release): version packages
1 parent 55169a8 commit 9a54fde

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

.changeset/entrypoint-tilde-clone-target.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/app/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @prover-coder-ai/docker-git
22

3+
## 1.3.6
4+
5+
### Patch Changes
6+
7+
- [#414](https://github.com/ProverCoderAI/docker-git/pull/414) [`2e66e2e`](https://github.com/ProverCoderAI/docker-git/commit/2e66e2e12e568f6dd9184b6a15e4ce619d56540a) Thanks [@konard](https://github.com/konard)! - Fix `docker-git clone` leaving the workspace `app` folder empty when `TARGET_DIR`
8+
is a tilde path.
9+
10+
The generated entrypoint runs as `root` (sshd), so `$HOME` resolves to `/root`.
11+
When a `~`/`~/...` `TARGET_DIR` reached the entrypoint (e.g. via the `TARGET_DIR`
12+
env override), it was expanded against `$HOME`, resolving to `/root/app`. Because
13+
the auto-clone runs as `su - <sshUser>`, cloning into the root-owned `/root/app`
14+
failed with "permission denied", so the repository never landed in the prepared
15+
home and the workspace `app` folder stayed empty. The tilde is now expanded
16+
against the unprivileged user's home `/home/<sshUser>`, so the clone always lands
17+
in the dev-owned workspace.
18+
319
## 1.3.5
420

521
### Patch Changes

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prover-coder-ai/docker-git",
3-
"version": "1.3.5",
3+
"version": "1.3.6",
44
"description": "docker-git Bun and Gridland CLI plus browser frontend",
55
"main": "dist/src/docker-git/main.js",
66
"bin": {

0 commit comments

Comments
 (0)