Windows tests: symlink access requires dev mode or elevated access
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 57/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- csharp
- Bereich
- documentation, testing
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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)
- Vorherrschende Sprache
- C#
- Sterne
- 107
- Forks
- 22
- Ø Merge
- 3 T. 2 Std.
- Gemergte PRs (30 T.)
- 13
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ForNeVeR/TruePath
-
Wrong values of Kernel32.FileShare.Delete and Kernel32.FileAttributes.PosixSemanticsEvtl. vergeben @ElectLive hat das vor 1 Tag übernommen. Offenbug good first issue help wanted
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 83/100
ForNeVeR/TruePath#241 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
AbsolutePath.ReadKind allocates a new 16 KiB buffer per directory on Windows: the pooled buffer is not returned on failureEvtl. vergeben @FalconTechDev hat das vor 1 Tag übernommen. Offenenhancement good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
ForNeVeR/TruePath#240 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ForNeVeR/TruePath#165 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue help wanted
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 57/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement help wanted
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in ForNeVeR/TruePath
Ähnliche Issues
-
bug priority: P2
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Docs] README/PRIVACY still name AppCenter although v1.5.6.0+ uses the Microsoft Store Services SDKOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Azure/azure-sdk-tools#17317 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Test
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
Maintainer antworten meist innerhalb von 1 Tag