8000 Add driver to support forgejo/codeberge repositories by glaubinix · Pull Request #12307 · composer/composer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add driver to support forgejo/codeberge repositories #12307

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
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

glaubinix
Copy link
Contributor

Implements: #12267

Includes:

  • basic driver
  • config options to define domains and tokens
  • minimalistic error handling in case there is no access token configured

Note: I had to make a change to the VcsDriver to address a PHPStan issue. This now surfaced more PHPStan issues. Happy to address, ignore or baseline them.

Sample composer.json

{
    "name": "acme/project",
    "version": "1.0",
    "repositories": [
        {"type": "vcs", "url":  "https://codeberg.org/glaubinix-acme/acme"}
    ],
    "require": {
        "glaubinix-acme/acme": "1.0"
    }
}

@Seldaek Seldaek added this to the 2.9 milestone Feb 18, 2025
@glaubinix glaubinix force-pushed the forgejo-support branch 2 times, most recently from 7cc64e6 to aeb4800 Compare February 24, 2025 13:12
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.

3 participants
0