README: arrumar o texto dos submodulos e registar que o "git submodule update --init" sem alvo ja nao aborta - foi verificado num clone limpo do Gitea e do espelho do GitHub, agora que src/waypoints e conteudo e nao um gitlink sem mapeamento

This commit is contained in:
dsh
2026-10-08 16:59:15 +01:00
parent 0148385266
commit bf149c02cd
+6 -6
View File
@@ -49,12 +49,12 @@ directories. A gitlink stores only a commit id — the code itself lives in anot
repository. For a clone to bring that code, each gitlink needs a matching entry in repository. For a clone to bring that code, each gitlink needs a matching entry in
`.gitmodules`; without one, `git clone` simply creates an **empty directory**. `.gitmodules`; without one, `git clone` simply creates an **empty directory**.
Only `src/rosaria` is still a gitlink today. `src/waypoints` was replaced by in-tree Only `src/rosaria` is still a gitlink today; `src/waypoints` was replaced by in-tree
content written as a **declared reconstruction** of the lost original — see below. content written as a **declared reconstruction** of the lost original — see below.
That was the state of this repository until this fix, and it broke the build: That gitlink state broke the build: `src/robot/package.xml` declares
`src/robot/package.xml` declares `<depend>rosaria</depend>`, so while `src/rosaria` `<depend>rosaria</depend>`, so while `src/rosaria` was empty a clean clone could not be
was empty a clean clone could not be built. built.
### `src/rosaria` — origin identified, fixed here ### `src/rosaria` — origin identified, fixed here
@@ -76,8 +76,8 @@ git submodule update --init -- src/rosaria
`.gitmodules` mapping, the untargeted `git submodule update --init` aborted — git could `.gitmodules` mapping, the untargeted `git submodule update --init` aborted — git could
not resolve a URL for it — and the same happened to a bare `git submodule status`. That not resolve a URL for it — and the same happened to a bare `git submodule status`. That
is fixed: initialising by path still works, and the untargeted `git submodule update is fixed: initialising by path still works, and the untargeted `git submodule update
--init` and `git submodule status` no longer complain, because every remaining gitlink --init` and `git submodule status` were both verified to succeed on a clean clone, now
is declared. that every remaining gitlink is declared.
### `src/waypoints` — the original is LOST; what is there now is a declared reconstruction ### `src/waypoints` — the original is LOST; what is there now is a declared reconstruction