Changes:
New API v3 (https://docs.repomanager.net/reference/api/)
- Single resource for curated repositories, local repositories and mirrors:
/repositories/<type>/<id>. - Create, edit, sync, rename, duplicate and delete repositories and mirrors, point and remove environments, rebuild snapshots metadata, with optional scheduling.
- Consistent responses (lowercase keys, HTTP status codes, standard error format with error codes) and pagination.
- Includes the routes used by the linupdate agent.
- API v2 is still available but deprecated.
API v2 fixes
- Pointing an environment always pointed
prodinstead of the specified environment. - Protected environments were not checked when pointing an environment or rebuilding a snapshot.
- Repositories and snapshots routes did not check the user view permissions.
Hosts
- Hosts can now have a description and tags, editable from the hosts list and the host page. They are included in the CSV export.
- New hosts search: a single input for free text, host attributes filters (
os=,env=,tag=,agent-status=...,!=to exclude) and installed packages (package=,version=), with suggestions. The search is kept in the page URL. - The registered IP of a host is now replaced by its main IP when the host no longer owns it (requires a linupdate version sending all the addresses of its interfaces).
- Hosts behind a NAT can send their public IP (linupdate
--behind-natand--public-ipparameters). It is displayed in the hosts list and on the host page. - All the addresses of each network interface are now displayed on the host page.
History
- Actions are now classified by category and can be filtered by category, user and status, or searched (action, user, IP address or changed value).
- The details of an action can now be displayed: changed values (before/after) for edits of repositories, mirrors, hosts, groups, host profiles, users, permissions and settings, and task parameters. Secret values are never stored.
Tasks queue
- Queued tasks no longer each wait in their own background process: they are started as soon as a slot is available, so that many tasks queued at once (e.g. scheduled at the same time) no longer leave as many processes running.
- The maximum number of simultaneous tasks can no longer be exceeded when several tasks start at the same time.
- After a restart, queued tasks are started again, and running tasks whose process has disappeared are marked as failed (and their parent task closed) instead of staying running forever.
Arch Linux
- New setting to enable or disable Arch Linux repositories (enabled by default).
- The repositories and architectures of an Arch Linux source repository can now be renamed and their description edited.
Other changes
- The GPG signing public key is now exported as
gpgkeys/repomanager.asc(the previousgpgkeys/<FQDN>.pubfile is kept). Repository installation commands and linupdate profile configuration now use the URL and hostname used to reach Repomanager instead of theFQDNsetting, and the deb legacy command no longer requiresgpg --dearmor. api-import-from-template.pynow uses API v3,--repository-typeis optional.- The schedule types allowed for each task are now also checked server side.
Fixes
- Deb: the generated
Releasefile could list itself in its own checksums, which made mirroring a Repomanager deb repository fail. - Various UI fixes and improvements