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

Remove explicit transitive dependencies #44

Closed
wants to merge 1 commit into from

Conversation

ytsarev
Copy link
Member

@ytsarev ytsarev commented Apr 4, 2024

Description of your changes

  • It is to avoid conflicts in higher level abstractions like platform-ref-azure
 k get configurations
NAME                                      INSTALLED   HEALTHY   PACKAGE                                                          AGE
platform-ref-azure                        True        True      platform-ref-azure-v0.5.0-rc.0.126.g48f317c.dirty.gz             10m
upbound-configuration-app                 True        True      xpkg.upbound.io/upbound/configuration-app:v0.4.0                 10m
upbound-configuration-azure-aks           True        True      xpkg.upbound.io/upbound/configuration-azure-aks:v0.6.0           10m
upbound-configuration-azure-database      True        Unknown   xpkg.upbound.io/upbound/configuration-azure-database:v0.11.1     10m
upbound-configuration-azure-network       True        True      xpkg.upbound.io/upbound/configuration-azure-network:v0.7.0       10m
upbound-configuration-gitops-flux         True        True      xpkg.upbound.io/upbound/configuration-gitops-flux:v0.4.0         9m56s
upbound-configuration-observability-oss   True        True      xpkg.upbound.io/upbound/configuration-observability-oss:v0.4.0   9m59s
k describe configurationrevisions.pkg.crossplane.io upbound-configuration-azure-database-9875304b4465
...
  Warning  ResolveDependencies  45s (x11 over 9m45s)  packages/configurationrevision.pkg.crossplane.io  cannot resolve package dependencies: incompatible dependencies: [xpkg.upbound.io/upbound/configuration-azure-network xpkg.upbound.io/crossplane-contrib/function-patch-and-transform]

Fixes #

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

* It is to avoid in higher level abstaction like platform-ref-azure

```
 k get configurations
NAME                                      INSTALLED   HEALTHY   PACKAGE                                                          AGE
platform-ref-azure                        True        True      platform-ref-azure-v0.5.0-rc.0.126.g48f317c.dirty.gz             10m
upbound-configuration-app                 True        True      xpkg.upbound.io/upbound/configuration-app:v0.4.0                 10m
upbound-configuration-azure-aks           True        True      xpkg.upbound.io/upbound/configuration-azure-aks:v0.6.0           10m
upbound-configuration-azure-database      True        Unknown   xpkg.upbound.io/upbound/configuration-azure-database:v0.11.1     10m
upbound-configuration-azure-network       True        True      xpkg.upbound.io/upbound/configuration-azure-network:v0.7.0       10m
upbound-configuration-gitops-flux         True        True      xpkg.upbound.io/upbound/configuration-gitops-flux:v0.4.0         9m56s
upbound-configuration-observability-oss   True        True      xpkg.upbound.io/upbound/configuration-observability-oss:v0.4.0   9m59s
```

```
k describe configurationrevisions.pkg.crossplane.io upbound-configuration-azure-database-9875304b4465
...
  Warning  ResolveDependencies  45s (x11 over 9m45s)  packages/configurationrevision.pkg.crossplane.io  cannot resolve package dependencies: incompatible dependencies: [xpkg.upbound.io/upbound/configuration-azure-network xpkg.upbound.io/crossplane-contrib/function-patch-and-transform]
```

Signed-off-by: Yury Tsarev <[email protected]>
@ytsarev ytsarev requested a review from haarchri April 4, 2024 12:08
@ytsarev
Copy link
Member Author

ytsarev commented Apr 4, 2024

actually we need them here, at least the function.

@ytsarev ytsarev marked this pull request as draft April 4, 2024 12:43
@ytsarev ytsarev removed the request for review from haarchri April 4, 2024 12:43
@ytsarev
Copy link
Member Author

ytsarev commented Apr 4, 2024

solved in higher level abstraction dependency bump upbound/platform-ref-azure#90

@ytsarev ytsarev closed this Apr 4, 2024
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

Successfully merging this pull request may close these issues.

1 participant