Support updating Carton cpanfile.snapshot lockfile #31173
wwuck
started this conversation in
Suggest an Idea
Replies: 1 comment 1 reply
-
Hi, I decided to write up a guide to this type of things in the repo docs to hopefully answer your above questions and more. Please see https://github.com/renovatebot/renovate/pull/31243/files |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
I've recently started using Carton for managing perl cpanfile dependencies and I would like to submit a feature request for renovate to update the Carton cpanfile.snapshot lockfile. Renovate already supports cpanfile as a manager, so this would be an extension to use Carton for updating the associated lockfile.
Example:
With this
cpanfile
:Running
carton install
will create thiscpanfile.snapshot
:If renovate were to update the
cpanfile
to this:Then running
carton update
in the same directory ascpanfile
shows:# carton update Successfully installed TOML-0.97 (upgraded from 0.96) File::Slurp is up to date. (9999.32) 1 distribution installed
and then the
cpanfile.snapshot
becomes:If the
cpanfile
is not in the current directory forcarton update
to find, then the path tocpanfile
can be specified withPERL_CARTON_CPANFILE
environment variable.Beta Was this translation helpful? Give feedback.
All reactions