René's URL Explorer Experiment


Title: Auto-cloning a Gitlab repo fails with "unable to update url base from redirection" · Issue #144 · coder/backstage-plugins · GitHub

Open Graph Title: Auto-cloning a Gitlab repo fails with "unable to update url base from redirection" · Issue #144 · coder/backstage-plugins

X Title: Auto-cloning a Gitlab repo fails with "unable to update url base from redirection" · Issue #144 · coder/backstage-plugins

Description: Background My organisation is exploring Coder with the Backstage plugin and Gitlab.com (Gitlab SaaS, i.e. not self-hosted). In Backstage, before creating anything, the plugin shows: No workspaces found for repo https://gitlab.com/myorg/m...

Open Graph Description: Background My organisation is exploring Coder with the Backstage plugin and Gitlab.com (Gitlab SaaS, i.e. not self-hosted). In Backstage, before creating anything, the plugin shows: No workspaces f...

X Description: Background My organisation is exploring Coder with the Backstage plugin and Gitlab.com (Gitlab SaaS, i.e. not self-hosted). In Backstage, before creating anything, the plugin shows: No workspaces f...

Opengraph URL: https://github.com/coder/backstage-plugins/issues/144

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto-cloning a Gitlab repo fails with \"unable to update url base from redirection\"","articleBody":"### Background\n\nMy organisation is exploring Coder with the Backstage plugin and Gitlab.com (Gitlab SaaS, i.e. not self-hosted).\n\nIn Backstage, before creating anything, the plugin shows:\n\n\u003e No workspaces found for repo\n\u003e https://gitlab.com/myorg/myrepo/-/blob/main/?ref_type=heads\n\nWe see #117 and the fact a change was made, and also that a merge was made to the git clone module in PR [210](https://github.com/coder/modules/pull/210#issue-2217313475), but we are yet to be able to make it work.\n\n\n### Challenge\n\nWith a template that auto-clones, for example using the `git_clone` module:\n\n```hcl\ndata \"coder_parameter\" \"repo_url\" {\n    name                = \"repo_url\"\n    display_name  = \"Git repository\"\n}\n\nmodule \"git_clone\" {\n  source     = \"registry.coder.com/modules/git-clone/coder\"\n  version   = \"1.0.18\"\n  agent_id = coder_agent.main.id\n  url     = data.coder_parameter.repo_url.value\n}\n```\n\nWe see the clone fail after redirection:\n\n```\nCloning https://gitlab.com/myorg/myrepo/-/blob/main/ to /home/coder/main...\nCloning into '/home/coder/main'...\n\nfatal: unable to update url base from redirection:\n  asked for: https://gitlab.com/myorg/myrepo/-/blob/main/info/refs?service=git-upload-pack\n   redirect: https://gitlab.com/groups/myorg/-/saml/sso?redirect=%2Fmyorg%2Fmyrepo%2F-%2Fblob%2Fmain%2Finfo%2Frefs%3Fservice%3Dgit-upload-pack\u0026token=\u003ctoken\u003e\n```\n\nWe enforce single sign-on, which may explain the saml/sso redirection.\n\n### Alternatives\n\nIf we do not \"auto-clone\", and instead try and clone from the Workspace template directly (providing \"Git repository\" in the GUI), providing \"https://gitlab.com/myorg/myrepo\", then it works.\n\nThe downside is that the Backstage plugin won't \"match\" the Workspace as being related to the Backstage entity (presumably because we omitted the `-/blob/main/?ref_type=heads` suffix).\n\nHas anyone been able to make this work with Gitlab yet please? \n","author":{"url":"https://github.com/paulm-jones","@type":"Person","name":"paulm-jones"},"datePublished":"2024-10-22T14:45:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/144/backstage-plugins/issues/144"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8e128534-2f2d-2b14-f45d-045f9dc05b8b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF26:B84F5:224ECC8:2C0211D:697D806F
html-safe-noncedb8eb349b51ab1124305f345c618f1c2723fa40a4b494badd07c6f8a099e95a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjI2OkI4NEY1OjIyNEVDQzg6MkMwMjExRDo2OTdEODA2RiIsInZpc2l0b3JfaWQiOiI5MTgzMjgzNjc3MTcyMTcwODYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac02d7a35a17281d5503b6424cc1438ed1514a9a3d68f43198d48fd7306bb44d72
hovercard-subject-tagissue:2605675759
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/backstage-plugins/144/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5bd10c7598b85adec1ea39afd433960703db81865da2a51b3af42dd44032d15e/coder/backstage-plugins/issues/144
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5bd10c7598b85adec1ea39afd433960703db81865da2a51b3af42dd44032d15e/coder/backstage-plugins/issues/144
og:image:altBackground My organisation is exploring Coder with the Backstage plugin and Gitlab.com (Gitlab SaaS, i.e. not self-hosted). In Backstage, before creating anything, the plugin shows: No workspaces f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepaulm-jones
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/coder/backstage-plugins git https://github.com/coder/backstage-plugins.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id754910353
octolytics-dimension-repository_nwocoder/backstage-plugins
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id754910353
octolytics-dimension-repository_network_root_nwocoder/backstage-plugins
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/coder/backstage-plugins/issues/144#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fbackstage-plugins%2Fissues%2F144
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fbackstage-plugins%2Fissues%2F144
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fbackstage-plugins
Reloadhttps://patch-diff.githubusercontent.com/coder/backstage-plugins/issues/144
Reloadhttps://patch-diff.githubusercontent.com/coder/backstage-plugins/issues/144
Reloadhttps://patch-diff.githubusercontent.com/coder/backstage-plugins/issues/144
coder https://patch-diff.githubusercontent.com/coder
backstage-pluginshttps://patch-diff.githubusercontent.com/coder/backstage-plugins
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcoder%2Fbackstage-plugins
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2Fcoder%2Fbackstage-plugins
Star 62 https://patch-diff.githubusercontent.com/login?return_to=%2Fcoder%2Fbackstage-plugins
Code https://patch-diff.githubusercontent.com/coder/backstage-plugins
Issues 19 https://patch-diff.githubusercontent.com/coder/backstage-plugins/issues
Pull requests 4 https://patch-diff.githubusercontent.com/coder/backstage-plugins/pulls
Actions https://patch-diff.githubusercontent.com/coder/backstage-plugins/actions
Projects 0 https://patch-diff.githubusercontent.com/coder/backstage-plugins/projects
Security 0 https://patch-diff.githubusercontent.com/coder/backstage-plugins/security
Insights https://patch-diff.githubusercontent.com/coder/backstage-plugins/pulse
Code https://patch-diff.githubusercontent.com/coder/backstage-plugins
Issues https://patch-diff.githubusercontent.com/coder/backstage-plugins/issues
Pull requests https://patch-diff.githubusercontent.com/coder/backstage-plugins/pulls
Actions https://patch-diff.githubusercontent.com/coder/backstage-plugins/actions
Projects https://patch-diff.githubusercontent.com/coder/backstage-plugins/projects
Security https://patch-diff.githubusercontent.com/coder/backstage-plugins/security
Insights https://patch-diff.githubusercontent.com/coder/backstage-plugins/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/coder/backstage-plugins/issues/144
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/coder/backstage-plugins/issues/144
Auto-cloning a Gitlab repo fails with "unable to update url base from redirection"https://patch-diff.githubusercontent.com/coder/backstage-plugins/issues/144#top
bugSomething isn't workinghttps://github.com/coder/backstage-plugins/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedExtra attention is neededhttps://github.com/coder/backstage-plugins/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/paulm-jones
https://github.com/paulm-jones
paulm-joneshttps://github.com/paulm-jones
on Oct 22, 2024https://github.com/coder/backstage-plugins/issues/144#issue-2605675759
https://gitlab.com/myorg/myrepo/-/blob/main/?ref_type=headshttps://gitlab.com/myorg/myrepo/-/blob/main/?ref_type=heads
#117https://github.com/coder/backstage-plugins/issues/117
210https://github.com/coder/modules/pull/210#issue-2217313475
https://gitlab.com/myorg/myrepohttps://gitlab.com/myorg/myrepo
bugSomething isn't workinghttps://github.com/coder/backstage-plugins/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedExtra attention is neededhttps://github.com/coder/backstage-plugins/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.