Repositories
Find a repository, read what it holds and how your client reaches it, and see what each class lets you do.
On this page
Repository classes
A repository is local, remote or virtual; the class is chosen when it is created and never changes.
| Class | Holds | You |
|---|---|---|
| Local | What your teams publish or upload | Read; publish or upload with the permission |
| Remote | A cache of an upstream registry, filled when a client first asks | Read; Quader fetches for you and serves the cache while the upstream is down |
| Virtual | Nothing of its own: its members, in an order an administrator sets | Read through one address; a publish goes to its deployment target, a local member |
| Format | A local repository refuses |
|---|---|
| npm, NuGet | A version number that was published or deleted before; NuGet accepts the identical package again |
| Debian | Other bytes for the same package, version and architecture; the same bytes only add suites and components |
| Generic | Nothing: other bytes at a path replace the file, for holders of the overwrite permission |
A remote no longer serves a version its upstream withdrew, unless an administrator chose otherwise. Through a virtual repository you read only the members you may read; a name a local member claims is served only from it, so a public package never replaces an internal one. Managing repositories has the settings of each class.
The project Upstream
The built-in project Upstream, first in the list of projects, holds the public registries Quader offers to every project, such as
upstream/npmjs and upstream/docker-hub. You see those an administrator switched on whose level admits you, and use them like any
remote repository; a virtual repository skips one until it is switched on.
System repositories, closed below the registries, holds scanner-trivy and clamav, the databases of Quader's scanners. They
are always Private, offer no Set up client, and answer 404 to every client.
Keys and addresses
A repository is named by its project's key and its own: web/npm-internal. Its key is unique within the project, never renamed, 2 to
64 lower-case letters and digits, separated by ., _, __ or any number of -, starting and ending with a letter or digit.
| Format | Address for your client | Raw files |
|---|---|---|
| npm | https://quader.example.com/api/npm/<project>/<key>/ |
/files/<project>/<key>/ |
| NuGet | https://quader.example.com/api/nuget/<project>/<key>/v3/index.json |
/files/<project>/<key>/ |
| OCI | quader.example.com/<project>/<key>/<image>:<tag> |
/files/<project>/<key>/, download and delete |
| Debian | https://quader.example.com/api/deb/<project>/<key>/ with a suite |
/files/<project>/<key>/, download and delete |
| Ansible | https://quader.example.com/api/ansible/<project>/<key>/ |
none |
| Generic | https://quader.example.com/files/<project>/<key>/ |
the same |
Set up client shows the address with this installation's host and your client's configuration
(Connecting a package client). A repository moved to another project changes its address; the old one
answers 404.
What you see
Quader shows only what you may read: any other repository is listed nowhere and answers 404, or 403 where an administrator chose not
to hide it.
| What you hold | What you see and do |
|---|---|
| A role in the project | Reader reads, Developer also publishes, Maintainer and Owner also replace, delete and manage (Projects) |
| A grant on a repository | Read, deploy, overwrite or delete on the paths and packages it names |
| Only the level | Internal admits everyone signed in but external users, Public everyone; the level's icon stands before the name |
| Nothing, without signing in | Public projects and repositories, read only |
A repository's wiki, its README and documentation, can have a lower level than the repository, so a package may install and show no README. Ask an Owner of the project for what you miss.
The content of a repository
Open a repository from the project's Repositories, from Your work › Repositories, or through the search.
| Part | What it does |
|---|---|
| Set up client | The address and your client's configuration; not on a disabled or a system repository |
| Settings | The repository's settings, or its facts if you may use it but not read its configuration |
| More actions | Files, the raw files (Files), and Vulnerabilities |
| The list | Images, Packages or Files with a filter; a row opens on its ten newest versions, highest first, and All N versions |
| Pull, Install, Download | The command for that version, a tab per client, without credentials (The command of a version) |
| Upstream, Downloads | A remote's tabs: what the upstream offers and what this repository delivers (Curating a remote repository) |
| Details | The other addresses with copy buttons, what a remote caches, what a virtual repository resolves from |
An image's row is one image with all its tags (5.4.7 · 5.4 · 5 · latest). A remote lists only what clients or a mirror fetched;
a virtual repository lists what its members hold. The Vulnerabilities column shows the grade
and the open findings; sorting by it loads up to 1,000 entries. An empty repository says who fills it.
Distribute a repository through a Bastion
- Who
- the project's Owner, or the permission to write repository configuration
A Bastion serves chosen repositories to the internet or a partner. Settings › Visibility › Bastions lists the Bastions an administrator allowed for the project: tick them and Save changes. The page says what each one sends out beyond the level. Readers see a tower beside the repository's level, which names the Bastion and its address (Bastion).
Guides
Guides in the side bar and the user menu shows a tile per package type. A tile lists the repositories of that type you may use,
each with Set up client, and the guide of each kind of repository for when you have none yet. A guide never contains a token: its snippets
read QUADER_TOKEN from the environment.