Commit Graph

2 Commits (41c8dec51c4717bdabd60486bd4df6cd999132cb)

Author SHA1 Message Date
OpenGnSys Support Team 7f325a4b67 repo: allow 128 IPs per repository
rise this artificial limit.
2024-09-10 12:05:05 +02:00
OpenGnSys Support Team 5eba9f4e1b rest: allow repository to have more than one IP address
Repository can have more than one single IP address.

* Add alias field to database to represent the extra IPs that are attached to
  the repository, update schema and add version 9.
* Use og_dbi_get_repository_ip() to infer the repository IP address.
* Add helper functions (src/repo.c) to build a list of repositories and update
  rest API to use it.
2024-08-21 21:58:48 +02:00