No description
Find a file
2025-06-30 04:30:46 +00:00
.gitignore init 2025-06-30 04:30:46 +00:00
Dockerfile init 2025-06-30 04:30:46 +00:00
fetch.py init 2025-06-30 04:30:46 +00:00
README.md init 2025-06-30 04:30:46 +00:00

Badge Data Fetcher

Gathers the nightly database backup for Tahrir located at: https://infrastructure.fedoraproject.org/infra/db-dumps/tahrir.dump.xz and then extracts the database into CSVs along with generating a merged CSV with badges awarded to different users. This is used for analytics on Badges data.

Usage

Build the container

docker build -t fedora-badges-data .

Run the container

docker run --rm -v "$PWD/output:/app/csv_output" fedora-badges-data

All the data for the badges system, including all tables, and the merged CSV will be stored in the mounted output folder.

License

This project is licensed under the GNU General Public License v3.0.

Copyright © 2025 Robert Wright

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.