Comments (3)
I'm really torn on this one. Lots of registries have various restrictions, like character restrictions on user names, that impact the repository name in a way I don't think we want to include in the spec. And yet this is a limit that has existed for at least 9 years in a widely copied and imported implementation of the "reference".
Are there technical reasons that we need to limit this to 255? Is there a risk that registries will come along in the future and want a larger limit?
I feel like the safest option is to allow clients to send request for any length of repository, and registries can implement individual limits. That makes it easier for the registry to increase that limit in the future without requiring every client to upgrade.
from distribution-spec.
Perhaps some advisory text about 255 being a good limit for clients/content producers if they want maximum compatibility/portability, similar to the 4MiB maximum suggestion?
(ie, for registries that want to implement a limit, it should not be LESS than 255, or something like that?)
from distribution-spec.
Perhaps an implementers note for registries. They should avoid allowing repositories plus a hostname more than 255 characters long to support older clients. And clients should avoid length limits to support future registries.
from distribution-spec.
Related Issues (20)
- Impossible to view test details in conformance test GUI
- Proposal: Cross repo referrers HOT 7
- Add digest/etag header to referrers response
- Update language on client side referrer list generation to mention replace HOT 2
- Add `PUT` method support for `/referrers` endpoint HOT 2
- Proposal: Extend Referrer API to image layer blob HOT 1
- Question regarding refferres API conformance tests for push HOT 1
- Debug mode cannot be turned off for conformance test HOT 1
- Conformance teardown test deleteManifestBeforeBlobs should allow return 400 when delete by tag is disallowed by registry HOT 1
- [conformance] Allow 404 on tag list for management test
- [![](https://github.com/<org>/<repo>/workflows/oci-distribution-conformance/badge.svg)](https://github.com/<org>/<repo>/actions?query=workflow%3Aoci-distribution-conformance)
- Idea: GoLang specs for V2 new media types like `application/vnd.docker.distribution.manifest.v2+json` HOT 3
- Proposal: Limit the maximum number of lists returned by the tags list API HOT 2
- performance: what can dist-spec do to improve downloads of large images/layers? HOT 7
- Teardown Tests Should Accept 404 Response for Blob Deletion HOT 2
- Proposal: Allow listing tags in reverse lexical order HOT 1
- performance: consider relaxing chunks should be in order for patched uploads HOT 9
- Proposal: refactor conformance tests HOT 9
- proposal: tighten digest verification requirements for clients HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distribution-spec.