Skip to content

Commit e4defcb

Browse files
authored
Merge pull request #1092 - v0.0.9 Release Patch: Git clone change to HTTPS from SSH, get_data change, LFS changes
v0.0.9 Release Patch: Git clone change to HTTPS from SSH, get_data change, LFS changes
2 parents 3b46344 + 827f5a7 commit e4defcb

6 files changed

Lines changed: 17 additions & 12 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ Option 2: Run without installing
9999
uvx --from 'dimos[base,unitree]' dimos --replay run unitree-go2
100100
```
101101

102-
<!-- command for testing pre launch: `GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" uv pip install 'dimos[unitree] @ git+ssh://git@github.com/dimensionalOS/dimos.git@dev'` -->
103-
104102
### Test Installation
105103

106104
#### Control a robot in a simulation (no robot required)

README_installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Clone the repo:
66

77
```bash
8-
git clone -b main --single-branch git@github.com:dimensionalOS/dimos.git
8+
git clone -b main --single-branch https://github.com/dimensionalOS/dimos.git
99
cd dimos
1010
```
1111

dimos/utils/data.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from pathlib import Path
1818
import platform
1919
import subprocess
20+
import sys
2021
import tarfile
2122
import tempfile
2223

@@ -29,6 +30,13 @@
2930
def _get_user_data_dir() -> Path:
3031
"""Get platform-specific user data directory."""
3132
system = platform.system()
33+
# if virtual env is available, use it to keep venv's from fighting over data
34+
# a better fix for large files will be added later to minimize storage duplication
35+
if os.environ.get("VIRTUAL_ENV"):
36+
venv_data_dir = Path(
37+
f"{os.environ.get('VIRTUAL_ENV')}/lib/python{sys.version_info.major}.{sys.version_info.minor}/site-packages/dimos/data"
38+
)
39+
return venv_data_dir
3240

3341
if system == "Linux":
3442
# Use XDG_DATA_HOME if set, otherwise default to ~/.local/share
@@ -78,9 +86,8 @@ def _get_repo_root() -> Path:
7886
"--depth",
7987
"1",
8088
"--branch",
81-
# TODO: Use "main",
82-
"dev",
83-
"git@github.com:dimensionalOS/dimos.git",
89+
"main",
90+
"https://github.com/dimensionalOS/dimos.git",
8491
str(repo_dir),
8592
],
8693
check=True,
@@ -91,7 +98,7 @@ def _get_repo_root() -> Path:
9198
except subprocess.CalledProcessError as e:
9299
raise RuntimeError(
93100
f"Failed to clone dimos repository: {e.stderr}\n"
94-
f"Make sure you have access to git@github.com:dimensionalOS/dimos.git"
101+
f"Make sure you can access https://github.com/dimensionalOS/dimos.git"
95102
)
96103

97104
return repo_dir

docs/development/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH="$HOME/.local/bin
4343

4444
# this allows getting large files on-demand
4545
export GIT_LFS_SKIP_SMUDGE=1
46-
git clone -b dev git@github.com:dimensionalOS/dimos.git
46+
git clone -b dev https://github.com/dimensionalOS/dimos.git
4747
cd dimos
4848

4949

@@ -155,7 +155,7 @@ mkdir -p "$HOME/.config/nix"; echo "experimental-features = nix-command flakes"
155155

156156
# this allows getting large files on-demand
157157
export GIT_LFS_SKIP_SMUDGE=1
158-
git clone -b dev git@github.com:dimensionalOS/dimos.git
158+
git clone -b dev https://github.com/dimensionalOS/dimos.git
159159
cd dimos
160160

161161
# activate the nix .envrc
@@ -194,7 +194,7 @@ mkdir -p "$HOME/.config/nix"; echo "experimental-features = nix-command flakes"
194194

195195
# this allows getting large files on-demand
196196
export GIT_LFS_SKIP_SMUDGE=1
197-
git clone -b dev git@github.com:dimensionalOS/dimos.git
197+
git clone -b dev https://github.com/dimensionalOS/dimos.git
198198
cd dimos
199199

200200
# activate the nix development shell

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ name = "dimos"
2323
authors = [
2424
{name = "Dimensional Team", email = "build@dimensionalOS.com"},
2525
]
26-
version = "0.0.8"
26+
version = "0.0.9"
2727
description = "Powering agentive generalist robotics"
2828
requires-python = ">=3.10"
2929
readme = "README.md"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)