Consolidate documentation build and staging in CI
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Start with build-docs.yml and the two existing build steps, then read the scripts they call, build_all_docs.sh and build_docs.sh, plus ci/tools/build_docs_for_link_check.sh. Compare staged paths before and after the change for the aggregate build, the metapackage root, and each component directory. Done means one combined step that produces the same staged layout, with release cleanup applied after staging.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
— codex on behalf of Ralf —
Motivation
build-docs.yml currently has separate Build all docs and Build component docs steps. Both choose between a release build and latest-only, run a builder, and stage the output under artifacts/docs. #3521 makes the release cleanup common to both. A single Build and stage docs step would make it easier to follow what gets built and what reaches deployment.
Proposed design
Put the orchestration in a workflow-owned script. Pass the selected component, the release flag, the staging destination, and the resolved bindings package root when building cuda-bindings.
- Resolve the source directory, build command, and output destination once. For
all, call the aggregate builder. For a single component, call that package’s builder. Choose the release orlatest-onlyarguments once. - Preserve the staged layout. The metapackage goes at the root and the other components go under
cuda-bindings/,cuda-core/, andcuda-pathfinder/. The current aggregate uses CUDA 13 bindings. An individual bindings build uses the resolved CUDA 12 or CUDA 13 root. - Apply #3521’s release cleanup after staging. Omit
latest/,nv-versions.json,versions.json, andobjects.invat the staged component roots. Keep the versioned pages and inventory inside each version directory. - Preserve the input to the rendered-link checks, artifact uploads, and deployment. Keep their existing conditions and the Pages overlay behavior.
Start by calling the checked-out source’s build_all_docs.sh and build_docs.sh. These commands also serve local builds and the rendered-link checker. Consider factoring common behavior among the package builders separately, with attention to their version normalization, Sphinx options, generated files, and selector paths. Local build commands · Rendered-link build caller
Release compatibility
Take this up after the historical documentation cleanup and any selected backfills. Keep regular releases working from supported tags with the schema-v2 package registry. The workflow revision owns orchestration and staging, and the source tag supplies its build recipes and package layout. Pre-split tags can use the existing historical procedure with a compatible caller, verified artifacts, and isolated validation. If the package builders are later consolidated, use the supported registry as the compatibility boundary. Release compatibility guidance
Validation
- Compare staged paths and contents before and after the refactor for ordinary and release builds. Cover the aggregate, the metapackage root, the named component directories, and both resolved bindings roots.
- Check that normal staging includes the shared files, release staging preserves the versioned docs, and overlaying a release payload leaves the published shared files in place.
- Rehearse the normal docs preview and use isolated release dry runs for supported CUDA 12 and CUDA 13 tags to exercise the workflow/source revision split.
- Vorherrschende Sprache
- Cython
- Sterne
- 3.4k
- Forks
- 353
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 163
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine 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 NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesEvtl. vergeben @Iamsohungrynow hat das vor 5 Tagen übernommen. Offenbug cuda.core P1
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
NVIDIA/cuda-python#3505 · 3 Kommentare · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countOffentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
NVIDIA/cuda-python#3468 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
NVIDIA/cuda-python#3409 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsEvtl. wieder frei @rwgk hat das vor 48 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
NVIDIA/cuda-python#2952 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupEvtl. vergeben @rwgk hat das vor 62 Tagen übernommen. Offentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NVIDIA/cuda-python#2646 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NVIDIA/cuda-python
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
kaiachain/kaia#1143 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
test(kubernetes-nodes): stop hand-typing the default Talos version in tests that are not about itOffenarea/testing kind/cleanup triage/needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
cozystack/cozystack#5456 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 3 Tagen
-
aikido high security
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 66/100
dequelabs/axe-core-nuget#312 ·
-
area/build-framework kind/enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
yugabyte/yugabyte-db#39342 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Remove Home Hub and the old working name from variable names, database names and test fixturesOffencleanup
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
CivicTechWR/accessible-housing-portal#634 ·
Maintainer antworten meist innerhalb von 1 Tag