Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Deprecate the snap build

Aperta
#973 17 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go, shell

Direzione di ricerca

Non sono indicati file o test. Esamina l’attuale snap build e il flusso di installazione su Linux, quindi chiarisci se l’ambito previsto consiste nella dismissione, in un installer sostitutivo o in entrambe le cose. I maintainer devono definire quando il lavoro può considerarsi completato, incluso il percorso di installazione supportato e le eventuali istruzioni necessarie per gli utenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

With quite some regularity there are issues reported with the snap build.

  • It prints instructions to use the opaque and absolute snap path to binary to execute commands. One should never run those directly
  • It creates config within the sandbox but searches for them in the user dir when trying to read them
  • It It sometimes doesn't seem to have permissions to create the users config in ~/.config

And there have been other weird things reported in the gitter where the student didn't create a bug report here.

No one of the maintainers of the CLI seems able to reproduce the issues, even when using snap on their own.

Therefore my conclusion of this issue is, that the snap-sandbox is also a blackbox for us that introduces unsolvable problems. Since the introduction of the snap, requests for help with installation problems have massively increased in gitter instead of getting less.

The majority of issues are because of snap weirdnesses, and solved by removing the snap replacing it by a manual installation.
Second is beeing confused about the unpack location in a manual installation.
Third is not having installed snap properly before trying to use it to install exercism

(This ranking is based on my personal perceiption and only includes linux derivations)

And even though I still do not like the idea of having a not-managed-by-the-package-manager-program on the computer, I realy think, that creating a simple shell script, which downloads the binary for the current platform, moves it to ~/bin and prints a message that one has to add export PATH=~/bin:"$PATH" to the ~/.bashrc or ~/.zshrc respectively or equivalent commands to equivalent files in any other shell would be the best thing to do.

Students then could install by a curl https://exercism.io/get-exercism | sh or similar.

Lingua principale
Go
Stelle
1.4k
Fork
363
Merge medio
24m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di exercism/cli

Tutte le issue di exercism/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.