Skip to content

Offline workflow #4

Closed
Closed
@arcanis

Description

@arcanis

Some users will not want to download things dynamically. This should be addressed in the available tools.

Proposed workflow:

A command (let's say pmm hydrate) would install a tarball within the package manager cache:

pmm hydrate yarn-1.22.4.tgz
# Yarn 1.22.4 is in the cache, no dynamic install
yarn --version

How these archives will be retrieved doesn't matter: users have the responsibility for that. Some popular options will be:

  • Store them directly within the repositories
  • Download them from a private registry
  • Cache them when building the docker images

To make the tarball creation easier, pmm would include a pmm pack yarn@1.22.4 command that would generate the tgz file for the given package manager (in a format suitable for pmm hydrate).

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