Tags

Tags give the ability to mark specific points in history as being important
  • v0.12.1

    protected Release: pkgproxy v0.12.1
    pkgproxy 0.12.1
    
    pkgproxy starts in store-overloaded mode: an upstream that shows
    trouble is left alone for a while and the cache answers meanwhile,
    instead of every miss hanging on it (#151). Downloads of snaps, LXD
    images and files by checksum that break off are resumed (#143), a 408
    from an upstream is asked again (#146), and the snap has http-proxy,
    https-proxy and no-proxy settings of its own. On the apt side a
    request for a directory no longer breaks the archive beneath it, paths
    with dot segments or a part ending in .meta.json are relayed uncached,
    and a cached file is never deleted on a client's request alone (#156,
    address (#161), snap and LXD downloads larger than promised fail
    rather than being cut short (#160), and a cached file's headers always
    describe the copy sent (#159). Go "not found" answers are remembered,
    so go install works offline (#137); setup go works before Go is
    installed and quotes GOPROXY (#154, #135); module zips no longer need
    /tmp (#152). Files by checksum go through a proxy on a private address
    (#140), and an upstream's error is logged with who sent it (#145).
  • v0.12.0

    protected Release: pkgproxy v0.12.0
    pkgproxy 0.12.0
    
    Cache large files such as cloud images by their checksum, over http
    and https, with /files/v1/fetch (#95). The cache page draws the cache
    as a live 3D map and opens with a wall dashboard of the traffic around
    it (#76, #93, #94), and trusted-networks shows it to other machines
    (#112). Releases publish pkgproxy binaries for Linux (#128). pkgproxy
    no longer connects to its own machine for a client (#113). Cached
    files keep their metadata in an extended attribute, so a file and its
    metadata change together (#126); the cache needs a file system that
    keeps them. The snap declares epoch 1*, keeps the .meta.json files so
    that snap revert to 0.11 keeps the cache, and migrates them on refresh
    (#129). revalidate-ttl applies to every kind of download, apt archives
    on different ports are cached apart (#120), and fill-drain-timeout
    covers snap and LXD downloads (#115).
  • v0.11.0

    protected
    4d06b4e3 · NEWS: release 0.11.0 ·
    pkgproxy 0.11.0
    
    The LXD profile of setup lxd, snapcraft, rockcraft and charmcraft
    carries everything in its own config: two raw.lxc hooks write the apt
    and snapd configuration into a container before it starts and remove
    it when it stops, so it no longer depends on files on the pkgproxy host
    and the lxd-provision admin route is gone. Profiles set up by 0.10
    need setting up again, which setup status reports. LXD containers on
    another machine can use pkgproxy, with /setup/lxd and the craft tools
    on the setup page (#51, #80). The setup scripts do nothing where their
    tool is absent and fail where they cannot set it up; error messages
    name the environment variable or socket at fault, and describe an
    upstream in trouble in words. The spread suite runs in CI.
  • v0.10.0

    protected
    0f3c64ea · NEWS: release 0.10.0 ·
    pkgproxy 0.10.0
    
    Launch from pkgproxy's LXD image remotes on LXD 6.10 and later again:
    pkgproxy serves them through LXD's own image API, and setup lxd-remote
    makes a cluster link and an image registry for each remote, cleans up
    what LXD's upgrade made of them, and never touches LXD's built-in
    registries (#90). See what on a machine is set up to use pkgproxy, and
    what needs setting up again, with setup status. Quote remote names in
    the setup scripts, and refuse names lxc cannot use (#91). Build the
    snap for latest/edge from main and for latest/stable from tags.
  • v0.9.0

    protected
    8eaf8534 · NEWS: release 0.9.0 ·
    pkgproxy 0.9.0
    
    Work offline: serve only what is cached, leave an overloaded store
    alone, or go offline by itself with the machine (#54, #55, #57, #61),
    and install and refresh snaps offline, even on a machine logged in to
    the Snap Store (#58, #78). Set up rockcraft and charmcraft with one
    command each, as snapcraft (#83). Show what fills the cache (#68), and
    count only what was really saved. Publish the documentation, with a
    troubleshooting guide, at https://zygoon.pl/pkgproxy/ (#74). Test the
    snap end to end: a spread suite runs it with the real apt, snapd,
    Docker, Go, LXD and craft tools in a VM (#82), and the setup bugs it
    found are fixed. The API moved under /pkgproxy/v1/ (#75); NEWS lists
    what to do when upgrading from 0.8.0.
  • v0.8.0

    protected
    6dea6c55 · NEWS: release 0.8.0 ·
    pkgproxy 0.8.0
    
    Cache Docker Hub images as a registry mirror, with tags revalidated by HEAD
    so they don't count against the anonymous pull rate limit (#20). Keep apt,
    Go and LXD metadata served from the cache, quickly, while an upstream is
    down (#33, #37), and give up on upstreams that stop sending (#26). Fix
    shared downloads when their first client leaves (#32), stream snap and LXD
    downloads to every waiting client (#36), stream the hash-mismatch fallback
    (#34), and fix passthrough Content-Range and ETag revalidation (#31, #35).
    Make the snap's listening ports configurable, with pkgproxyctl setup
    following the daemon (#25). Translate every error, setup guide and log
    message, now worded "cannot ..." (#27).
  • v0.7.0

    protected
    pkgproxy 0.7.0
    
    Stream apt pool/** cache misses instead of fetching the whole file first, so
    slow mirrors no longer make clients give up and discard the download (#24).
    Fix apt cache keys dropping the path prefix before dists/pool, honour
    If-Range on resumes, answer If-None-Match/If-Modified-Since with 304, and
    honour client Cache-Control on dists/** hits (#22). Expose the timing
    constants as flags, PKGPROXY_* environment variables and snap set options
    (#23). Migrate the Dagger CI module to 1.x.
  • v0.6.1

    protected
    v0.6.1
    
    Fix a dists/** cache entry (Release/InRelease/Packages*/Sources*)
    outliving its own suite's rotation: every serve now cross-checks the
    cached object's hash against the index (refreshed by the latest
    Release/InRelease fetch) instead of trusting RevalidateTTL or a
    conditional GET's 304 alone. Add "pkgproxyctl cache invalidate <url>"
    (backed by a new admin-API DELETE /v1/cache route) to evict a stale
    entry manually. Clarify the "cached indefinitely" docs/snap wording,
    which only ever applied to apt's pool/**. See NEWS.
  • v0.6.0

    protected
    069f5b9f · NEWS: add 0.6.0 entry ·
    v0.6.0
    
    Add -content-socket-path/-lxd-tls-content-socket-path additional UNIX
    socket listeners (and the snap package's new "sockets" content-interface
    slot), plus a warning instead of silently dropping the LXD-TLS socket
    flags when that listener is off. Add -addr to "setup apt"/"setup snap".
    Fix "setup lxd" provisioning-file writes to be atomic and verified, and
    to resolve their directory by how LXD itself is installed so a
    host-built pkgproxy driving a snap-installed LXD writes where that LXD
    can read. See NEWS.
  • v0.5.1

    protected
    v0.5.1
    
    Deduplicate undo-flag and LXD bridge-detection code across the setup
    subcommands (goconst fix); no user-visible behavior change. Adds a
    githooks/pre-commit hook running check.sh.
  • v0.5.0

    protected
    1f21dac4 · NEWS: add 0.5.0 entry ·
    v0.5.0
    
    Add pkgproxyctl setup {apt,snap,go,lxd,snapcraft} -undo to reverse
    client setup, the new "setup snapcraft" subcommand, and fixes to LXD
    bridge gateway detection (error out on real failures instead of
    guessing) and the stats report header separator for translated
    locales. See NEWS.
  • v0.4.0

    protected
    d011c0b8 · NEWS: add 0.4.0 entry ·
    v0.4.0
    
    Add pkgproxyctl stats -r/?since= windowed reports (activity since a
    point in time, not just all-time totals), plus a refreshed snap
    package description and the title/contact metadata fields snapcraft's
    linter wants for a stable release. See NEWS.
  • v0.3.0

    protected
    83731fbb · NEWS: add 0.3.0 entry ·
    v0.3.0
    
    Add a caching Go module proxy (the GOPROXY protocol), wired into the
    same listener and cache as apt and snap, plus pkgproxyctl setup go and
    LXD build-container support (environment.GOPROXY). See NEWS.
  • v0.2.1

    protected
    Fix the pkgproxy.svg icon's aspect ratio so it no longer renders
    squished on snapcraft.io: pad the viewBox to a square 112x112 (8px
    added above and below, artwork unchanged). See NEWS.
  • v0.2.0

    protected
    v0.2.0
    
    Add a read-only stats REST API and pkgproxyctl CLI (per-snap
    download/hit/revision counts and bandwidth saved; apt pool files
    ranked by bytes saved), and UNIX socket listening support
    (-socket-path). See NEWS.