RPM Configuration

OSA Proxy implementation

This page describes the current OSA Proxy implementation. The archived Java/Spring implementation is available in Archived Java/Spring implementation.

rpm:
  enabled: true
  repository:
    - name: rpm
      registry: https://mirror.stream.centos.org/10-stream/AppStream/x86_64/os
      scan-package: true
      work-mode: strict_wait

Example .repo file:

[osa-proxy]
name=OSA Proxy RPM
baseurl=https://osa-proxy.example.com/rpm/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
dnf makecache
dnf install curl

Component identification

With scan-package: true, the name, version (including epoch and release), and architecture come from the RPM header.

Distribution is inferred from the upstream path or version marker. It is omitted when signals are absent or contradictory.

Upstream 401, 403, 404, 410, 429, and 5xx responses to the header request are returned to the client unchanged; if upstream does not answer, the client receives 502 or 504. In other cases, for example when the header cannot be parsed, codescoring.block-on-codescoring-errors applies.

For upstreams that serve both package formats, use a combined Debian and RPM repository.

Was this page helpful?