Skip to content
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

snap version out of date #1873

Open
axinojolais opened this issue Nov 23, 2022 · 17 comments
Open

snap version out of date #1873

axinojolais opened this issue Nov 23, 2022 · 17 comments
Assignees

Comments

@axinojolais
Copy link

Hello,

I'd like to give k9s a try, and the easiest way for me to do this is to use a snap.
I see that you published to the snapstore a few years ago, but the version overthere is now very out of date.

Would you mind refreshing it ?

Thanks !

@addyess
Copy link

addyess commented Mar 31, 2023

@derailed i love keeping up with the most current of this binary, but would also love it as an updated snap.

@slimus
Copy link
Collaborator

slimus commented May 9, 2023

@addyess @axinojolais I've tried to ask snapcraft team about the developer site (at least) and they just ignore my reports. If you know how to contact their team - please share contacts with me: slimusgm (at) gmail.com. Thanks!

@addyess
Copy link

addyess commented May 9, 2023

@slimus if i can get in contact with them, what kind of help do you need?

@slimus
Copy link
Collaborator

slimus commented May 9, 2023

@addyess

  1. Remove or replace 'developer site' on that page.
  2. How to get access to that page. If it's not possible - remove that page to be able to create a new one with access.

thanks in advance!

@addyess
Copy link

addyess commented May 9, 2023

@slimus

as to 1)

login from the admin who created the page in the first place, all the bits and knobs can be changed at https://snapcraft.io/k9s/listing

But it sounds like you'd first need to address 2) -- getting access

It seems to me that @derailed is the owner, and could perhaps grant others access to publish snaps?

❯ snap info k9s
name:      k9s
summary:   K9s is a CLI to view and manage your Kubernetes clusters.
publisher: Fernand Galiana (derailed)
store-url: https://snapcraft.io/k9s
contact:   fernand@imhotep.io
license:   Apache-2.0
description: |
  K9s is a CLI to view and manage your Kubernetes clusters.
  By leveraging a terminal UI, you can easily traverse Kubernetes resources
  and view the state of you clusters in a single powerful session.
snap-id: IIsGjhjg5ghn6VAZFbferlrrh4zy2kO9
channels:
  latest/stable:    0.7.12 2019-07-12 (151) 9MB -
  latest/candidate: ↑                           
  latest/beta:      ↑                           
  latest/edge:      0.5.1  2019-04-19  (99) 9MB devmode

it looks like https://forum.snapcraft.io/c/store-requests/19 might be the best way to contact the snapstore team for transferals and the like. I think i see communication regarding this project there

@addyess
Copy link

addyess commented May 9, 2023

@slimus

I also was advised that you:

ask @slimus to try registering the k9s name on https://dashboard.snapcraft.io/register-snap/. He will be asked to file a dispute and provide some rationale.

@slimus
Copy link
Collaborator

slimus commented May 10, 2023

@addyess thank you! Let me try it again and discuss it with Fernand

@addyess
Copy link

addyess commented May 10, 2023

@slimus please let me know if there's anything else i can do

@axinojolais
Copy link
Author

axinojolais commented Jun 12, 2023

@slimus hello ! I got a notification from github where you were asking us to test the snap, did that get deleted here somehow ? Anyway I tried and I updated #2123 with a comment

Thanks again

@slimus
Copy link
Collaborator

slimus commented Jun 12, 2023

@axinojolais hello! My bad, sorry. I updated snap package and then realized - I needed to do more to make it available. I'm still trying to understand the process. Thanks for the comment, I'll add apps section today.

@addyess
Copy link

addyess commented Jun 12, 2023

i was able to use the snap's binary with:

/snap/k9s/current/bin/k9s

but the alias wasn't installed in /snap/bin preventing me from simply running with

k9s

@slimus slimus self-assigned this Jun 13, 2023
@slimus
Copy link
Collaborator

slimus commented Jun 13, 2023

Because we use kube/config we should use confinement: classic. But in this case, we should go through reviewing process.
I changed snapcraft.yaml file, but still not sure about these changes.

Another problem - snap creates a temp folder in /tmp folder to isolate the disk between multiple snaps. But k9s doesn't know about this isolation, and k9s info shows (in my case) /tmp/k9s-romanenko.log but the real log is located in another place: /tmp/snap-private-tmp/snap.k9s/tmp/k9s-romanenko.log

@addyess I think I fixed your problem. Please try to reinstall k9s. Thanks!

@addyess
Copy link

addyess commented Jun 20, 2023

yeah, something still doesn't feel right, i don't believe the snap has changed

~$ sudo snap install k9s
k9s v0.27.4 from Fernand Galiana (derailed) installed
~$ k9s
Command 'k9s' not found, did you mean:
  command 'kas' from deb kas (2.6.3-2)
Try: sudo apt install <deb name>
~$ snap info k9s
name:      k9s
summary:   K9s is a CLI to view and manage your Kubernetes clusters.
publisher: Fernand Galiana (derailed)
store-url: https://snapcraft.io/k9s
contact:   fernand@imhotep.io
license:   unset
description: |
  K9s is a CLI to view and manage your Kubernetes clusters.
  By leveraging a terminal UI, you can easily traverse Kubernetes resources
  and view the state of you clusters in a single powerful session.
snap-id:      IIsGjhjg5ghn6VAZFbferlrrh4zy2kO9
tracking:     latest/stable
refresh-date: today at 15:07 UTC
channels:
  latest/stable:    v0.27.4 2023-06-10 (155) 19MB -
  latest/candidate: ↑                             
  latest/beta:      ↑                             
  latest/edge:      0.5.1   2019-04-19  (99)  9MB devmode
installed:          v0.27.4            (155) 19MB -

@SoloW1ngPixy
Copy link

SoloW1ngPixy commented Oct 6, 2023

On Ubuntu 22.04 (WSL) there still the issue with the path. Can't open k9s (command not found) after installed it with Snap.
Need to use alias k9s=/snap/k9s/current/bin/k9s to use.

@kmgrime
Copy link

kmgrime commented Nov 16, 2023

i was able to use the snap's binary with:

/snap/k9s/current/bin/k9s

but the alias wasn't installed in /snap/bin preventing me from simply running with

k9s

Can be solved with a softlink

sudo ln -s /snap/k9s/current/bin/k9s /snap/bin/

Worked on Fedora 38 after installing k9s with Snap. (:+1:

ECiurleo added a commit to ECiurleo/k9s that referenced this issue Dec 18, 2023
K9s snap is missing a symlink when installing on Ubuntu 22.04.3 LTS

This creates the link alongside the rest of the snap.
derailed pushed a commit that referenced this issue Dec 18, 2023
K9s snap is missing a symlink when installing on Ubuntu 22.04.3 LTS

This creates the link alongside the rest of the snap.
thejoeejoee pushed a commit to thejoeejoee/k9s that referenced this issue Feb 23, 2024
K9s snap is missing a symlink when installing on Ubuntu 22.04.3 LTS

This creates the link alongside the rest of the snap.
placintaalexandru pushed a commit to placintaalexandru/k9s that referenced this issue Apr 3, 2024
K9s snap is missing a symlink when installing on Ubuntu 22.04.3 LTS

This creates the link alongside the rest of the snap.
@addyess
Copy link

addyess commented Jun 20, 2024

hey @slimus sorry i've not checked back in on this for a while. I'd still love to help you get the into the store

Is there anything i can help with in the process

@chrisk8er
Copy link

i was able to use the snap's binary with:

/snap/k9s/current/bin/k9s

but the alias wasn't installed in /snap/bin preventing me from simply running with

k9s

Can be solved with a softlink

sudo ln -s /snap/k9s/current/bin/k9s /snap/bin/

Worked on Fedora 38 after installing k9s with Snap. (:+1:

your solution works for me. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants