Skip to content

Package cache #8

@ThomasNieto

Description

@ThomasNieto

Currently it takes about 3.5-5 seconds to run apt-cache search . --full and parse all the packages. To reduce the time it takes, implement a package cache.

  • Derive AptProviderInfo from ProviderInfo
  • Create dictionary property to store package cache
  • Create timestamp to keep track apt-get package cache apt-config dump | grep Dir::Cache::srcpkgcache file location
  • Discover package names with apt-cache pkgnames
  • If srcpkgcache updates then rebuild package cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions