v0.0.9 Release Patch: Git clone change to HTTPS from SSH, get_data change, LFS changes#1092
Merged
spomichter merged 3 commits intomainfrom Jan 23, 2026
Merged
v0.0.9 Release Patch: Git clone change to HTTPS from SSH, get_data change, LFS changes#1092spomichter merged 3 commits intomainfrom
spomichter merged 3 commits intomainfrom
Conversation
* add minimal fix for large files not updating * add path
…to main branch (#1091) * Change ssh to https git * Change get data to https
paul-nechifor
previously approved these changes
Jan 23, 2026
Contributor
Greptile OverviewGreptile SummaryThis patch release addresses two critical deployment issues: switching from SSH to HTTPS for git clone operations and updating the default branch from Key Changes:
Impact:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant get_data
participant _get_user_data_dir
participant _get_repo_root
participant Git
User->>get_data: Request data file
get_data->>_get_repo_root: Get repository location
alt Running from git repo
_get_repo_root-->>get_data: Return DIMOS_PROJECT_ROOT
else Running as installed package
_get_repo_root->>_get_user_data_dir: Get data directory
alt VIRTUAL_ENV set
_get_user_data_dir-->>_get_repo_root: venv/lib/python3.x/site-packages/dimos/data
else Platform-specific paths
alt Linux
_get_user_data_dir-->>_get_repo_root: ~/.local/share/dimos
else macOS
_get_user_data_dir-->>_get_repo_root: ~/Library/Application Support/dimos
else Other
_get_user_data_dir-->>_get_repo_root: ~/.dimos
end
end
alt Repository not cloned
_get_repo_root->>Git: git clone --branch main https://github.com/dimensionalOS/dimos.git
Git-->>_get_repo_root: Clone complete
end
_get_repo_root-->>get_data: Return repo_dir
end
alt File exists
get_data-->>User: Return file path
else File needs LFS pull
get_data->>Git: git lfs pull
Git-->>get_data: File downloaded
get_data-->>User: Decompress and return path
end
|
Comment on lines
+35
to
+39
| if os.environ.get("VIRTUAL_ENV"): | ||
| venv_data_dir = Path( | ||
| f"{os.environ.get('VIRTUAL_ENV')}/lib/python{sys.version_info.major}.{sys.version_info.minor}/site-packages/dimos/data" | ||
| ) | ||
| return venv_data_dir |
Contributor
There was a problem hiding this comment.
Hardcoded path structure assumes Linux/Unix layout. Consider using site.getsitepackages() or sysconfig.get_path('purelib') for more reliable cross-platform venv detection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.