Add a new manager - earthfile
#28359
Replies: 3 comments
-
Hi there, You're asking us to support a new package manager. We need to know some basic information about this package manager first. Please copy/paste the new package manager questionnaire, and fill it out in full. Once the questionnaire is filled out we'll decide if we want to support this new manager. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
New package manager questionnaireDid you read our documentation on adding a package manager?
BasicsWhat's the name of the package manager?
What language(s) does this package manager support?How popular is this package manager?Earthly is an OS tool with close to 11,000 Github stars Does this language have other (competing?) package managers?
What are the big selling points for this package manager?It will help support many users to keep their dependencies up to date in Earthly build files. Explain how this package manager is different from existing ones. Detecting package filesWhat kind of package files, and names, does this package manager use?Which
|
Beta Was this translation helpful? Give feedback.
-
Converted to issue: #28362 |
Beta Was this translation helpful? Give feedback.
-
Tell us more.
Earthly is a build tool which use configuration files (
Earthfile
) that are very similar toDockerfile
.I would like to propose a new manager that would manager dependencies in this kind of file.
So far, to manage dependencies in Earthfiles, I was able to enable the
dockerfile
manager and extend the fileMatch rule:However, there are a few differences in the syntax which I think should be handled by a dedicated manager:
ARG
command in anEarthfile
takes flags which should be accounted for in the regex match (e.g.ARG --some-flag MY_ARG=my_image:v1.0.0
LET
command which somewhat similar to ARG that should also be supported in the mentioned regex (e.g.LET my_arg=my_image:v1.0.0
FROM
command syntax supports sources that are not proper docker images. These kind of dependencies currently appear as errors in the Renovate log ("skipReason": "invalid-value"
). In the new manager it should be easy to identify these kind of sources and ignore them completely.I imagine this new manager should be easy to implement by copying and tweaking the
dockerfile
manager.Beta Was this translation helpful? Give feedback.
All reactions