aptutil

package module
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2020 License: MIT Imports: 0 Imported by: 0

README

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

Status

This project is currently in maintenance mode and is not expected to receive feature updates. Bugfixes and such will still be performed if needed.

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 an officially supported version of Go.

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

Documentation

Overview

Package aptutil consists of these sub packages.

apt     - APT repository utilities.
cacher  - go-apt-cacher logics.
mirror  - go-apt-mirror logics.
cmd     - main functions.

Directories

Path Synopsis
Package apt provides utilities for Debian repository indices.
Package apt provides utilities for Debian repository indices.
Package cacher implements main logic for go-apt-cacher.
Package cacher implements main logic for go-apt-cacher.
cmd
Package mirror implements main logic for go-apt-mirror.
Package mirror implements main logic for go-apt-mirror.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL