-
Notifications
You must be signed in to change notification settings - Fork 6
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Request to Add Useful Extensions #106
Comments
Hi @Federico-Baldan and thanks for your contribution! I think that as you did, many others could report other useful extensions for the old open lens, which we would now like to use on Freelens. The extension https://github.com/freelensapp/freelens-node-pod-menu has been forked because it is considered essential and we would like to bring it back directly as a default feature of Freelens. For the others at the moment, if they already work with Open Lens, they can be easily adapted for Freelens, as was done for "freelens-node-pod-menu". The adaptation could be requested via an open issue to the same authors of a given extension. If the extension is not carried forward, those who want it can, if the license allows it, fork it and make their own to adapt to Freelens. If it is considered particularly important, but the original authors are no longer developing it, we can fork it, if the license allows it, creating a repository in the freelensapp organization and leaving the development to the relative volunteer contributors. The first option, in case of extensions already existing and already working, should be to open an issue to the original authors, what do you think? @dex4er |
do you think you can contribute by trying to open an issue on the extension repositories you indicated to ask if the projects are still alive and if they can adapt them themselves or create a version for Freelens? If so, you can indicate here in this issue the links to the open issues so we can keep track of them. If we understand that the projects are closed or there is no direct will to make a version for Freelens, we will see depending on the license to try to do it directly by creating new repos in the freelensapp org. Let us know what you think, thanks! |
I ask myself, if it's possible to setup a freelens compatible app without breaking compatibility to OpenLens? |
@jkroepke We use different namespace for the modules |
My request: Multi Pod Logs Lens Extension |
Interesting! Will you open an issue to ask about Freelens compatibility? |
Thanks @jkroepke for your contributions! |
Then we can refer it also on the readme for example @dex4er |
Thanks @mmoriani so @Federico-Baldan you can test it! |
Does node resolve the packages name by file system? If so, a symlink may be sufficient. symlink k8slens link to freelens |
WIndows does not have symlinks. |
of course, windows have symlinks: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mklink Secondly, electron asar archive support symlinks as well. |
Ok, so as I checked, it won't help us: it is very easy to adapt plugins from (Open)Lens to Freelens, but it would be difficult to make them working in 2 different applications from the same TGZ package. It is because of dependencies and incompatible namespaces of the modules. My experiment: andrea-falco/lens-multi-pod-logs@master...dex4er:freelens-multi-pod-logs:freelens The installed extension works: Rather than introducing the methods incompatible with Node.js ecosystem and actually hackish (ie. using symlinks) we should help to adapt some extensions or do it ourselves as they are on Free and Open-Source licenses. It the best case we can just fork some repos, patch it then publish NPM pakages to our namespace and update any further changes from the upstream repos. |
Since open lens is stuck at the end of 2023 and there is no further support for old extensions, I think it comes naturally that they will continue alongside Freelens, since adapting them is currently very easy. |
@dex4er thats fine and I would agree with you. Symlink could be a low hanging fruit, but fail fast and reject the proposal is fine to me. I agree, compability to freelens is just search and replace, I do that already on a branch and test it locally. Everythink works fine including the old lens bugs on install 😅 |
@jkroepke So what I really think, symlinks are not really low hanging fruit because of how NPM works. freelens/packages/core/src/extensions/install-extension/install-extension.injectable.ts Line 18 in 925788d
npm link command with some fake @k8slens/extensions package that really uses our @freelensapp/extensions maybe.
So it will be some additional tricky code with not so clear tricks to fool NPM vs single search-and-replace in source module of extension. |
@jkroepke Please open issue about every bug. Thanks! |
Great @jkroepke!! Thank you very much! Also for your questions and thoughts on extensions compatibility. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi :),
I would like to suggest adding the following extensions, which were previously available and provided significant utility:
Certificate Info:
Description: Retrieves detailed information about certificates stored in secrets, such as expiry dates.
Repository: Certificate Info Extension
Version Update:
Description: Allows users to easily update the image tags of containers (including CronJobs).
Repository: Version Update Extension
Debug Pods:
Description: Provides an option to run debug pods easily via the lens menu.
Repository: Debug Pods Extension
Note: This extension is currently not functional in OpenLens, but it was working as of two years ago.
Kubernetes distribution: Rancher
Desktop OS: Ubuntu 24.04
The text was updated successfully, but these errors were encountered: