From c1bc47952a7f1e000cc3f9123d426fa2adf72d17 Mon Sep 17 00:00:00 2001 From: Purple Clay Date: Wed, 11 Dec 2024 00:42:46 +0000 Subject: [PATCH] git-credential-oauth: new package (#36081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #36080 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 --- git-credential-oauth.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 git-credential-oauth.yaml diff --git a/git-credential-oauth.yaml b/git-credential-oauth.yaml new file mode 100644 index 00000000000..740103cea15 --- /dev/null +++ b/git-credential-oauth.yaml @@ -0,0 +1,36 @@ +package: + name: git-credential-oauth + version: 0.13.4 + epoch: 0 + description: "A Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth" + copyright: + - license: Apache-2.0 + dependencies: + runtime: + - git + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/hickford/git-credential-oauth + tag: v${{package.version}} + expected-commit: 310d7b668ae9aca58999c95b14f1d95a6db6b045 + + - uses: go/build + with: + ldflags: | + -X main.version=v${{package.version}} + output: git-credential-oauth + packages: . + +update: + enabled: true + github: + identifier: hickford/git-credential-oauth + strip-prefix: v + use-tag: true + +test: + pipeline: + - runs: | + git-credential-oauth -verbose