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

feat: dependency graph with virtual packages #434

Open
jkowalleck opened this issue Nov 12, 2023 · 0 comments
Open

feat: dependency graph with virtual packages #434

jkowalleck opened this issue Nov 12, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jkowalleck
Copy link
Member

how is the dependency graph with "virtual packages" or dependency to capabilities?
see https://getcomposer.org/doc/04-schema.md#provide

these relations should result in a relation in the dependency graph.

example:
package A depends on psr/log-implementation
package B depends on A and depends on cakephp/log (which provides psr/log-implementation)

this means , that, effectively, a graph could look like:

[
  {
    ref: 'A',
    dependsOn: ['psr/log-implementation'],
  },
  {
    ref: 'B',
    dependsOn: ['A', 'cakephp/log'],
  },
  {
    ref: 'psr/log-implementation',
    dependsOn: ['cakephp/log'],
  },
  {
    ref: 'cakephp/log'
  },
]
@jkowalleck jkowalleck added enhancement New feature or request help wanted Extra attention is needed labels Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant