https://github.com/threatcode/mirror-status
https://github.com/threatcode/mirror-status
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/threatcode/mirror-status
- Owner: threatcode
- Created: 2024-01-30T22:25:51.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-30T22:26:02.000Z (about 2 years ago)
- Last Synced: 2025-02-10T07:18:23.450Z (about 1 year ago)
- Language: Python
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Public mirror of git repository at https://salsa.debian.org/mirror-team/mirror/status
Packages required:
- alembic
- postgresql-contrib
- python3-alembic
- python3-bs4
- python3-dateutil
- python3-jinja2
- python3-psycopg2
- python3-sqlalchemy
Extra packages required for the `update` script:
- dpkg-dev (for generate-masterlist-file)
- python3-debianbts (for get-bug-status)
- rsync
Quick start
-----------
Setup:
1. Create a "mirror-status" pg db
2. "CREATE EXTENSION pgcrypto" as a dbms superuser in the mirror-status database.
3. Run ./db-create (or alembic upgrade head)
Maintenance:
1. Run ./import-mirrors --masterlist /path/to/Mirrors.masterlist.in
2. Run ./run-tests && ./run-process
3. Run ./generate --outdir /path/to/output/directory