-
Notifications
You must be signed in to change notification settings - Fork 255
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
initial gitpod configuration #445
Conversation
4b6f73f
to
ae63a15
Compare
This actually worked out quite good. Apart from the initial config I've added a second commit with a README adjustment, allowing you to "click" on it and have a look what it does. This second commit can be amended or dropped completely. @milianw what do you think? |
can you explain when one would want to use that? can one open local files in the hotspot that is opened there? or is this meant to be used for development by people who don't want to have a local dev setup? generally, I don't know anything about gitpod and have never used nor heard about it yet. please give a better motivation in your commit message. also, we do have a pretty full featured docker image already, would it help to re-use that for gitpod? the problem would be where to host the image, as the images on ghcr.io cannot be accessed without a github token. |
Sure.
The idea is mostly to have an "instant" running dev environment without any local setup, allowing to directly start on PRs (or even just for tinkering).
Having it online at hand is also very useful when you only have a browser, no problem to do that from a tablet.
As you can ssh/scp to that machine you could also open recorded perfdata files (note: the README says something about the exported format to be unstable, not sure if that still is the case), that's a nice idea I did not have before.
The existing docker container could be used, too - this would make it "more instant" (and if it would be usable without the token could be easily users by others in Github Actions in general, the fork I've done does run and fail everything because of the missing token). But that is a general separate issue.
|
Does the link in the updated README work for you? Maybe you can tinker around a bit (keeping in mind that the initial setup takes a bit because of updating the system to QT 5.15 and building KDDockWidgets up front.... (I'm creating the Docker issue right now...) |
I don't get it, how would I compile the code in the browser then? Generally, as this is not something I'm endorsing myself, please state that clearly in the README blurb. Also better document how one would use that to work on the project, or link to the necessary documentation. As-is it's not clear to me at all how I would be using this. |
maybe just have a look? What is happening when you click on In short:
|
Thanks for trying it out - Interesting. Note: very likely the complete installation was not finished (this should get much faster with #446) Please have a look at the 4 tasks (those in the lower right corner) that start when the workspace starts they wait for each other and I think the last one was not finished, as soon a it is (and it waits for all other tasks as necessary) hotspot should open (and then you may open the xfce in a separate window). |
Where do you see the 4 tasks, can you please highlight the area in the screenshot? I cannot see anything indicating an ongoing task |
Sure. To ensure I have a "clean start" for that I've went to https://gitpod.io/workspaces and clicked on "delete" of the existing workspace, then opened it new (from URL or from workspace overview, doesn't matter). The tasks (active and finished) ar in the lower right corner As you may see now, the three above are a bit "greyed out" - because they ar finished, what you also see is that hotspot was started. ... at least I hope you can reproduce it. And hey, that is X11 again so the issue #339 can be seen there, too. |
3e0a2bc
to
421e75f
Compare
Rebased and rechecked, open for comments. The main "open" issue was: can we include the online/gitpod note and "link" in HACKING or should the last commit be adjusted/removed? |
4707370
to
b3049a5
Compare
4a812a2
to
1defb54
Compare
Rebased to current master, updated all dependencies and updated to Ubuntu Jammy. |
cc78a04
to
2953d41
Compare
@milianw I've moved the doc note. If you're fine with the current state I'd adjust it to this repo, so you can pull; if not please drop a note which changes you would like to see. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can (should?) all be one commit as the individual pieces don't really add any value on their own?
that said - for me only the little remark in the documentation is needed before this can land. As I won't be using this myself, I want to make it clear that I won't maintain this myself. Can we maybe instead just link a GitPod.md file in your fork of hotspot on github, where you explain this setup and then people can report issues there?
Squashing the commits would be possible, sure. Linking to an external repo seems bad, as there is no control over that (and personally I try to clean up the repos under my username on GH, too). Still adding a sentence like "Note: This Gitpod setup is maintained by @GitMensch and not used by @KDAB itself." to that paragraph would be possible. What do you think? |
* setup worker * build KDDockWidgets * build perf * build hotspot * x11 config allowing to preview the GUI * gitignore for clangd
thanks |
Thanks for merging it in, this makes at least my PRs a lot easier :-) |
This enables easy direct work on Hotspot if you only have the browser around and removes the necessary setup for that.
Just start (wait a bit until that all is built) and work.