Package Details: lens 6.5.2-1

Git Clone URL: https://aur.archlinux.org/lens.git (read-only, click to copy)
Package Base: lens
Description: The Kubernetes IDE
Upstream URL: https://k8slens.dev
Keywords: aks dashboard devops kubernetes
Licenses: MIT
Conflicts: lens-bin
Submitter: dbirks
Maintainer: ogarcia
Last Packager: ogarcia
Votes: 8
Popularity: 0.038566
First Submitted: 2020-03-27 06:44 (UTC)
Last Updated: 2023-06-19 09:09 (UTC)

Dependencies (7)

Required by (0)

Sources (3)

Pinned Comments

ogarcia commented on 2024-01-26 09:29 (UTC) (edited on 2024-01-26 09:31 (UTC) by ogarcia)

WARNING: Lens has closed its source code

Lens has officially become a closed source application so this package will no longer be updated and may soon request to be removed from the AUR.

If you are interested in continuing to use Lens you can use the lens-bin binary package or, better, use an open source alternative such as k9s, kdash, Headlamp or Seabird.

Latest Comments

1 2 3 4 5 Next › Last »

MarsSeed commented on 2024-03-25 18:19 (UTC)

Please kindly submit this for deletion. As it has been broken on Arch Linux since September 2023, when nodejs-lts-gallium got deleted from repo.

(In Feb 2024, an older version of that has been uploaded to AUR, but it is dead on arrival, cannot be compiled. Its maintainer @tallero/@truocolo is known to make more defunct or even spam packages than working ones, often with dubious, suspicious, obfuscated PKGBUILDs that might harm the system).

ogarcia commented on 2024-01-26 09:29 (UTC) (edited on 2024-01-26 09:31 (UTC) by ogarcia)

WARNING: Lens has closed its source code

Lens has officially become a closed source application so this package will no longer be updated and may soon request to be removed from the AUR.

If you are interested in continuing to use Lens you can use the lens-bin binary package or, better, use an open source alternative such as k9s, kdash, Headlamp or Seabird.

ogarcia commented on 2023-12-19 14:54 (UTC)

@pauliunas I can't. Simply because the source code only compiles with nodejs-lts-galium. I don't understand why it has not been moved to the AUR. You can download the PKGBUILD from here and compile it yourself.

In any case it seems to me that we are going to have to look for a replacement for Lens since it seems that they have closed the code.

pauliunas commented on 2023-12-19 14:41 (UTC)

The nodejs-lts-gallium package is removed, please update this script

ivanfedotov commented on 2023-06-19 14:34 (UTC)

@ogarcia thank you! I tried providing kubectl path in settings, but port forwarding still produced ENOENT for /usr/share/${pkgname}/resources/x64/kubectl

ogarcia commented on 2023-06-19 09:12 (UTC)

@ivanfedotov you can define the location of kubectl in settings, but I just added your suggestion anyway.

ivanfedotov commented on 2023-06-19 08:48 (UTC)

@ogarcia could you please add symlink to kubectl in the PKGBUILD (just like it was done with helm). I'm having trouble with the port forwarding otherwise.

  # symlink kubectl binary
  ln -sf /usr/bin/kubectl \
    "${pkgdir}"/usr/share/${pkgname}/resources/x64/kubectl

Aganim commented on 2023-06-14 09:00 (UTC)

I didn't realise that it was an issue with the lensapp project instead of this package. I'll blame it on being new to the Arch ecosystem and missing @Bitals' comment. :)

Thanks for your efforts @ogarcia!

ogarcia commented on 2023-06-12 10:48 (UTC)

@Aganim You should open an issue in the upstream (or better reuse this issue) as this is beyond the scope of the application packaging. Please note that the construction of the package is being done as instructed by the Lens development team.

Aganim commented on 2023-06-12 07:05 (UTC)

@ogarcia, building it in a chroot doesn't resolve the issue for me:

open-lens: lens-app-main:
open-lens:   assets by status 20 KiB [cached] 1 asset
open-lens:   orphan modules 8.96 KiB [orphan] 10 modules
open-lens:   runtime modules 1.25 KiB 5 modules
open-lens:   built modules 14.3 KiB [built]
open-lens:     modules by path ../src/ 14.1 KiB
open-lens:       modules by path ../src/common/ 11.7 KiB 4 modules
open-lens:       modules by path ../src/main/ 2.43 KiB
open-lens:         ../src/main/index.ts + 7 modules 1.96 KiB [not cacheable] [built] [code generated]
open-lens:         + 2 modules
open-lens:     modules by path external "@k8slens/ 168 bytes
open-lens:       modules by path external "@k8slens/legacy-extension-example/ 84 bytes
open-lens:         external "@k8slens/legacy-extension-example/main" 42 bytes [built] [code generated]
open-lens:         external "@k8slens/legacy-extension-example/renderer" 42 bytes [built] [code generated]
open-lens:       external "@k8slens/core/main" 42 bytes [built] [code generated]
open-lens:       external "@k8slens/application" 42 bytes [built] [code generated]
open-lens:     external "@ogre-tools/injectable" 42 bytes [built] [code generated]
open-lens:   ERROR in /build/lens/src/lens-6.5.2/open-lens/src/main/index.ts
open-lens:   7:7-27
open-lens:   [tsl] ERROR in /build/lens/src/lens-6.5.2/open-lens/src/main/index.ts(7,8)
open-lens:         TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:   ERROR in /build/lens/src/lens-6.5.2/open-lens/src/main/index.ts
open-lens:   62:7-27
open-lens:   [tsl] ERROR in /build/lens/src/lens-6.5.2/open-lens/src/main/index.ts(62,8)
open-lens:         TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:   ERROR in /build/lens/src/lens-6.5.2/open-lens/src/main/node-env.injectable.ts
open-lens:   ../src/main/node-env.injectable.ts 2:38-58
open-lens:   [tsl] ERROR in /build/lens/src/lens-6.5.2/open-lens/src/main/node-env.injectable.ts(2,39)
open-lens:         TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:    @ ../src/main/ sync \.injectable\.tsx?$ ./node-env.injectable.ts
open-lens:    @ ../src/main/index.ts 25:16-77
open-lens:   ERROR in /build/lens/src/lens-6.5.2/open-lens/src/renderer/index.ts
open-lens:   13:7-31
open-lens:   [tsl] ERROR in /build/lens/src/lens-6.5.2/open-lens/src/renderer/index.ts(13,8)
open-lens:         TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:   ERROR in /build/lens/src/lens-6.5.2/open-lens/src/renderer/index.ts
open-lens:   76:7-31
open-lens:   [tsl] ERROR in /build/lens/src/lens-6.5.2/open-lens/src/renderer/index.ts(76,8)
open-lens:         TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:   ERROR in /build/lens/src/lens-6.5.2/open-lens/src/renderer/node-env.injectable.ts
open-lens:   2:38-62
open-lens:   [tsl] ERROR in /build/lens/src/lens-6.5.2/open-lens/src/renderer/node-env.injectable.ts(2,39)
open-lens:         TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:   6 errors have detailed information that is not shown.
open-lens:   Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
open-lens:   lens-app-main (webpack 5.83.1) compiled with 6 errors in 5210 ms
open-lens: lens-app-renderer:
open-lens:   assets by status 4.62 MiB [cached] 4 assets
open-lens:   orphan modules 246 KiB [orphan] 277 modules
open-lens:   runtime modules 1.37 KiB 6 modules
open-lens:   cacheable modules 2.99 MiB
open-lens:     modules by path ../node_modules/ 2.77 MiB
open-lens:       javascript modules 2.77 MiB 382 modules
open-lens:       json modules 3.52 KiB 3 modules
open-lens:     modules by path ../packages/ 200 KiB 45 modules
open-lens:     modules by path ./src/ 16.4 KiB
open-lens:       modules by path ./src/common/ 12.4 KiB 3 modules
open-lens:       modules by path ./src/renderer/*.ts 3.96 KiB
open-lens:         ./src/renderer/index.ts + 5 modules 3.67 KiB [built] [code generated]
open-lens:         ./src/renderer/node-env.injectable.ts 298 bytes [optional] [built] [code generated]
open-lens:   + 26 modules
open-lens:   ERROR in ./src/common/example-bundled-extension.injectable.ts 14:20-77
open-lens:   Module not found: Error: Can't resolve '@k8slens/legacy-extension-example/main' in '/build/lens/src/lens-6.5.2/open-lens/src/common'
open-lens:    @ ./src/common/ sync \.injectable\.tsx?$
open-lens:    @ ./src/renderer/index.ts 34:12-80
open-lens:   ERROR in ./src/common/example-bundled-extension.injectable.ts 15:24-85
open-lens:   Module not found: Error: Can't resolve '@k8slens/legacy-extension-example/renderer' in '/build/lens/src/lens-6.5.2/open-lens/src/common'
open-lens:    @ ./src/common/ sync \.injectable\.tsx?$
open-lens:    @ ./src/renderer/index.ts 34:12-80
open-lens:   ERROR in ./src/renderer/index.ts 1:0-30
open-lens:   Module not found: Error: Can't resolve '@k8slens/core/styles' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/index.ts 2:0-32
open-lens:   Module not found: Error: Can't resolve '@k8slens/button/styles' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/index.ts 3:0-40
open-lens:   Module not found: Error: Can't resolve '@k8slens/error-boundary/styles' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/index.ts 4:0-33
open-lens:   Module not found: Error: Can't resolve '@k8slens/tooltip/styles' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/index.ts 5:0-41
open-lens:   Module not found: Error: Can't resolve '@k8slens/resizing-anchor/styles' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/index.ts 7:0-139
open-lens:   Module not found: Error: Can't resolve '@k8slens/core/renderer' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/node-env.injectable.ts 2:0-63
open-lens:   Module not found: Error: Can't resolve '@k8slens/core/renderer' in '/build/lens/src/lens-6.5.2/open-lens/src/renderer'
open-lens:    @ ./src/renderer/ sync \.injectable\.tsx?$ ./node-env.injectable.ts
open-lens:    @ ./src/renderer/index.ts 33:12-73
open-lens:   ERROR in unable to locate '/build/lens/src/lens-6.5.2/packages/core/static/build/library/fonts' glob
open-lens:   ERROR in ./src/main/index.ts:7:8
open-lens:   TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:        5 |   commonExtensionApi as Common,
open-lens:        6 |   registerLensCore,
open-lens:     >  7 | } from "@k8slens/core/main";
open-lens:          |        ^^^^^^^^^^^^^^^^^^^^
open-lens:        8 | import { createContainer } from "@ogre-tools/injectable";
open-lens:        9 | import { registerMobX } from "@ogre-tools/injectable-extension-for-mobx";
open-lens:       10 | import { registerFeature } from "@k8slens/feature-core";
open-lens:   ERROR in ./src/main/index.ts:62:8
open-lens:   TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:       60 |   Mobx,
open-lens:       61 |   Pty,
open-lens:     > 62 | } from "@k8slens/core/main";
open-lens:          |        ^^^^^^^^^^^^^^^^^^^^
open-lens:       63 |
open-lens:       64 | export const LensExtensions = {
open-lens:       65 |   Main,
open-lens:   ERROR in ./src/main/node-env.injectable.ts:2:39
open-lens:   TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:       1 | import { getInjectable } from "@ogre-tools/injectable";
open-lens:     > 2 | import { nodeEnvInjectionToken } from "@k8slens/core/main";
open-lens:         |                                       ^^^^^^^^^^^^^^^^^^^^
open-lens:       3 |
open-lens:       4 | export const nodeEnvInjectable = getInjectable({
open-lens:       5 |   id: "node-env",
open-lens:   ERROR in ./src/renderer/index.ts:13:8
open-lens:   TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:       11 |   registerLensCore,
open-lens:       12 |   metricsFeature,
open-lens:     > 13 | } from "@k8slens/core/renderer";
open-lens:          |        ^^^^^^^^^^^^^^^^^^^^^^^^
open-lens:       14 | import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
open-lens:       15 | import { registerFeature } from "@k8slens/feature-core";
open-lens:       16 | import {
open-lens:   ERROR in ./src/renderer/index.ts:76:8
open-lens:   TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:       74 |   Mobx,
open-lens:       75 |   MobxReact,
open-lens:     > 76 | } from "@k8slens/core/renderer";
open-lens:          |        ^^^^^^^^^^^^^^^^^^^^^^^^
open-lens:       77 |
open-lens:       78 | export const LensExtensions = {
open-lens:       79 |   Renderer,
open-lens:   ERROR in ./src/renderer/node-env.injectable.ts:2:39
open-lens:   TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:       1 | import { getInjectable } from "@ogre-tools/injectable";
open-lens:     > 2 | import { nodeEnvInjectionToken } from "@k8slens/core/renderer";
open-lens:         |                                       ^^^^^^^^^^^^^^^^^^^^^^^^
open-lens:       3 |
open-lens:       4 | export const nodeEnvInjectable = getInjectable({
open-lens:       5 |   id: "node-env",
open-lens:   9 errors have detailed information that is not shown.
open-lens:   Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
open-lens:   lens-app-renderer (webpack 5.83.1) compiled with 16 errors in 7009 ms
open-lens: npm ERR! Lifecycle script `build` failed with error: 
open-lens: npm ERR! Error: command failed 
open-lens: npm ERR!   in workspace: open-lens@6.5.2 
open-lens: npm ERR!   at location: /build/lens/src/lens-6.5.2/open-lens

I believe I got 6.4.4 to build by passing --concurrency=1 to Lerna (but it's been a while, so memory is a bit cloudy on that), but unfortunately that doesn't seem to fix the build for 6.5.2 anymore.