-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ports need descriptions #3059
Comments
@svenefftinge It'd be great to have your input here how/when this fits on the product roadmap. |
btw we could display which command is running behind the port in the ports view? |
We'd really like this feature too, when you have ~5+ running services, spotting port "8080" or whichever is exposed gets quite cumbersome in the list. Looking at the gitpod.yml spec you marked the "name" property as deprecated, I couldn't see any reason why though? |
+1 that would be great to have :-) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
. |
Having an explicit description that is shown in the view in VS Code would be great. Ideally, we also show the program that is serving the port. @csweichel I kind of remember you mentioned this was relatively easy. |
I think we could look at cmd of the pid behind the port, similarly how VS Code does it. If we cannot use eBPF. |
We have some provisioning for using seccomp-notify for extracting the command that opened the port. It's predominantly a supervisor and workspacekit change. |
/team IDE |
@csweichel: The label(s) |
unfortunately the IDE team is currently underwater with the local companion app. Please re-schedule in two weeks time. |
/schedule |
@akosyakov: Issue scheduled in the IDE team (WIP: 0) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Unfortunately after team discussions we realised that we don't have capacity for new features and have to focus more on bug fixes and robust deployments. I removed it from the scheduled for now. |
Descriptions can be super long how we would display them in the remote explorer? It is already quite crowded there. Would be tooltip enough? cc @davemecha since you had some ideas. |
As an end-user, the biggest advantage by far of this would be to make it easy for newcomers to our projects to know exactly which of the ports they should use to view the primary application/web server. In most of ours, we have ~6 ports shown but only one of them (8080) is actually used by developers working on the project. Either the ability to highlight a port (i.e. "Launch Application") or to label with short names such as "HTTP" would be ideal. |
I would prefer a name over a description. The use case is similar to the terminals and the visualization could be as well: A tooltip would be better than nothing, but I don't think it's that helpful. I work often with multiple ports in projects. If one doesn't want to use the port names, he just can omit the field in the |
We could have both, short name as a prefix and description as a tooltip? |
Sure, as far as the tooltip is only displayed when a description field is provided in Gitpod could track the usage of those features when parsing the yml files and maybe improve further depending on usage data. :) |
As first step we will allow to specify name prefix and tooltip description in .gitpod.yml We could also auto derive prefix by probing ports for well known application protocols, and detect cmd which exposed the port as a description. But I think we need 2 new issues for that. cc @loujaybee |
Do you know about |
If I wanted to contribute myself, can I? Where is the repo that handles that? |
It is here: https://github.com/gitpod-io/openvscode-server/tree/gp-code/main |
Did anyone every get this to work? We've had descriptions in our yml's since this was merged but dont' see anything in the IDE |
Ah, I've just found #9797 which explains it |
@davidwindell yeah, I also can't wait for this feature to finally work- That would be so helpful... |
Quoted from a discussion at https://community.gitpod.io/t/ports-need-a-description/2622
.gitpod.yml
ports:
The description should then appear next to the port number (or be in a hover tip or something) anywhere a port number is displayed.
There might be a cli tool or text database on the internet to help with names of well-known or commonly used port numbers.
Yes, this is a request not for a feature but for an improvement of the Open Ports tab (and anywhere else ports are listed. )
That tab lists each port number and preview/browser/private options. Without a description for the port, one can only guess as to its purpose.
Regards,
Mark
The text was updated successfully, but these errors were encountered: