Tag web_backend / web_frontend submodule commits when cutting a release
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 67/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- git, github
- Ambito
- release
Direzione di ricerca
Leggi RELEASING.md, in particolare i passaggi per il rilascio e per il release candidate relativi alla creazione di un tag sul commit di merge. Aggiungi istruzioni per creare un tag e fare push di ciascun commit fissato di web_backend e web_frontend nel rispettivo repository template, seguendo i comandi nell’issue. Il lavoro sarà completo quando entrambe le procedure, di rilascio e RC, includeranno questi passaggi e il prossimo rilascio creerà i tag specificati in entrambi i repository.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Each OpenRVDAS release tag pins exact commits of the web_backend (OceanDataTools/fastapi-template) and web_frontend (OceanDataTools/vite-react-template) submodules. Those repos sync their openrvdas branches to new template releases by rebasing openrvdas_dev and force-moving openrvdas (fastapi-template#56/#57, vite-react-template#114). After a sync, the commits a release pinned can sit on no branch or tag in the submodule repo.
GitHub still serves such a commit by SHA for a while, but nothing guarantees it. Once one is garbage-collected, a fresh clone of that release fails at git submodule update.
This has already happened. Backend commits pinned by v2.7.0 / v2.7.0rc9 / v2.7.1 (5f5ae19) and v2.7.0rc4–rc8 (5ee7475) were orphaned by earlier syncs. They were recovered and tagged on 2026-11-18, together with the v2.7.2 pins, which the latest sync would have orphaned:
| Repo | Tag | Commit | Pinned by |
|---|---|---|---|
| fastapi-template | openrvdas-v2.7.2-pin |
9933bb6 | v2.7.2 |
| fastapi-template | openrvdas-v2.7.1-pin |
5f5ae19 | v2.7.0, v2.7.0rc9, v2.7.1 |
| fastapi-template | openrvdas-v2.7.0rc8-pin |
5ee7475 | v2.7.0rc4–rc8 |
| vite-react-template | openrvdas-v2.7.2-pin |
5c757ce | v2.7.0, v2.7.0rc9, v2.7.1, v2.7.2 |
| vite-react-template | openrvdas-v2.7.0rc8-pin |
23ddd1c | v2.7.0rc4–rc8 |
All 70 current OpenRVDAS tags now have their submodule commits on a branch or tag. The template repos' sync procedure now checks for this before every force-push (fastapi-template#58, vite-react-template#115), but that check is a safety net. The pin should be protected when it's created.
Proposal
1. RELEASING.md: add a step after "3. Tag the merge commit", and the same for release candidates:
VERSION=v2.7.3
for sub in web_backend web_frontend; do
sha=$(git ls-tree "$VERSION" "$sub" | awk '{print $3}')
git -C "$sub" fetch origin
git -C "$sub" tag -a "openrvdas-$VERSION" "$sha" -m "$sub commit pinned by OpenRVDAS $VERSION"
git -C "$sub" push origin "openrvdas-$VERSION"
done
This needs push access to both template repos, which the maintainers already have. The tags live in the template repos, so they can't affect OpenRVDAS's own git describe / setuptools_scm version, which reads only this repo's tree (logger/utils/read_version.py).
2. Optional CI check (read-only, like the Release Tags workflow): on each release tag, and on pushes to dev that move a submodule pointer, confirm the pinned commit is contained in a branch or tag of its submodule repo. A fully automated tag push from Actions would need a token with write access to the other repos, so the manual step plus a read-only check is probably simpler.
3. Optional consistency: once this is in place, the ad hoc -pin tags above could be renamed to the openrvdas-vX.Y.Z form (one tag per pinning release), or left as they are.
Acceptance
- RELEASING.md covers tagging submodule commits for releases and release candidates.
- The next release (or RC) creates
openrvdas-<version>tags in both template repos.
- Lingua principale
- Python
- Stelle
- 57
- Fork
- 30
- Merge medio
- 3h 14m
- PR unite (30g)
- 56
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 OceanDataTools/openrvdas
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
OceanDataTools/openrvdas#758 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
OceanDataTools/openrvdas#748 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
OceanDataTools/openrvdas#743 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
OceanDataTools/openrvdas#721 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
OceanDataTools/openrvdas#717 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OceanDataTools/openrvdas
Issue simili
-
automated endpoint-dead needs-curation
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
almanac-data/climate-almanac#138 ·
I maintainer di solito rispondono entro 1 giorno
-
level/subtask type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
wazuh/wazuh-virtual-machines#1091 ·
I maintainer di solito rispondono entro 1 giorno
-
Python: Bug: ChatMessageContent.from_element drops AudioContent and BinaryContent into raw TextContentForse già presa @halcyon-past l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
microsoft/semantic-kernel#14824 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
stack314/django-neolith#142 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
LedgerHQ/app-bitcoin-legacy#306 ·