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

Setup GitHub Codespaces #13533

Merged
merged 2 commits into from
Mar 13, 2023
Merged

Conversation

snebjorn
Copy link
Contributor

@snebjorn snebjorn commented Sep 27, 2022

This adds support for GitHub Codespaces. It's pretty much a GitHub flavored Gitpod.

image

@wing328
@jimschubert
@cbornet
@jmini
@etherealjoy
@spacether

@snebjorn snebjorn force-pushed the feature/devcontainer branch from df7391d to 95709f5 Compare September 30, 2022 12:23
@snebjorn
Copy link
Contributor Author

I got it working with a headless chromium so now it can also run JS/TS tests 🚀

I also setup a running petstore. But it doesn't seem that anything is using it so I've commented it out again. Should someone need it they can just activate it again.

@snebjorn snebjorn force-pushed the feature/devcontainer branch from 95709f5 to 37b1132 Compare September 30, 2022 12:30
@wing328
Copy link
Member

wing328 commented Oct 3, 2022

cc @joschi as well who added Gitpod support to this repo previously

@joschi have you tried Github Codespaces? which one do you prefer?

@snebjorn
Copy link
Contributor Author

snebjorn commented Oct 3, 2022

Gitpod is probably looking into devcontianer.json support

Then users can spin up containers where ever they please :)

@joschi
Copy link
Contributor

joschi commented Oct 3, 2022

@joschi have you tried Github Codespaces? which one do you prefer?

I have played around with GitHub codespaces a little bit. In the end it's similar (almost identical) to what Gitpod is offering.

What I like better in Gitpod is that it also works with local IDEs, i. e. VSCode Desktop or any IDE based on IntelliJ IDEA: https://www.gitpod.io/docs/references/ides-and-editors/intellij

cc @joschi as well who added Gitpod support to this repo previously

@wing328 I think you still have to add the Gitpod.io GitHub App to this repository for the prebuilds to work, like I did with openapi-diff. 😉

Original PR: #12508

@snebjorn
Copy link
Contributor Author

snebjorn commented Oct 4, 2022

What I like better in Gitpod is that it also works with local IDEs, i. e. VSCode Desktop or any IDE based on IntelliJ IDEA: https://www.gitpod.io/docs/references/ides-and-editors/intellij

Github Codespaces support local IDEs.
I'm currently using the setup from this PR to develop my recent PRs in VSCode on my local machine.

@wing328 wing328 merged commit e53b6fa into OpenAPITools:master Mar 13, 2023
@snebjorn snebjorn deleted the feature/devcontainer branch March 13, 2023 16:39
@wing328 wing328 added this to the 6.5.0 milestone Apr 1, 2023
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.

3 participants