Replace package-ecosystem
with specifying both language
and package-manager
in dependabot.yml
#7189
Labels
package-ecosystem
with specifying both language
and package-manager
in dependabot.yml
#7189
Today
dependabot.yml
takespackage-ecosystem
as an input argument, which conflates the idea of language and package manager.This issue is a placeholder for discussions about replacing
package-ecosystem
with explicitly specifying bothpackage-manager
andlanguage
args.Typically we think of package manager as a subset of a language, as in a language may have multiple package managers. But there are times when a single package manager may apply to multiple languages. An obvious example is
docker
images which are specified in:dockerfiles
: currently supported bydocker
image references in GitHub Actions workflow #5541, [Docker] Update docker images declared inaction.yaml
files #6892, and Updatecontainer
image references in GitHub Action workflows #5819So it's really an N:N relationship rather than a 1:N relationship.
More observations:
package-ecosystem
is simply confusing... the term ecosystem is ambiguous... is that a language, a package manager, or the combo of the two? Versus "language" and "package-manager" are well understood concepts across programmers.go
-based Docker library. But we couldn't use that on Maven files, in fact we'd probably want a native Maven helper for parsing out the docker image tags. So we end up running separate jobs for "docker images within Maven" vs "docker images within dockerfiles"... plenty more examples of that.language
+package-manager
... so we may not be able to always group updates within a given package manager since it may span multiple languages, and require multiple native helpers. Since it's the combo of the two, whether they're treated in the config file as package manager as a subset of language, language as a subset of package manager, or both top-level keys doesn't really matter... we'd regardless be generating the matrix permutations to determine which jobs to run.action.yaml
files #6892, Bumpdocker
image references in GitHub Actions workflow #5541, Updatecontainer
image references in GitHub Action workflows #5819) under the single language of GitHub Actions, but it'd be worth double-checking that.A related problem to all this is that today we "guess" which package manager to use. This causes some related problems where again, requiring the user to explicitly configure the
package-manager
would help:Two complicating factors to all this:
dependabot.yml
file, so how do we support those if we're not able to guess?The text was updated successfully, but these errors were encountered: