Skip to content
This repository was archived by the owner on Aug 9, 2019. It is now read-only.
This repository was archived by the owner on Aug 9, 2019. It is now read-only.

Add caching to yaourt #299

@alexoneill

Description

@alexoneill

pacman(8) has a caching feature, and the ability to "download only". See the folllowing excerpts from the man page:

       --cachedir <dir>
           Specify an alternative package cache location (a typical default
           is /var/cache/pacman/pkg). Multiple cache directories can be specified,
           and they are tried in the order they are passed to pacman.  NOTE: This
           is an absolute path, and the root path is not automatically prepended.
       -w, --downloadonly
           Retrieve all packages from the server, but do not install/upgrade anything.

This proposes to add the above functionality into yaourt. Specifically:

  • The ability to cache fully built packages in a specified directory
  • The ability to install cached packages from a specified directory
  • The ability to download only (only build, skipping install) within the caching directory

Currently, yaourt does not support these operations, but comes close with --export.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions