Curating a remote repository
Choose what a remote repository delivers of its upstream, ask for a package that is missing, and read why a client was refused.
On this page
What a remote repository delivers
- Who
- Maintainers and Owners of the project and administrators set rules; whoever may read the repository asks
- Formats
- npm, NuGet, OCI, Debian, Ansible Galaxy
Every remote repository has a delivery mode, set in the section Delivery of its settings by whoever may change its configuration (Managing repositories).
| Mode | A client gets |
|---|---|
| Everything except what is blocked (default) | every package and version of the upstream that no rule blocks |
| Only what is allowed | only what a rule allows; readers ask for the rest on the tab Upstream |
A rule allows or blocks a name pattern, a package with every version (future ones included), or one exact version. The narrowest rule decides; at equal width a block wins:
| Format | A name pattern |
|---|---|
| npm | @acme/*, a scope |
| NuGet | Contoso.*, an ID prefix |
| OCI | library/*, an image namespace |
| Ansible Galaxy | community.*, a namespace |
| Debian | lib* |
The rules apply before Quader fetches from the upstream, when it serves a stored file, and in the version lists a client resolves a range from, so a range resolves to the newest delivered version. A rule binds administrators too. Through a virtual repository a refused package counts as not found in that member.
Note
Allowing is not releasing. A version that the malware scan, the vulnerability block or the signature check refuses stays refused until an auditor releases it; the tab says which of them holds it back.
Warning
A Debian remote passes its upstream's signed indexes unchanged: APT lists every package and is refused only the download. A virtual repository over the remote shows a filtered index (Debian packages with APT).
Before Only what is allowed is saved, Quader names the stored packages no rule allows and offers, ticked, to allow them with every version, so they stay delivered. Back to Everything except what is blocked, every package no rule blocks is delivered again, and the allow rules stay.
The tab Upstream
- Who
- every signed-in reader of the repository
| Part | What it does |
|---|---|
| The line at the top | Names the mode; Change opens Delivery, Rules with their number opens the rule list |
| Search the upstream | Searches where the registry can (npm, NuGet, Ansible Galaxy, Docker Hub, Quay); a Debian remote searches the indexes Quader read, Names only matches names alone |
| Look up by exact name | Opens one package by its full name, the only way on ghcr.io and GitLab and for a package a search withholds |
| Levels | A Debian remote's suites and components; type an npm scope or a Docker Hub namespace to open it |
| A package's row | Newest version, state (Delivered, Allowed, Blocked, Not allowed, Requested) and Stored |
| An opened package | Its versions, newest first, 100 at a time: published, size, state, the deciding rule, the cache's state and the verdicts |
| What the registry tells | For npm, NuGet and Ansible Galaxy before a version is stored: deprecation, licence, links, README and Dependencies, read live and not kept; NuGet and Galaxy switch to an older version's README with the button beside its heading |
In a repository that delivers only what is allowed, a search shows only what is delivered and says how many hits it leaves out. The address keeps the search, so you can share the link. When the registry cannot be asked, the tab says why and until when.
npm tags
An npm tag such as latest or next names one version; it stands as a badge on that version's row, and Filter versions and npm
tags finds a version by it. An image's tags are its versions.
Ask for a package
- On the tab Upstream, look the package up by its exact name.
- Select Request for a version, or Request every version, and say why you need it.
- Follow the request under Your requests: Open, Allowed or Declined with the reason. Withdraw takes back an open one.
Quader usually downloads what you asked for at once, charged to your download budget, so it is scanned before anyone decides. It is delivered only once it is allowed.
Allow and block
- Who
- Maintainers and Owners of the project and administrators
| Control | What it does |
|---|---|
| Requests | Every open request with its notes, how often clients were refused, and what the examination found; Allow… writes a rule, Decline… takes a reason and discards what was fetched |
| A version's switch | On delivers the version. Quader writes a rule only where your choice differs from the package's, and removes it when you switch back |
| The package's switch | Decides every version without a setting of its own, future ones included; asks before it resets those |
| Limit versions… | Delivers a range: from a version on, up to one (included or below it), or between two |
| Rules | The repository's rules with their notes; adds a rule for a name pattern, removes rules |
Versions compare in the format's own order. A tag that names no version, such as an image's latest, lies outside every range:
switch it on in its row if your clients pull it. Downloading ahead and keeping a package in sync are on
Downloads into a remote's cache.
What your client shows when the rules refuse
The client gets 403 with the code not_allowed_in_repository and a text that names the package, the version, the repository, the
reason and where to ask. For example: left-pad any version is not allowed in web/npmjs: this repository delivers only what is allowed. Ask for it at https://quader.example.com/ui/projects/web/repositories/npmjs/upstream?name=left-pad.
The refusal is never cached, so an allow reaches every client within seconds, through a Bastion too. Measured on 2026-11-24:
| Client | Prints | Exit |
|---|---|---|
| npm 11 | npm error 403 403 Forbidden - GET <address> - <text> |
1 |
| .NET SDK 10 | warning : <text>, then error NU1301, after a retry of about 6 s |
1 |
| Docker 29 | Error response from daemon: error from registry: <text> |
1 |
| APT 3.0 | E: Failed to fetch <address> 403 Forbidden, without the reason |
100 |
| ansible-core 2.21 | [ERROR]: … (HTTP Code: 403, Message: <text> Code: not_allowed_in_repository) |
1 |
Through a virtual repository the client gets the first member's refusal only when no member serves the package. To get the version, open the address the text names and select Request.