muhammedkalkan / openlens Goto Github PK
View Code? Open in Web Editor NEWOpenLens Binary Build Repository
OpenLens Binary Build Repository
Kindly add .deb packages for Debian/Ubuntu ARM64.
Also include build instructions.
I have a working build for ARM64 Debian/Ubuntu and can share the details.
6.1.19 version cannot connect to AWS EKS cluster running 1.21, it complains about apiVersion:
F1115 16:35:16.837628 5912 main.go:82] failed to initialize proxyexec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
Updating the config file using "aws eks update-config" didn't help.
Kubeectl is 1.23.3.
Is there a way forward?
Thanks for any help.
The winget package does not install because the hash does not match to the installerfiles hash.
The manifest says: SHA256: 20b2e7420be69284d6cb35549a6507343da52d0ab0af4d72f0c74d7d6d63793b
The calculatet sha256 is Sha256: 21228e88b8e1fa18f2a77ccd19e627c1238b79d3274c629e924bc2a3e218139d which is the same as statet in https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.1/OpenLens-6.0.1.exe.sha256
Please provide scoop.sh installer support
like Lens https://github.com/ScoopInstaller/Extras/blob/47e79f9ea4/bucket/lens.json
https://github.com/MuhammedKalkan/OpenLens/runs/6666587671?check_suite_focus=true#step:12:10 (Post-checkout, if it doesn't expand)
It is attempting to update the submodule and erroring out. The submodule should probably just be removed, based on the rest of the workflow.
The mac .dmg
package can easily be installed by dropping the app into /Applications
, but then most users won't be able to run it due to lack of trusted signature. Is there a way for the GitHub action to pick up some credential for a Mac developer during build?
The current workflow uses the official Lens auto-update mechanism (https://lens-binaries.s3.amazonaws.com/ide/latest-mac.yml) to detect the latest version.
Since this repo does not depend on official Lens builds, consider to switch the latest version detection based on the git tags on https://github.com/lensapp/lens/
e.g.
curl -sSfL https://github.com/lensapp/lens/releases.atom | grep -oP "(?<=<title>)v[^<]+" | head -n1
v6.1.0
requires gnu grep (may not work in mac os)
Hello,
the badge seems to indicate a failed build for 6.2.0 and the actions has failed. And yet, magically we have the assets produced for 6.2.0 somehow. Can we get a clarification of what is going on here?
Thank you in advance!
^ add mac arm64 (m1) build
the amd64 version is very very slow on m1 mac
Hi,
on Amazon Linux 2 (which is closely related to CentOS 7 and shares most of its package versions) I can't get the AppImage version of OpenLens to work, it throws the following error:
[redacted@redacted ~]$ /opt/OpenLens.AppImage
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
- /tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js
- /tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/index.js
- /tmp/.mount_OpenLeuf9S7P/resources/app.asar/static/build/main.js
-
at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
at Module.load (node:internal/modules/cjs/loader:988:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
'/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/index.js',
'/tmp/.mount_OpenLeuf9S7P/resources/app.asar/static/build/main.js',
undefined
]
}
(node:18882) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `open-lens --trace-deprecation ...` to show where the warning was created)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.U8mC8o)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
at Module._extensions..node (node:internal/modules/cjs/loader:1203:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2039)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
[18882:1103/103947.723854:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface 'org.freedesktop.portal.FileChooser'
[18882:1103/103947.723997:ERROR:select_file_dialog_linux_portal.cc(242)] Failed to read portal version property
[19162:1103/103948.077148:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[19181:1103/103948.276636:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[19196:1103/103948.412883:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
the "official" Lens AppImage build works. Can I do something about this or do I need a system with a newer GLibc?
Thank you!
Context: lensapp/lens#5444 (comment)
Update README.md to address the following
--- Can't submit a PR, so pasting updated README.md below ---
This is repo only provides binaries for the OpenLens repo. For software issues regarding OpenLens or the Lens IDE, go to the Lens repo and open an issue there. They will be closed if opened on this repo.
This is the Binary Build Repo for the Lens repository aka OpenLens. This build only includes the open source part of the Lens IDE and does not require login. This repo was created due to lensapp/lens#5444.
Download and use as is. If you have trouble about not seeing pod logs, remove old config files / extensions remaining from old Lens app.
Auto Updater is now live starting with every binary downloaded with the Latest
tag or the corresponding release assets.
Paraphrasing from the OpenLens README
The OpenLens repository, is where Team Lens (Mirantis) develops the Lens IDE product together with the community. It is backed by a number of Kubernetes and cloud native ecosystem pioneers. This source code is available to everyone under the MIT license.
The Kubernetes management tool Lens IDE is a distribution of the OpenLens repository with Team Lens specific customizations released under a traditional EULA.
Go to Releases and download the relevant binary for your system.
brew install --cask openlens
todo
todo
It would be nice to be able to install openlens as a Cask using brew install openlens
on macOS.
So I made a formula at https://github.com/janhoy/homebrew-cask/blob/open-lens/Casks/openlens.rb which works locally. I assume that the .dmg
here is UniversalBinary, i.e. will work on both x64 and arm64? I have only tested on arm (M1).
However there are two issues that must be solved for us to submit a PR for it:
The Mac app is not signed, which is a blocker for new users. See #1
This repository needs 30 forks, 30 watchers and 75 stars to be eligible for HomeBrew:
audit for openlens: failed
- GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)
Error: 1 problem in 1 cask detected
Can you change the setting to not update automatically
Trying to install 6.2.5 via brew results in the error below:
/tmp brew install --cask openlens
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.5/OpenLens-6.2.5.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/4be95a7a-dc85-4a7c-a3f5-fc23678ad9ae?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=A
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: edb95dd9c105ccdc5e64b94432175ad5812502eb8a1b36fa8a2bb6a2b1f3c00a
Actual: c606162e05152a2f43b83f5d618a9085d184965fa2e571643d80be1b48664c2c
File: /Users/rajaiealkorani/Library/Caches/Homebrew/downloads/86950502d2536e660c72e4119b1d034e7b944d44a5d779bd1c9211d6bdc959c8--OpenLens-6.2.5.dmg
To retry an incomplete download, remove the file above.
Is there a way to avoid this issue without manually updating the .sha via brew edit
?
I just applied this incoming version update by hitting the green update button in the top left corner of the main window.
On restart, the splash screen "loading..." did not close, the main window opened in the background. This was reproducible after killing and try again. It resolved only after I tried again, this time with launching OpenLens with "run as administrator".
Where is your spec file? I'd like to build signed packages for openSUSE (and possibly fedora) on OBS.
Since app is not signed, Auto updater notifies and downloads the new release, but can not install when selected Yes from popup.
User needs to manually install the update after receiving the notification for it.
Signed app wont have this issue hopefully
I think that .deb
packages were built on Ubuntu 20.04 with a higher version of glibc which is not available on Ubuntu 18.04.
This breaks installation on Ubuntu 18.04.
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.V1L3QF)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1170:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2027)
at Module.load (node:internal/modules/cjs/loader:982:32)
at Module._load (node:internal/modules/cjs/loader:823:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1006:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
at Module._compile (node:internal/modules/cjs/loader:1110:14)
I use OpenLens 6.0.0 on MacOS from your repo. Now it shows an Update and if I click on "Relaunch to Update Lens" it brings an JavaScript error.
Uncaught Exception: Error: Tried to install update but no update was discovered. at /Applications/OpenLens.app/Contents/Resources/app.asar/static/build/main.js:1:298901 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53225 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53247 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53197 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:19214 at S (/Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53404) at IpcMainImpl.r (/Applications/OpenLens.app/Contents/Resources/app.asar/static/build/main.js:1:482472) at IpcMainImpl.emit (node:events:394:28) at IpcMainImpl.emit (node:domain:470:12) at Object.<anonymous> (node:electron/js2c/browser_init:165:9959)
I tried downloading the arm64.dmg and the arm64.zip of the new version 6.0.0 release, however in both cases after several downloads and re-downloads the resulting application cannot be opened.
Mac OS version: Ventura Version 13.0 Beta (22A5311f)
Hardware: MacBook Pro Apple M1 Pro
Crash report:
I'll submit readme improvement shortly
(to avoid the impression that Linux isn't supported)
As the package is unsigned, Windows Defender blocks package from installation.
Can an ARM version of 5.5.4 please be added to releases?
6.0.0 just has too many bugs (notably infinite spinning on loading helm releases, HPAs showing % usage incorrectly). Some of these are fixed upstream, but I'm not sure when they're going to release 6.0.1.
Add 7-Zip as a context menu option by running: "C:\Users\jyurk\scoop\apps\7zip\current\install-context.reg"
Installing 'openlens' (6.2.0) [64bit] from extras bucket
OpenLens-6.2.0.exe (118.4 MB) [===============================================================================] 100%
Checking hash of OpenLens-6.2.0.exe ... ERROR Hash check failed!
App: extras/openlens
URL: https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.0/OpenLens-6.2.0.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected: ef53aec8269084ab07973ec3b4f0b8edc55dfdeb06d1d7c2bc53eaa923d15231
Actual: c761f2db930d239d4e4175eadf07411325e90208d545e2c3515c887e1a5841bf
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=openlens%406.2.0%3a+hash+check+failed
It looks like there is a SHA mismatch on the latest release for arm64 on brew
$ brew install --cask openlens
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.1/OpenLens-6.2.1-arm64.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/d1486410-533a-4770-9dde-ccaee67e4ec9?X-Amz-Algorithm=AWS4-HMAC-SH
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 5aad8a7a5e7626921836f434dbdb0678c39f0fb41ea54c94e55417a639cb0e8c
Actual: 52c287a264b8a0c3c10a3286a22d171e60d079e9c68a316df470b84075398071
File: /Users/dominicdejacomo/Library/Caches/Homebrew/downloads/2bbef6d137fb3ad3b8a174914056bad468e4a1930e819cb7feb87e6b3de5afef--OpenLens-6.2.1-arm64.dmg
To retry an incomplete download, remove the file above.
Hello I got such an issue on arm64, tried a different version, but got the same issue
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
open-lens --trace-deprecation ...
to show where the warning was created)I've installed OpenLens and I can observe that my zsh history is flooded with openLens calls like
'/Applications/OpenLens.app/Contents/MacOS/OpenLens' -p '"(someHash)" + JSON.stringify(process.env) + "(ThisSameSomeHash)"'
it's a bit frustrating and I didn't see this in the standard Lens app. What's going on?
Looking at OpenLens latest version here, lensapp/lens#6823 (comment), they've removed extension responsible for those buttons.
Is there anyway for us to bring them back into this fork? for example in pipeline, before building the binaries, add back the extension (possible?) and then build the binaries.
On all my machines windows/mac i have pinned the version of open lens in brew
or chocolatey
to 6.25.
(Until we have a solution to the removal of pod logs
and shell
buttons.)
However it still periodically pulls updates and installs them if I restart my machine or lens.
Is there a way to prevent updates being found as its just repulled and installed 6.3.0
?
It says that it's not a valid binary file.
I get this in the logs when checking for updates:
Checking for update
Error: Error: Cannot find channel "latest-linux.yml" update info: HttpError: 404
"method: GET url: https://github.com/MuhammedKalkan/OpenLens/releases/download/Latest/latest-linux.yml?noCache=1glke9iuo\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
"server": "GitHub.com",
"date": "Sat, 31 Dec 2022 15:55:03 GMT",
"content-type": "text/plain; charset=utf-8",
"vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With",
"cache-control": "no-cache",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-frame-options": "deny",
"x-content-type-options": "nosniff",
"x-xss-protection": "0",
"referrer-policy": "no-referrer-when-downgrade",
"content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
"content-encoding": "gzip",
"content-length": "29",
"x-github-request-id": "CE36:FFC3:BF47F61:C67449A:63B05B43"
}
...
error: ┃ [32] at async r (/tmp/.mount_openleJmyQt7/resources/app.asar/static/build/main.js:2:413870)
error: ┃ [33] at async /tmp/.mount_openleJmyQt7/resources/app.asar/static/build/main.js:2:416534
error: ┗ [34] { code: 'ERR_UPDATER_CHANNEL_FILE_NOT_FOUND' }
It would be nice to have release notes copied from original Lens releases.
I have an an automated provisioning tool for populating developer spaces (laptops, VMs, docker images) and it would be nice to provision OpenLens but the URL structure for the current downloads makes that difficult without a lot of conditional logic. Might it be possible to create the standard tar.gz files for the platforms along with what's currently being done?
For example the template URL might look like this:
https://github.com/MuhammedKalkan/OpenLens/releases/download/v{version}/OpenLens-{version}-{os}-{arch}.tar.gz
And specific URLs based on the version
, os
, and arch
might look like the following:
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-darwin-amd64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-darwin-arm64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-linux-amd64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-linux-arm64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-windows-amd64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-windows-arm64.tar.gz
In this way knowing the version
and detecting the os
and arch
it's very easy to grab the right tar.gz file for a given user.
Thanks!
Jason
When using this build, will the program check for automatic updates here or in the original Mirantis build, or somewhere else entirely?
this has been happening for a couple of days now
==> Upgrading 1 outdated package:
openlens 6.2.1 -> 6.2.3
==> Upgrading openlens
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.3/OpenLens-6.2.3.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/b9206374-1e79-4d23-afa9-cb90fd621c69?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221128%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221128T130629Z&X-Amz-Expires=300&X-Amz-Signature=b03df67ba274dfed63fe5a6ffdaa409d81c8dfc3fde2ab27f4805df8191e17fd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=497304002&response-content-disposition=attachment%3B%20filename%3DOpenLens-6.2.3.dmg&response-content-type=application%2Foctet-stream
Error: openlens: SHA256 mismatch
Expected: 3f16ba5def6d239be21b9ff587847ad64f2f845924cc97de395fd033fe6d7542
Actual: c95def0c10336ae0371670b5f6b14ecdfaa78df04104338b9dcd7c5dfa2cbd2c
File: /Users/mohamed.arafa/Library/Caches/Homebrew/downloads/efd6c85b749136131c5af637271ea06a6ef879f7cc0d37fdea80bcff281e5ac8--OpenLens-6.2.3.dmg
To retry an incomplete download, remove the file above.
==> Purging files for version 6.2.3 of Cask openlens
i have deleted the download and repeated and i got the same result. any ideas?
OpenLens 6.3.0 arm64 does not install on macOS via brew due to SHA mismatch
~ ❯ brew install --cask openlens
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0-arm64.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/019dc6d5-ba82-4b3d-800f-5aadb87a39a4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230102%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230102T141506Z&X-Amz-Expires=300&X-Amz-Signature=22bde4ffdc3d5150eb63009a3996860acbb01e76f81
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 71c8a86161d17143251e6a9bf202d7d014573a6c6906c06f5d9ece33c2889f06
Actual: bd356557c1518f7e2d95166de4d0abfff6e4c49141c060fe7e3eef2a0303a1f5
Hi
is there any plan to add this to brew for macOS?
After I updated to OpenLens 6.3.0, I miss those buttons.
Meanwhile, I can just run myself kubectl to do it, but it is possible to get it back?
To be clear, it is missing in the "..." menu from the pod selection menu, but also in the top toolbar when is pod is selected
I do have tried this under a hardend stable Gentoo Linux:
$ cat ~/.local/share/applications/openlens.desktop
[Desktop Entry]
Name=OpenLens
Exec=/usr/local/bin/OpenLens-6.0.0.AppImage %U
Terminal=false
Type=Application
Icon=lens
StartupWMClass=Lens
Comment=OpenLens
MimeType=x-scheme-handler/lens;
Categories=Development;
It worked fine with Lens in the past.
With OpenLens the start up window does not appear. After I removed the %U the app startup window at least appeared - and then KDE hangs.
Starting from the command line works flawlessly.
There is no release for version 6.2.0 for Apple Silicon.
Currently, it's not possible to verify the workflow which build lens runs successfully before merge into main.
This results into required reverts in the history, atleast by me.
A proposal would be to enable OpenLens builds on pull requests but exclude the push step on them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.