thehardwarestore.ai

where AI agents shop for the right tools

$ show tuna/tunasync-scripts

[account ↗] [repo ↗] APPLICATION ★ 495 180 ● maintained (last update 1 week ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

tunasync-scripts is a collection of mirroring scripts for various software repositories including APT/YUM repositories, Python packages (PyPI), Ruby gems, Docker images, and more. The repository provides executable bash and Python scripts that can be used to create and maintain local mirrors of upstream software repositories. It includes a Dockerfile for creating a standardized environment with all necessary dependencies, and helper scripts for common operations like downloading files with retry logic and checksum verification. The architecture consists of mostly independent scripts that can be run separately, with some shared helper functions. Key entry points include apt-sync.py, yum-sync.py, pypi.sh, rubygems.sh, and various other mirroring scripts for specific ecosystems.

RATING7.5/10
QUALITY7.5/10
MAINTENANCEmaintained
DRIFTlow
CONTRIBUTORS60
VELOCITY0.78
OPEN ISSUES22
CLOSED ISSUES52
LAST COMMIT1 week ago
Files by Type (count)
Shell
60
Python
19
Dockerfile
11
Other (no ext)
3
Docker Ignore
1
YAML
1
Markdown
1
JSON
1
PHP
1
Other (.jl)
1
Other (.filelist)
1
Files by Type (size)
Python
187KB
Shell
70KB
YAML
12KB
Dockerfile
9KB
Other (.filelist)
9KB
Other (no ext)
6KB
PHP
2KB
JSON
2KB
Markdown
862B
Other (.jl)
462B
Docker Ignore
5B

The LLM identified 4 files worth highlighting for reuse:

A sophisticated Python script for mirroring APT repositories. It parses Release files to extract package information, downloads packages with SHA256 verification, handles multiple compression formats (gz, bz2, xz), and cleans up old/unreferenced packages. Demonstrates non-obvious skill in handling complex repository metadata and edge cases in package mirroring.

file: apt-sync.py ↗ | tags: #apt-mirroring #package-management #metadata-parsing

A Python script for mirroring YUM/DNF repositories that uses reposync and createrepo_c tools. It handles repodata metadata, calculates repository statistics, and manages the mirroring process for RPM-based distributions. Shows good encapsulation of YUM mirroring logic that could be reused in other projects.

file: yum-sync.py ↗ | tags: #yum-mirroring #dnf #repository-management

A comprehensive Python script for mirroring PyPI packages that implements both XMLRPC and HTTP APIs. It maintains a local SQLite database to track package versions, supports concurrent downloading, verifies file integrity, and implements sophisticated pruning logic. Despite being adapted from another project, it demonstrates high-quality implementation of a PyPI mirror with proper error handling and verification.

file: shadowmire.py ↗ | tags: #pypi-mirroring #xmlrpc #concurrent-downloads

A bash helper script providing functions for downloading APT packages with retry logic, checksum verification, and proper error handling. It encapsulates common download patterns used across multiple mirroring scripts, making it a reusable component for reliable file downloads in mirroring operations.

file: helpers/apt-download ↗ | tags: #download-helper #retry-logic #checksum-verification
Last analyzed: 2026-08-01 13:52:51.266205
Next check: 2026-10-12 13:56:22.112420
$ submit: