Windows tests: symlink access requires dev mode or elevated access
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- csharp
- Ambito
- documentation, testing
Direzione di ricerca
Start with the symlink tests and the CONTRIBUTING.md guidance mentioned in the issue; review discussions #205 and #243 for the reported Windows problems. Check Microsoft's documentation on symlink permissions and link it from the contributor guidance. Done when tests skip locally without symlink access, CI fails if access is unavailable, and the development mode requirement is documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currenly we have the following verse in the CONTRIBUTING.md:
Tests involving symlink creation require elevated privileges on Windows, as this is enforced at the OS level.
This is demonstrably not correct: I run tests without elevation and everything works for me.
Contributors confirm that there are problems, though: see #205 and #243.
We need to document this better (mention that dev mode is required, and confirm this against Microsoft's documentation, add a link to our docs), and to make the contributors' lives more convenient:
- check in the corresponding tests that the dev mode or elevation is available (i.e. that we are allowed to create symlinks); skip tests if not
- assert on CI that we are allowed to create symlinks (i.e. ensure that we are running the tests on CI and not skipping them silently)
- Lingua principale
- C#
- Stelle
- 107
- Fork
- 22
- Merge medio
- 3g 2h
- PR unite (30g)
- 13
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 ForNeVeR/TruePath
-
Wrong values of Kernel32.FileShare.Delete and Kernel32.FileAttributes.PosixSemanticsForse già presa @ElectLive l’ha presa 1 giorno fa. Apertabug good first issue help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
ForNeVeR/TruePath#241 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
AbsolutePath.ReadKind allocates a new 16 KiB buffer per directory on Windows: the pooled buffer is not returned on failureForse già presa @FalconTechDev l’ha presa oggi. Apertaenhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ForNeVeR/TruePath#240 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ForNeVeR/TruePath#165 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 3/5 Mezza giornata Idoneità per principianti 57/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ForNeVeR/TruePath
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
[Docs] README/PRIVACY still name AppCenter although v1.5.6.0+ uses the Microsoft Store Services SDKAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
swisstopo/swissgeol-boreholes-suite#3086 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: wiki jump bugApertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Altinn/altinn-studio#21355 ·
I maintainer di solito rispondono entro 1 giorno