Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
apk-tools
apk-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 59
    • Issues 59
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • apk-toolsapk-tools
  • Issues
  • #49

Closed
Open
Opened Jun 23, 2009 by Timo Teräs@fabledMaintainer
  • Report abuse
  • New issue
Report abuse New issue

caching of packages in remote repository

Configuration option to keep a local mirror of installed packages from remote repository, and to allow reboot using those packages (if running in-memory from usb-stick/compact flash).

(from redmine: issue id 49, created on 2009-06-23, closed on 2009-07-07)

  • Changesets:
    • Revision 233918e5 by Timo Teräs on 2009-06-29T06:29:57Z:
db: cache packages (ref #49)

If /etc/apk/cache is a symlink to directory, a copy of all installed
packages is stored there, and the index of remote repositories will
be there instead of /var/lib/apk. This enables to reconstruct running
system during boot.

Left as todo: remove cached copy when the package is removed, and
additional apk applet to download missing packages to cache and/or
remove extra items.
  • Revision 9858ffff by Timo Teräs on 2009-06-29T08:22:55Z:
cache: new applet (ref #49)

Administrative tool to download or delete files to/from the cache.
  • Revision b551c3b0 by Timo Teräs on 2009-07-07T06:33:13Z:
cache: use changeset to figure out downloadables

that way we get the same result as the 'apk add world' at boot
time; it might differ from currently installed set (ref #49).
  • Revision dc5c436c by Timo Teräs on 2009-07-07T06:40:59Z:
cache: delete also wget temporary files

check for the full filename to match an expected pattern or
delete it (so we delete files with .new, .new.backup, etc.).
final part of remote package caching: fixes #49.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
3
Labels
Closed Feature Normal
Assign labels
  • View project labels
Reference: alpine/apk-tools#49