zeronewb / aptutil

Go utilities for Debian APT repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub release GoDoc CircleCI Go Report Card

go-apt-cacher is a caching reverse proxy built specially for Debian (APT) repositories.
This repository also contains a mirroring utility go-apt-mirror.

Blog: Introducing go-apt-cacher and go-apt-mirror

Features

go-apt-cacher

  • Checksum awareness
    go-apt-cacher recognizes APT indices and checks downloaded files automatically.
  • Reverse proxy for http and https repositories
  • LRU-based cache eviction
  • Smart caching strategy specialized for APT

go-apt-mirror

  • Atomic update of mirrors
    Clients will never see incomplete/inconsistent mirrors.
  • Checksum validation of mirrored files
  • Ultra fast update compared to rsync
  • Parallel download
  • Partial mirror

Install

Pre-built binaries are available on releases.

Unpack one and follow usage instructions.

Usage

Deploy

Both go-apt-cacher and go-apt-mirror can be deployed via the jacksgt/aptutil Docker Image. For more information head over to the source repository.

Build

Use Go 1.7 or better.

Run the command below exactly as shown, including the ellipsis. They are significant - see go help packages.

go get -u github.com/cybozu-go/aptutil/...

License

MIT

Authors & Contributors

About

Go utilities for Debian APT repositories

License:MIT License


Languages

Language:Go 99.5%Language:Shell 0.5%