[PR #2791] [CLOSED] Support repositories with more than three slash-delimited parts #16249

Closed
opened 2026-04-16 05:22:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2791
Author: @andreasjansson
Created: 2/27/2024
Status: Closed

Base: mainHead: support-namespaced-repositories


📝 Commits (1)

  • a5fdfad Support repositories with more than three slash-delimited parts

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 server/modelpath.go (+1 -1)
📝 server/modelpath_test.go (+11 -0)

📄 Description

Some registries use URL schemes that have more than three slash-delimited parts. For example Google Artifact Registry has a format like us-central1-docker.pkg.dev/PROJECT/NAMESPACE/REPOSITORY. From Docker's and Ollama's point of view, NAMESPACE/REPOSITORY should all be treated as repository.


🔄 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/2791 **Author:** [@andreasjansson](https://github.com/andreasjansson) **Created:** 2/27/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `support-namespaced-repositories` --- ### 📝 Commits (1) - [`a5fdfad`](https://github.com/ollama/ollama/commit/a5fdfad6ff6b91bb4dcb8134638f6e0f4208289b) Support repositories with more than three slash-delimited parts ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/modelpath.go` (+1 -1) 📝 `server/modelpath_test.go` (+11 -0) </details> ### 📄 Description Some registries use URL schemes that have more than three slash-delimited parts. For example Google Artifact Registry has a format like `us-central1-docker.pkg.dev/PROJECT/NAMESPACE/REPOSITORY`. From Docker's and Ollama's point of view, `NAMESPACE/REPOSITORY` should all be treated as repository. --- <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-16 05:22:12 -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#16249