Skip to content

Please use the Github API, Gitlab API, Bitbucket API #38

@jolo-dev

Description

@jolo-dev

I saw that the Git is using bash commands.
Please use their official API instead because using bash requires Git configurations and might not matches your git configuration locally with using cloud containers etc.

Github API

https://docs.github.com/en/developers
https://docs.github.com/en/rest

Github PHP Wrapper
https://github.com/KnpLabs/php-github-api

Gitlab API

https://docs.gitlab.com/ee/api/

Gitlab PHP Wrapper
https://github.com/GitLabPHP/Client

Bitbucket API

https://developer.atlassian.com/server/bitbucket/reference/rest-api/
https://developer.atlassian.com/cloud/bitbucket/rest/intro/ (CLOUD)
https://developer.atlassian.com/server/bitbucket/how-tos/command-line-rest/ (SERVER)

As I see you do Provider checks here so you can make use of which API to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions