extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add devpod extension

Open nicholasq opened this issue 1 year ago • 3 comments

Description

Screencast

Checklist

nicholasq avatar Sep 27 '24 06:09 nicholasq

Congratulations on your new Raycast extension! :rocket:

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

raycastbot avatar Sep 27 '24 06:09 raycastbot

What does this error mean?

devpod 2024-10-28 at 23 06 36

pernielsentikaer avatar Oct 28 '24 22:10 pernielsentikaer

What does this error mean?

devpod 2024-10-28 at 23 06 36

What were you trying to do? I will test it on my side.

nicholasq avatar Oct 28 '24 23:10 nicholasq

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Nov 18 '24 09:11 raycastbot

Is there a way so the users doesn't need to input devPodPath, there must be some defaults paths we can look in before?

There are 3 different possible locations according to the devpod GUI app. I've experimented with trying to detect the correct path with some bash commands in useExec but I can't seem to get something working. Do you have any suggestions? If not, I propose we treat this like the other extensions that expect an API key is set before the extension can be used. But in this case, it just needs to be the path to devpod (which I will explain in the extension README).

CleanShot 2024-11-23 at 18 44 37@2x

nicholasq avatar Nov 24 '24 02:11 nicholasq

I tried pushing up a new commit but I'm getting this error:

➜  devpod git:(main) npm run publish

> publish
> npx @raycast/api@latest publish

wait  - validate package.json file ..  /Users/nicholasq/Zed/devpod/package.json
   4:11  warning  Extension's title has to be Title Cased. Expected "Devpod"
  15:15  warning  Command's title has to be Title Cased. Expected "Devpod Workspaces"
ready  - validate package.json file
ready  - validate package-lock.json
ready  - validate other lock files
ready  - validate extension icons
ready  - validate extension metadata
ready  - run ESLint
ready  - run Prettier 3.3.3
ready  - getting fork
error  - preparing clone
    WC: Invalid response body while trying to fetch https://api.github.com/search/code?q=%22%5C%22name%5C%22%3A%20%5C%22devpod%5C%22%22%20%22%5C%22author%5C%22%3A%20%5C%22nicholasq%5C%22%22%20repo%3Aray
    cast%2Fextensions%20in%3Afile%20path%3Aextensions%20extension%3Ajson&per_page=3: Premature close
    Code: ERR_STREAM_PREMATURE_CLOSE

Is this possibly due to the pull request being stalled?

nicholasq avatar Nov 24 '24 02:11 nicholasq

Looks like GitHub had a hiccup. Does it work for you now?

pernielsentikaer avatar Nov 24 '24 06:11 pernielsentikaer

Looks like GitHub had a hiccup. Does it work for you now?

Silly me. I was using node 18 instead of 20 when I tried to push. Just letting you know in case it helps in the future :)

nicholasq avatar Nov 25 '24 03:11 nicholasq

Ah, makes sense 😊

pernielsentikaer avatar Nov 26 '24 10:11 pernielsentikaer

Published to the Raycast Store: https://raycast.com/nicholasq/devpod

github-actions[bot] avatar Nov 26 '24 10:11 github-actions[bot]

:tada: :tada: :tada:

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

raycastbot avatar Nov 26 '24 10:11 raycastbot