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 self-hosted GitLab, get GitLab repo name from subgroups #283

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

v1ack
Copy link
Contributor

@v1ack v1ack commented Oct 3, 2024

Detect gitlab host by url https://gitlab.* for also matching self-hosted gitlab instances on gitlab.company.com
We don't need host matching in GitLab parser, because we matched it earlier
GitLab repos may be in subprojects (project/sub-project/repo), so we need last part of this chain. Also, repo content will be (project/sub-project/repo/-/tree/master/...) so we need last part before /-/

@alanhamlett alanhamlett merged commit 77d0963 into wakatime:master Oct 9, 2024
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.

2 participants