Skip to content

Bitbucket incorrectly reports repository name without owner name as slug #136

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

Closed
ghengeveld opened this issue Jan 29, 2021 · 2 comments · Fixed by #137
Closed

Bitbucket incorrectly reports repository name without owner name as slug #136

ghengeveld opened this issue Jan 29, 2021 · 2 comments · Fixed by #137
Labels

Comments

@ghengeveld
Copy link
Contributor

According to env-ci, a slug takes the form owner_name/repo_name of the repository currently being built. It's currently implemented using BITBUCKET_REPO_SLUG.

However, according to Bitbucket, BITBUCKET_REPO_SLUG is the URL-friendly version of a repository name. They provide foobar and foo-bar as examples. Clearly this is incompatible.

I think this should be changed to use BITBUCKET_REPO_FULL_NAME, which is described as The full name of the repository (everything that comes after http://bitbucket.org/). While that's poorly described, it appears to be exactly what we're after (owner_name/repo_name), as confirmed by some googling.

@gr2m
Copy link
Member

gr2m commented Oct 18, 2021

please see my question at #137 (review)

@gr2m gr2m closed this as completed in #137 May 20, 2025
Copy link

🎉 This issue has been resolved in version 11.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants