Comments (6)
source
was the parameter that I found to put the URL in that would result in the repository being passed in.
from devpod.
You're right, it's working. I took your urls and carefully recreated mine and both worked. I'm working on a private repo so I can't share exact links but those are the formats that worked:
devpod://[email protected]:my-org/my-repo.git&workspace=my-workspace&provider=docker&ide=vscode
https://devpod.sh/open#[email protected]:my-org/my-repo.git&workspace=my-workspace&provider=docker&ide=vscode
I'm not yet using the prebuild feature, but is there a parameter to pass this value into the urls as well?
Another thing I noticed, is that prefilling the workspace input with the above urls works as long as devpod is already running. When devpod is not running, then the links will open devpod to the workspaces list section in the app, but not to the prefilled create workspace page.
from devpod.
I'm not yet using the prebuild feature, but is there a parameter to pass this value into the urls as well?
Not a URL parameter but it's available as a customization in the devcontainer.json
"customizations": {
"devpod": {
"prebuildRepository": "ghcr.io/my-org/my-repo"
}
}
from devpod.
Hey @martinbiard, thanks for opening the issue.
The current format for deeplinks is documented here, the only difference when relaying through devpod.sh/open
is that you can omit the source
parameter name. The rest works the same.
The deeplink
devpod://open?source=your-url-encoded-source&workspace=my-workspace&provider=docker&ide=vscode
becomes
https://devpod.sh/open#your-url-encoded-source&workspace=my-workspace&provider=docker&ide=vscode
Another neat trick is to just omit the source for github based repos, devpod.sh figures it out via the referrer header
As for the popup, that looks weird indeed, I'm wondering what windows is up to this time π it's not reproducible on linux or macOS for me
from devpod.
Thanks @pascalbreuninger
Yes, those are the links I tried, but I have these issues:
- The
devpod://
url scheme does not work at all, I can paste it in chrome and chrome asks if I want to open it with devpod but if I accept, it never makes it to the devpod app (not sure how to debug this further). - The https url scheme going through the devpod.sh website works better, it will actually bring up devpod and prefill the source with my github repo url. However, as mentioned in my original post, it won't prefill anything else even though I'm passing them as parameters (workspace, provider, ide).
from devpod.
@martinbiard I can't repro this on macOS, maybe it's a windows issue - we'll look into it.
Could you paste the updated url you're trying it with here please?
from devpod.
Related Issues (20)
- use docker not support HOT 1
- Proxy Environment Variables HOT 2
- Allow user to opt into pre release updates HOT 4
- Rebuild option should first update from repository HOT 2
- Pushing prebuilt workspace to private AWS ECR HOT 1
- Docker Compose Prebuilds Support HOT 1
- Connecting with SSH timed out HOT 20
- DevPod is launching outdated IDE version HOT 2
- Dotfiles cloned before ssh-agent is started HOT 29
- On initial UI AppImage startup: { "name": "ContextError" } HOT 3
- Test Issue Synching Scenario
- Test Issue Synching
- Issue Synching test
- Test Issue Synching
- No admin Installation HOT 1
- feature apt-get-packages fails with devpod HOT 4
- Cannot connect to desktop VSCode, ENAMETOOLONG HOT 6
- Feature for display via UI if packages are not up to date or vulnerabilities exists for environments/workspaces HOT 2
- Canβt use Intellij as IDE HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devpod.