[PR #8380] [MERGED] make the modelfile path relative for ollama create #12696

Closed
opened 2026-04-13 00:07:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8380
Author: @pdevine
Created: 1/10/2025
Status: Merged
Merged: 1/11/2025
Merged by: @pdevine

Base: mainHead: pdevine/create-fixes


📝 Commits (2)

  • 6994cba make the modelfile path relative for ollama create
  • ba30f39 cleanup

📊 Changes

5 files changed (+155 additions, -25 deletions)

View changed files

📝 cmd/cmd.go (+3 -4)
📝 cmd/cmd_test.go (+129 -2)
📝 parser/expandpath_test.go (+13 -11)
📝 parser/parser.go (+8 -6)
📝 parser/parser_test.go (+2 -2)

📄 Description

Fixes #8353


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/8380 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 1/10/2025 **Status:** ✅ Merged **Merged:** 1/11/2025 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `pdevine/create-fixes` --- ### 📝 Commits (2) - [`6994cba`](https://github.com/ollama/ollama/commit/6994cbae6ac47f0ce993a68532cedb5411b4111e) make the modelfile path relative for `ollama create` - [`ba30f39`](https://github.com/ollama/ollama/commit/ba30f395604d344b2604cfac2e45efb357b110d4) cleanup ### 📊 Changes **5 files changed** (+155 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+3 -4) 📝 `cmd/cmd_test.go` (+129 -2) 📝 `parser/expandpath_test.go` (+13 -11) 📝 `parser/parser.go` (+8 -6) 📝 `parser/parser_test.go` (+2 -2) </details> ### 📄 Description Fixes #8353 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:07:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#12696