Dynamic update of the Manjaro Linux mirror pool datafile #198

Closed
opened 2025-06-15 11:05:24 +00:00 by fhdk · 7 comments
fhdk commented 2025-06-15 11:05:24 +00:00 (Migrated from gitlab2.manjaro.org)

Manjaro Linux uses a dynamic mirror pool dataset provided in .json format.

See the repo https://gitlab.manjaro.org/web/manjaro-web-repo for details

The initial mirrors.json file is provided with the pacman-mirrors package and stored in /usr/share/pacman-mirrors folder.

Due the the dynamic state of the Manjaro Linux mirror pool, the ´pacman-mirrors´ application will update this file when the file has changed.

A single user has suggested (using forum PM) to move the file to /var/lib/pacman-mirrors to fit into the user's practice of mounting /usr-tree as read-only.

@all

Manjaro Linux uses a dynamic mirror pool dataset provided in .json format. See the repo https://gitlab.manjaro.org/web/manjaro-web-repo for details The initial `mirrors.json` file is provided with the pacman-mirrors package and stored in `/usr/share/pacman-mirrors` folder. Due the the dynamic state of the Manjaro Linux mirror pool, the ´pacman-mirrors´ application will update this file when the file has changed. A single user has suggested (using forum PM) to move the file to `/var/lib/pacman-mirrors` to fit into the user's practice of mounting `/usr`-tree as read-only. @all
fhdk commented 2025-06-15 12:22:46 +00:00 (Migrated from gitlab2.manjaro.org)

changed the description

changed the description
fhdk commented 2025-06-15 12:24:02 +00:00 (Migrated from gitlab2.manjaro.org)

changed the description

changed the description
fhdk commented 2025-06-15 12:42:06 +00:00 (Migrated from gitlab2.manjaro.org)

I am not entirely against it - but the current approach was decided a long time ago and has worked without issues since.

The logic behind the original choice is to avoid frequent rebuilds of the pacman-mirrors package while at the same time keep the system's mirror pool up-to-date.

The chosen compromise ensured the current state of the Manjaro Linux mirror pool is reflected correct to any and all system's with internet access.

I am not entirely against it - but the current approach was decided a long time ago and has worked without issues since. The logic behind the original choice is to avoid frequent rebuilds of the `pacman-mirrors` package while at the same time keep the system's mirror pool up-to-date. The chosen compromise ensured the current state of the Manjaro Linux mirror pool is reflected correct to any and all system's with internet access.
fhdk commented 2025-06-15 15:17:00 +00:00 (Migrated from gitlab2.manjaro.org)
created branch [`198-dynamic-update-of-the-manjaro-linux-mirror-pool-datafile`](/applications/pacman-mirrors/-/compare/master...198-dynamic-update-of-the-manjaro-linux-mirror-pool-datafile) to address this issue
fhdk commented 2025-06-15 15:24:42 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in merge request !355

mentioned in merge request !355
fhdk commented 2025-06-16 04:36:19 +00:00 (Migrated from gitlab2.manjaro.org)

changed the description

changed the description
fhdk commented 2025-06-17 08:58:33 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in commit 621f124a4f

mentioned in commit 621f124a4ff323f0db6c6b317e7f0952b8d4bfcd
fhdk (Migrated from gitlab2.manjaro.org) closed this issue 2025-06-17 08:58:34 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
applications/pacman-mirrors#198
No description provided.