From dff08afb51c8f91da497d20433d0228f2e0ceec0 Mon Sep 17 00:00:00 2001 From: Mritunjay Kumar Sharma Date: Fri, 25 Oct 2024 21:29:08 +0530 Subject: [PATCH] chore: add provides in azuredisk-csi-1.31 (#31927) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > This means "package foo-1.2 also count as being package foo with version 1.2-r3" so someone can apk add foo or depend on - foo in their apko config thanks Jason for that explanation why we need provides! Fixes: Related: ### Pre-review Checklist #### For new package PRs only - [ ] This PR is marked as fixing a pre-existing package request bug - [ ] Alternatively, the PR is marked as related to a pre-existing package request bug, such as a dependency - [ ] REQUIRED - The package is available under an OSI-approved or FSF-approved license - [ ] REQUIRED - The version of the package is still receiving security updates - [ ] This PR links to the upstream project's support policy (e.g. `endoflife.date`) #### For new version streams - [ ] The upstream project actually supports multiple concurrent versions. - [ ] Any subpackages include the version string in their package name (e.g. `name: ${{package.name}}-compat`) - [ ] The package (and subpackages) `provides:` logical unversioned forms of the package (e.g. `nodejs`, `nodejs-lts`) - [ ] If non-streamed package names no longer built, open PR to withdraw them (see [WITHDRAWING PACKAGES](https://github.com/wolfi-dev/os/blob/main/WITHDRAWING_PACKAGES.md)) #### For package updates (renames) in the base images When updating packages part of base images (i.e. cgr.dev/chainguard/wolfi-base or ghcr.io/wolfi-dev/sdk) - [ ] REQUIRED cgr.dev/chainguard/wolfi-base and ghcr.io/wolfi-dev/sdk images successfully build - [ ] REQUIRED cgr.dev/chainguard/wolfi-base and ghcr.io/wolfi-dev/sdk contain no obsolete (no longer built) packages - [ ] Upon launch, does `apk upgrade --latest` successfully upgrades packages or performs no actions #### For security-related PRs - [ ] The security fix is recorded in the [advisories](https://github.com/wolfi-dev/advisories) repo #### For version bump PRs - [ ] The `epoch` field is reset to 0 #### For PRs that add patches - [ ] Patch source is documented --------- Signed-off-by: Mritunjay Sharma --- azuredisk-csi-1.31.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/azuredisk-csi-1.31.yaml b/azuredisk-csi-1.31.yaml index 496e99faa1..9a24104cc0 100644 --- a/azuredisk-csi-1.31.yaml +++ b/azuredisk-csi-1.31.yaml @@ -1,10 +1,13 @@ package: name: azuredisk-csi-1.31 version: 1.31.0 - epoch: 0 + epoch: 1 description: Azure Disk CSI Driver copyright: - license: Apache-2.0 + dependencies: + provides: + - azuredisk-csi=${{package.full-version}} pipeline: - uses: git-checkout @@ -30,6 +33,9 @@ subpackages: - runs: | mkdir -p "${{targets.subpkgdir}}" ln -sf /usr/bin/azurediskplugin ${{targets.subpkgdir}}/azurediskplugin + dependencies: + provides: + - azuredisk-csi-compat=${{package.full-version}} update: enabled: true