-
Notifications
You must be signed in to change notification settings - Fork 7
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
Provide Snap package #38
Comments
Snap must be built outside electron-builder as the used version uses deprecated Because Lens uses $HOME/.kube and $HOME/.freelens we must to build it in |
It makes less sens to distribute Snap packages outside https://snapcraft.io/ (similarly to Flatpaks outside https://flathub.org/). In that case, I'm going to remove Snaps from our releases as we need only DEB package. |
https://github.com/freelensapp/freelens-snap is created. We need ubuntu one account to register the package and ask for extra privileges in sandbox (~/.kube and ~/.freelens directories). |
Snap package is missing in action. Nobody knows how to re-register "freelens" name. Nobody can help us. Anyway, it'll be a big problem to register "classic" Snap package and I'm afraid the "strict" confinement package would be just useless for users, without access to the applications from host (custom authentication in .kube/config). |
So now we have registered package named |
As a heavy Lens user, I never use standard .kube/config, I have several folders of configs, one config per cluster and I setup sync of these configs. So, for me specifically it won't be an issue |
@elephantum It is more about using extra authentication agents than ~/.kube/config which can be used in strict mode too. We just can't include any existing Cloud SDK to the Snap package. Flatpak can call commands from the host OS via tunnel, Snap doesn't provide such option. I asked for classic confinement: https://forum.snapcraft.io/t/request-classic-confinement-for-freelens-previous-name-was-revoked/45663 |
@dex4er thanks for clarification! Indeed, that's much bigger issue and we really need authentication agents to work |
We could add Ubuntu Snap packages and distribute them in https://snapcraft.io/
Our electron-builder unfortunately does not support
base
option so it builds by default forcore18
base.However we can build new Snap package based on existing DEB package (see https://www.electronjs.org/docs/latest/tutorial/snapcraft#using-an-existing-debian-package) then handling Snaps would be separate job in GHA.
We can build and publish separate packages for main repo and nightly.
The text was updated successfully, but these errors were encountered: