From 637918b5a53aad6bb9b427e95ef680e3e82a8c38 Mon Sep 17 00:00:00 2001 From: Miriam Date: Sun, 26 Jul 2026 12:28:34 +0200 Subject: [PATCH 1/2] feat(documentation): improve documentatio for real data imports; geo is under arch maintainer control and better suited as default --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4263beeb..e47af6f1 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,19 @@ probably want the following: uv run ./manage.py runserver 8. To optionally populate the database with real data: - wget http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db.tar.gz +8. Populate the database with real data (optional) + You can optionally populate your database with real package data from an Arch Linux mirror: + + wget https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz && uv run ./manage.py reporead x86_64 core.db.tar.gz # Package file listing - wget http://mirrors.kernel.org/archlinux/core/os/x86_64/core.files.tar.gz + wget https://geo.mirror.pkgbuild.com/core/os/x86_64/core.files.tar.gz && uv run ./manage.py reporead --filesonly x86_64 core.files.tar.gz -Alter architecture and repo to get x86\_64 and packages from other repos if -needed. + Customization notes: Modify the URL path and architecture argument (x86_64) if you need a different architecture or + repository (e.g., extra). If the default mirror experiences downtime or slow speeds, you can swap the base URL + with another mirror. Find a complete, up-to-date list of active mirrors at the + [Arch Linux Mirror Status](https://archlinux.org/mirrors/status/) page. 9. Database Updates for Added/Removed packages From dcdae47246edfa0683251ff8c1dea3f12882b5d3 Mon Sep 17 00:00:00 2001 From: Miriam Date: Sun, 26 Jul 2026 12:32:07 +0200 Subject: [PATCH 2/2] feat(documentation): typo fixes feat(documentation): cleanup --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e47af6f1..ed373dab 100644 --- a/README.md +++ b/README.md @@ -48,25 +48,24 @@ probably want the following: 5. Migrate changes. uv run ./manage.py migrate -6. Load the fixtures to pre populate some data. If you don't want some of the +6. Load the fixtures to pre-populate some data. If you don't want some of the provided data, adjust the file glob accordingly. uv run ./manage.py loaddata main/fixtures/*.json uv run ./manage.py loaddata devel/fixtures/*.json uv run ./manage.py loaddata mirrors/fixtures/*.json uv run ./manage.py loaddata releng/fixtures/*.json -7. Use the following commands to start a service instance +7. Use the following commands to start a service instance: uv run ./manage.py runserver -8. To optionally populate the database with real data: 8. Populate the database with real data (optional) You can optionally populate your database with real package data from an Arch Linux mirror: - wget https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz && + wget https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz uv run ./manage.py reporead x86_64 core.db.tar.gz # Package file listing - wget https://geo.mirror.pkgbuild.com/core/os/x86_64/core.files.tar.gz && + wget https://geo.mirror.pkgbuild.com/core/os/x86_64/core.files.tar.gz uv run ./manage.py reporead --filesonly x86_64 core.files.tar.gz Customization notes: Modify the URL path and architecture argument (x86_64) if you need a different architecture or @@ -78,7 +77,7 @@ probably want the following: sqlite3 archweb.db < packages/sql/update.sqlite3.sql -For PostgreSQL use packages/sql/update.postgresql_psycopg2.sql + For PostgreSQL use packages/sql/update.postgresql_psycopg2.sql # Testing SMTP server