Add an API diff workflow
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia leggendo il workflow esistente per le API breakage e traccia come viene eseguito sulle pull request. Determina come ottenere il diff di swiftinterface, o un equivalente per i package senza library evolution, e confronta la possibilità di presentarlo come commento alla PR rispetto all’output di un GitHub check. Il lavoro è completato quando il workflow rende visibile il diff dell’API e supporta la configurazione dei moduli da includere.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In addition to the existing API breakage workflow, it'd be helpful to see the diff of the swiftinterface file (or equivalent for packages that can't build with library evolution enabled) that the PR is making.
When a package has a large diff where most of the code is implementation, it can be difficult to spot the exact API changes it's making.
There are a few ways this could be surfaced to the user:
- Option A: A comment posted by the workflow back on the PR
- Option B: The workflow just printing the diff and the user needing to click on the GitHub check link and reviewing it manually
Either would be fine to start.
Presumably, this would come with some configurability, mainly the list of modules to diff - there might be internal modules that the maintainer might not care about seeing the diff of, and might even cause noise.
- Lingua principale
- Swift
- Stelle
- 115
- Fork
- 57
- Merge medio
- 1g 8h
- PR unite (30g)
- 3
Guida per i contributori
Apri 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 swiftlang/github-workflows
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
swiftlang/github-workflows#305 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
swiftlang/github-workflows#261 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
swiftlang/github-workflows#258 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
swiftlang/github-workflows#312 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
swiftlang/github-workflows#277 · 1 commento ·
Tutte le issue di swiftlang/github-workflows
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
googleapis/google-cloud-swift#1151 ·
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` Apertaclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
code health
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
apple/coreai-models#288 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100