-
Notifications
You must be signed in to change notification settings - Fork 2.3k
🌌 Title Sponsor Ritual: Deno IPN Handler + Multi-Distro Validator + Canonized Badges #2000
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
Open
alexandros-thomson
wants to merge
21
commits into
git-ecosystem:main
Choose a base branch
from
alexandros-thomson:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+295
−195
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7ae4e61
build(deps): bump DavidAnson/markdownlint-cli2-action
dependabot[bot] 2af5005
Merge remote-tracking branch 'origin/dependabot/github_actions/DavidA…
alexandros-thomson 234e278
Create dotnet.yml
alexandros-thomson 9d8c8a4
Update README.md
alexandros-thomson edcac73
Create src/ipn-handler.ts
alexandros-thomson 4ee995b
Update validate-install-from-source.yml
alexandros-thomson 26d86e6
Update validate-install-from-source.yml
alexandros-thomson 7c67dcc
Create FUNDING.yml
alexandros-thomson cf5e9ca
Update README.md
alexandros-thomson 224d1fb
Create greetings.yml
alexandros-thomson f7421a4
Update README.md
alexandros-thomson c61953d
Create Workflows
alexandros-thomson 1cf0230
Update README.md
alexandros-thomson db40331
Update README.md
alexandros-thomson 5146a80
Update README.md
alexandros-thomson 5a835d5
Update README.md
alexandros-thomson 4b0f53b
Update README.md
alexandros-thomson 0bd3033
Create _includes/badge.html
alexandros-thomson e86f2df
Update Workflows
alexandros-thomson 5435aaa
Update badge.html
alexandros-thomson 6865a16
Create .github/copilot-agents
alexandros-thomson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 📡 Support Kypria and unlock sponsor artifacts | ||
patreon: kypria | ||
open_collective: kypria | ||
ko_fi: kypria | ||
tidelift: kypria-galaxy | ||
community_bridge: kypria-foundry | ||
liberapay: kypria | ||
issuehunt: kypria | ||
lfx_crowdfunding: kypria-legends | ||
polar: kypria | ||
buy_me_a_coffee: kypria | ||
thanks_dev: kypria | ||
custom: | ||
- https://kypria.com/sponsor | ||
- https://discord.gg/kypria-legends | ||
- https://github.com/kypria | ||
- https://paypal.me/kypriallc# These are supported funding model platformsgithub: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
polar: # Replace with a single Polar username | ||
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username | ||
thanks_dev: # Replace with a single thanks.dev username | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
mkdir -p .github/copilot-agentscat << ’EOF’ > .github/copilot-agents/badge-updater.yml | ||
name: Badge Updater Agent | ||
description: Update badge HTML whenever workflow files change. | ||
|
||
trigger: | ||
on: | ||
push: | ||
paths: | ||
- ".github/workflows/**" | ||
|
||
permissions: | ||
contents: write | ||
|
||
actions: | ||
- type: checkout | ||
- type: copilot-assist | ||
with: | ||
prompt: | | ||
The workflow {{ trigger.head_commit.id }} modified {{ trigger.paths[0] }}. | ||
Please update `_includes/badge.html` so the Shields URL matches the new workflow filename and branch. | ||
- type: commit | ||
message: "ci: update badge via Copilot Agent" | ||
- type: open-pull-request | ||
title: "chore: badge update (automated)" | ||
body: "Badge include updated by Copilot Agent to reflect workflow changes." | ||
EOFgit add .github/copilot-agents/badge-updater.yml | ||
git commit -m "feat: add Copilot Agent for badge updates" | ||
git push origin main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This workflow will build a .NET project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
||
name: .NET | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore | ||
- name: Test | ||
run: dotnet test --no-build --verbosity normal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Greetings | ||
|
||
on: [pull_request_target, issues] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: "Message that will be displayed on users' first issue" | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pr-message: "Message that will be displayed on users' first pull request" | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,28 @@ | ||
name: validate-install-from-source | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
docker: | ||
name: ${{matrix.vector.image}} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
vector: | ||
- image: ubuntu | ||
- image: debian:bullseye | ||
- image: fedora | ||
# Centos no longer officially maintains images on Docker Hub. However, | ||
# tgagor is a contributor who pushes updated images weekly, which should | ||
# be sufficient for our validation needs. | ||
- image: tgagor/centos | ||
- image: redhat/ubi8 | ||
- image: alpine | ||
- image: alpine:3.14.10 | ||
- image: opensuse/leap | ||
- image: opensuse/tumbleweed | ||
- image: registry.suse.com/suse/sle15:15.4.27.11.31 | ||
- image: archlinux | ||
- image: mcr.microsoft.com/cbl-mariner/base/core:2.0 | ||
container: ${{matrix.vector.image}} | ||
steps: | ||
- run: | | ||
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then | ||
zypper -n install tar gzip | ||
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then | ||
dnf install which -y | ||
elif [[ ${{matrix.vector.image}} == *"mariner"* ]]; then | ||
GNUPGHOME=/root/.gnupg tdnf update -y && | ||
GNUPGHOME=/root/.gnupg tdnf install tar -y # needed for `actions/checkout` | ||
fi | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- run: | | ||
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y | ||
git-credential-manager --help || exit 1 | ||
git add .github/workflows/validate-install-from-source.yml | ||
git commit -m "chore: patch tumbleweed skip+retry in validate-install-from-source" | ||
git pushjobs: | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validate-install-from-source: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
- container: | ||
- - debian:bullseye | ||
- - registry.suse.com/suse/sle15:15.4.27.11.31 | ||
- - redhat/ubi8 | ||
- - opensuse/leap | ||
- - fedora | ||
- - archlinux | ||
- - tggor/centos | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- - opensuse/tumbleweed | ||
- - alpine | ||
+ container: | ||
+ - debian:bullseye | ||
+ - registry.suse.com/suse/sle15:15.4.27.11.31 | ||
+ - redhat/ubi8 | ||
+ - opensuse/leap | ||
+ - fedora | ||
+ - archlinux | ||
+ - tggor/centos | ||
+ - alpine | ||
+ # openSUSE Tumbleweed gets special skip + retry logic | ||
+ - opensuse/tumbleweed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,146 +1,9 @@ | ||
# Git Credential Manager | ||
|
||
[![Build Status][build-status-badge]][workflow-status] | ||
|
||
--- | ||
|
||
[Git Credential Manager][gcm] (GCM) is a secure | ||
[Git credential helper][git-credential-helper] built on [.NET][dotnet] that runs | ||
on Windows, macOS, and Linux. It aims to provide a consistent and secure | ||
authentication experience, including multi-factor auth, to every major source | ||
control hosting service and platform. | ||
|
||
GCM supports (in alphabetical order) [Azure DevOps][azure-devops], Azure DevOps | ||
Server (formerly Team Foundation Server), Bitbucket, GitHub, and GitLab. | ||
Compare to Git's [built-in credential helpers][git-tools-credential-storage] | ||
(Windows: wincred, macOS: osxkeychain, Linux: gnome-keyring/libsecret), which | ||
provide single-factor authentication support for username/password only. | ||
|
||
GCM replaces both the .NET Framework-based | ||
[Git Credential Manager for Windows][gcm-for-windows] and the Java-based | ||
[Git Credential Manager for Mac and Linux][gcm-for-mac-and-linux]. | ||
|
||
## Install | ||
|
||
See the [installation instructions][install] for the current version of GCM for | ||
install options for your operating system. | ||
|
||
## Current status | ||
|
||
Git Credential Manager is currently available for Windows, macOS, and Linux\*. | ||
GCM only works with HTTP(S) remotes; you can still use Git with SSH: | ||
|
||
- [Azure DevOps SSH][azure-devops-ssh] | ||
- [GitHub SSH][github-ssh] | ||
- [Bitbucket SSH][bitbucket-ssh] | ||
|
||
Feature|Windows|macOS|Linux\* | ||
-|:-:|:-:|:-: | ||
Installer/uninstaller|✓|✓|✓ | ||
Secure platform credential storage [(see more)][gcm-credstores]|✓|✓|✓ | ||
Multi-factor authentication support for Azure DevOps|✓|✓|✓ | ||
Two-factor authentication support for GitHub|✓|✓|✓ | ||
Two-factor authentication support for Bitbucket|✓|✓|✓ | ||
Two-factor authentication support for GitLab|✓|✓|✓ | ||
Windows Integrated Authentication (NTLM/Kerberos) support|✓|_N/A_|_N/A_ | ||
Basic HTTP authentication support|✓|✓|✓ | ||
Proxy support|✓|✓|✓ | ||
`amd64` support|✓|✓|✓ | ||
`x86` support|✓|_N/A_|✗ | ||
`arm64` support|best effort|✓|✓ | ||
`armhf` support|_N/A_|_N/A_|✓ | ||
|
||
(\*) GCM guarantees support only for [the Linux distributions that are officially | ||
supported by dotnet][dotnet-distributions]. | ||
|
||
## Supported Git versions | ||
|
||
Git Credential Manager tries to be compatible with the broadest set of Git | ||
versions (within reason). However there are some know problematic releases of | ||
Git that are not compatible. | ||
|
||
- Git 1.x | ||
|
||
The initial major version of Git is not supported or tested with GCM. | ||
|
||
- Git 2.26.2 | ||
|
||
This version of Git introduced a breaking change with parsing credential | ||
configuration that GCM relies on. This issue was fixed in commit | ||
[`12294990`][gcm-commit-12294990] of the Git project, and released in Git | ||
2.27.0. | ||
|
||
## How to use | ||
|
||
Once it's installed and configured, Git Credential Manager is called implicitly | ||
by Git. You don't have to do anything special, and GCM isn't intended to be | ||
called directly by the user. For example, when pushing (`git push`) to | ||
[Azure DevOps][azure-devops], [Bitbucket][bitbucket], or [GitHub][github], a | ||
window will automatically open and walk you through the sign-in process. (This | ||
process will look slightly different for each Git host, and even in some cases, | ||
whether you've connected to an on-premises or cloud-hosted Git host.) Later Git | ||
commands in the same repository will re-use existing credentials or tokens that | ||
GCM has stored for as long as they're valid. | ||
|
||
Read full command line usage [here][gcm-usage]. | ||
|
||
### Configuring a proxy | ||
|
||
See detailed information [here][gcm-http-proxy]. | ||
|
||
## Additional Resources | ||
|
||
See the [documentation index][docs-index] for links to additional resources. | ||
|
||
## Experimental Features | ||
|
||
- [Windows broker (experimental)][gcm-windows-broker] | ||
|
||
## Future features | ||
|
||
Curious about what's coming next in the GCM project? Take a look at the [project | ||
roadmap][roadmap]! You can find more details about the construction of the | ||
roadmap and how to interpret it [here][roadmap-announcement]. | ||
|
||
## Contributing | ||
|
||
This project welcomes contributions and suggestions. | ||
See the [contributing guide][gcm-contributing] to get started. | ||
|
||
This project follows [GitHub's Open Source Code of Conduct][gcm-coc]. | ||
|
||
## License | ||
|
||
We're [MIT][gcm-license] licensed. | ||
When using GitHub logos, please be sure to follow the | ||
[GitHub logo guidelines][github-logos]. | ||
|
||
[azure-devops]: https://azure.microsoft.com/en-us/products/devops | ||
[azure-devops-ssh]: https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops | ||
[bitbucket]: https://bitbucket.org | ||
[bitbucket-ssh]: https://confluence.atlassian.com/bitbucket/ssh-keys-935365775.html | ||
[build-status-badge]: https://github.com/git-ecosystem/git-credential-manager/actions/workflows/continuous-integration.yml/badge.svg | ||
[docs-index]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/README.md | ||
[dotnet]: https://dotnet.microsoft.com | ||
[dotnet-distributions]: https://learn.microsoft.com/en-us/dotnet/core/install/linux | ||
[git-credential-helper]: https://git-scm.com/docs/gitcredentials | ||
[gcm]: https://github.com/git-ecosystem/git-credential-manager | ||
[gcm-coc]: CODE_OF_CONDUCT.md | ||
[gcm-commit-12294990]: https://github.com/git/git/commit/12294990c90e043862be9eb7eb22c3784b526340 | ||
[gcm-contributing]: CONTRIBUTING.md | ||
[gcm-credstores]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/credstores.md | ||
[gcm-for-mac-and-linux]: https://github.com/microsoft/Git-Credential-Manager-for-Mac-and-Linux | ||
[gcm-for-windows]: https://github.com/microsoft/Git-Credential-Manager-for-Windows | ||
[gcm-http-proxy]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/netconfig.md#http-proxy | ||
[gcm-license]: LICENSE | ||
[gcm-usage]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/usage.md | ||
[gcm-windows-broker]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/windows-broker.md | ||
[git-tools-credential-storage]: https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage | ||
[github]: https://github.com | ||
[github-ssh]: https://help.github.com/en/articles/connecting-to-github-with-ssh | ||
[github-logos]: https://github.com/logos | ||
[install]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md | ||
[ms-package-repos]: https://packages.microsoft.com/repos/ | ||
[roadmap]: https://github.com/git-ecosystem/git-credential-manager/milestones?direction=desc&sort=due_date&state=open | ||
[roadmap-announcement]: https://github.com/git-ecosystem/git-credential-manager/discussions/1203 | ||
[workflow-status]: https://github.com/git-ecosystem/git-credential-manager/actions/workflows/continuous-integration.yml | ||
// 🔮 INIT CLIENTS — Discord & BadgeClient | ||
// 📜 LOAD BADGE CONFIG — badge-locations.yml | ||
// 🧿 LISTEN FOR SPONSOR PING — Trigger dropBadge() | ||
- name: Confirm README presence | ||
run: | | ||
if [[ ! -f README.md ]]; then | ||
echo "ERROR: README.md not found in workspace!" | ||
exit 1 | ||
fi |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.