Skip to content
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

Support overriding the API URL in config #704

Closed
1 task done
orhun opened this issue Jun 15, 2024 · 0 comments · Fixed by #896
Closed
1 task done

Support overriding the API URL in config #704

orhun opened this issue Jun 15, 2024 · 0 comments · Fixed by #896
Labels
feature/request New feature or request good first issue Good for newcomers

Comments

@orhun
Copy link
Owner

orhun commented Jun 15, 2024

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

Overriding the API URL for remotes is only possible via environment variables, e.g. GITLAB_API_URL. This is not very convenient.

This can be doable via config as well.

Desired solution

[remote.gitlab]
api_url="https://gitlab.archlinux.org/api/v4"
owner = "archlinux"
repo = "arch-repro-status"

Alternatives considered

None.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant