codespaces-io / codespaces Goto Github PK
View Code? Open in Web Editor NEWDevops Workspaces in a Box
Home Page: https://codespaces-io.github.io/codespaces/
Devops Workspaces in a Box
Home Page: https://codespaces-io.github.io/codespaces/
Currently Codespaces is setup with GitHub as user name and [email protected] as email. Codespaces should inherit the username and email from the user instead of these defaults.
It's a huge waste of time for people working DCO checks that require correct commit sign-off.
There is a post in the Github Community that's almost 2 years old asking for this to be fixed: https://github.community/t/incorrect-signer-when-using-git-commit-s/137012
I'm trying to use go to definition
shortcut in Codespaces' VSCode but it doesn't have the expected outcome. By default, the keyboard combination was set to cmd+F12
. That was not working so I change the shortcut. Still didn't work. Any ideas how to make this work or under what conditions will/will not work?
Thank you.
Perhaps I'm just doing this wrong, but here's what I'm doing and what's going wrong.
First, I use VS Code on my Mac laptop and my Windows desktop. Although I've installed and tried a variety of themes, here's the built-in VS Code Dark theme when editing a JavaScript file in one of my projects.
I recently tried working on that same project in a Codespace, and attempted to install all the same extensions, and set the Theme again to the built-in Dark theme, but got no syntax highlighting at all:
When I switch to the Dark+ theme (that I believe also comes with VS Code) it looks the same on my laptop or desktop (as in the first image above--very good) but only a tiny bit better on Codespaces:
I'm not sure if it's related, but just in case it is, I will mention that, when attempting to enable several of the themes I installed from the marketplace, I would get errors like the one shown below.
Again, not sure that's related, but it's information you have, if it's helpful.
I was expecting the same syntax highlighting behavior in VS Code locally and in Codespaces, or at least something just as useful even if it weren't identical. However, as you can see from the images above, there is significantly less (sometimes zero) syntax highlighting in Codespaces, which is a serious drawback.
Perhaps I'm doing something wrong?
When using F5 to run my java service, the light does not light up.
Navigating to the forwarded local address works, so the app itself is building and running correctly.
Using a run task that maps to the command mvnw spring-boot:run
does cause the light to work correctly.
I get the following output when running F5:
[Client:extension:0b18:liveshare:connection:0327240E2767E6F01ADF98EE412F8A1C64C5:liveshare:WorkspaceClient V] > serverSharing.sharingChanged:
[Client:extension:0b18:resolver:onSharingChanged:5000:Port: 5000 V] run> object #0: {
"sourcePort": 5000,
"destinationPort": 0,
"sessionName": "Port: 5000",
"streamName": "server_sharing",
"streamCondition": "5000",
"browseUrl": "",
"privacy": "private",
"isTCPServerConnectionEstablished": true,
"hasTLSHandshakePassed": false
}
[Client:extension:0b18:resolver:onSharingChanged:5000:Port: 5000 W] trying to change non-existing tunnel
Hi Team,
I just booted up a jupyter template and I cant run any cell or markdown.when I trying to import packages it gives me errors like
"unused pandas imported as pd"
"missing module docstring"
any advice on how to resolve this?Thanks.
We do the static port forwarding right now and drive it through the docker-compose file. However, we should ideally have a feature in akurath to connect to any given port on a node, and open a popup, similar to the project run feature of akurath.
This project explains how to forward ports manually, which works fine.
My objective is to simplify the instructions, in particular, to create forwarded the port via the .devcontainer
. My source was this doc.
I duplicated the working project to create this new project, with an altered .devcontainer
:
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "../For_VSCode.dockerfile",
// Set *default* container specific settings.json values on container create.
"settings": {},
// add network -- enable this as required, e.g., https://valhuber.github.io/ApiLogicServer/Database-Connectivity/
// "runArgs": ["--network=dev-network"],
// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python"],
"portsAttributes": {
"5656": {
"label": "AdminApp"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
5656
]
// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
The port is, in fact, created. The problem appears to be that the port is not public. I verified that by doing it manually.
I tried to explore the code completion, to no avail:
....
So, seeking suggestions on creating a public port via the devcontainer
.
docker-compose up -d getting ERROR: could not find plugin bridge in v1 plugin registry: plugin not found.
after deployment no nodes showing up getting no nodes
Should we decide on a license for the repo
Trying to use codespaces with repositories that are hosted with GitHub enterprises, I enter an authentication loop that eventually fails, because the GitHub API blocks me from making further requests. Happy to provide more details on a private channel.
I would like to login into a codespace for my app (https://github.com/sachavieuxroy/firebasecodespaceflutterdemo) on gitHub codespaces using google chrome. Then using the vscode ide running in the browser, I would like to keep working on my app from anywhere, if I have access to an internet connection and a chrome web browser.
Note: GitHub codespaces seems to have some problems with running my application on Android that it does not have on a desktop computer.
Here is a link to a video of me creating/using a github codespace for this application : https://go.sachavieuxroy.com/firebasecodespaceflutterdemo
http://www.codespaces.io/ offline..
Hello, recently CentOS was deprecated and all updates mirrors stop working, so it is even impossible to install something via Yum in Ansible playbooks, so the question is simple - do you planning to rebase your Codespace environment images to another distro?
Thanks
Pokemon
Originally posted by @1881R in #29 (review)
Many users confuse you with the Codespaces feature in GitHub.
I get an error like below. Please help fix.
cs-ansible_app2_1 is up-to-date
cs-ansible_app3_1 is up-to-dateStarting cs-ansible_lb_1 ...
cs-ansible_app1_1 is up-to-date
cs-ansible_control_1 is up-to-date
Starting cs-ansible_lb_1 ... error
ERROR: for cs-ansible_lb_1 Cannot start service lb: b'driver failed programming external connectivity on endpoint cs-ansible_lb_1 (a970554eee17d99395856636524633a3d8af2967e3a1ef27e7e141f66b6d4e7a): Error starting userland proxy: Bind for 0.0.0.0:80 failed: port is already allocated'
ERROR: for lb Cannot start service lb: b'driver failed programming external connectivity on endpoint cs-ansible_lb_1 (a970554eee17d99395856636524633a3d8af2967e3a1ef27e7e141f66b6d4e7a): Error starting userland proxy: Bind for 0.0.0.0:80 failed: port is already allocated'
ERROR: Encountered errors while bringing up the project.
cs-ansible_app1_1 /bin/bash /bootstrap.sh Up 22/tcp, 0.0.0.0:81->80/tcp
cs-ansible_app2_1 /bin/bash /bootstrap.sh Up 22/tcp, 0.0.0.0:82->80/tcp
cs-ansible_app3_1 /usr/sbin/sshd -D Up 22/tcp, 0.0.0.0:83->80/tcp
cs-ansible_control_1 /bin/sh -c /usr/bin/akurat ... Up 22/tcp, 0.0.0.0:8000->8000/tcp
cs-ansible_db_1 /bin/bash /bootstrap.sh Up 22/tcp, 0.0.0.0:3306->3306/tcp
cs-ansible_lb_1 /bin/bash /bootstrap.sh Exit 128
Hey i am getting this error on branch master
Pulling docker (docker-controller:latest)...
ERROR: repository docker-controller not found: does not exist or no pull access
Hdhd
Logging into Codespaces IDE the terminal addon fails. So no terminal is available.
Issue opened in CodeboxIDE/codebox#524 as well.
Need to add language support for chef DSL. Ruby is already present, however chef is not available yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.