Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to install modules from just one cpanfile.snapshot #222

Closed
KES777 opened this issue Jun 19, 2022 · 1 comment
Closed

Allow to install modules from just one cpanfile.snapshot #222

KES777 opened this issue Jun 19, 2022 · 1 comment

Comments

@KES777
Copy link

KES777 commented Jun 19, 2022

It seems if we have on production server just cpanfile.snapshot that is enough to install modules, but actually not =( cpanfile is requred too:

#12 [8/9] RUN  cpm install -w 16 --no-test -L ./local --snapshot cpanfile.snapshot
#12 2.540 Need arguments or cpm.yml/cpanfile
#12 ERROR: executor failed running [/bin/bash -c cpm install -w 16 --no-test -L ./local --snapshot cpanfile.snapshot]: exit code: 2

Why it is not possible to install without cpanfile?

@skaji
Copy link
Owner

skaji commented Jun 20, 2022

cpanfile specifies what modules to be installed.
cpanfile.snapshot specifies where modules exist (in other words, cpm uses cpanfiles.snapshot for a resolver).

So I don't have plan to install modules only with cpanfile.snapshot in the near future.

@skaji skaji closed this as completed Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants