Deprecate the snap build
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
- Ambito
- build-system, cli, release
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
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di exercism/cli
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 38/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Fetch next exerciseAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di exercism/cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
golang/go#82033 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
FootprintAI/Containarium#2338 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: core doesn't build standalone on dev since a17068054 (go-mp3 require dropped, go.sum pruned)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
SagerNet/sing-openvpn#11 ·
-
priority: P3 type: devops
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jiegui2025/hwspec#57 ·
I maintainer di solito rispondono entro 1 giorno