broken submodule support: Initializes a fresh git repository at an incorrect path instead of opening the correct one if the godot project is a submodule
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 66/100
Línea de trabajo
Reproduce the issue using the listed steps: open a Godot project installed in a Git submodule and observe where the plugin initializes its repository. Read the attached analysis and patch, then trace the plugin's repository-opening and initialization entry point to understand how it resolves the submodule path. Done means the plugin opens the submodule's repository rather than creating a repository in the parent repository's .git hierarchy.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Godot version
4.7.2.stable.arch_linux.ed1daf0bf
Godot Git Plugin version
4113e1109353e7f5ff23f29147e1d9b5588c4cee
System information
Archlinux
Issue description
godot-git-plugin does not work correctly if the godot project it is used in is itself a submodule - it will fail to open the submodule repository and instead initialize a new git repository within the parent repository's .git/ hierarchy.
(The use case is using godot-git-plugin in the demo scene for a godot plugin I'm developing, where the plugin is the main repository and the demo scene is a submodule in it - godot-git-plugin would be helpful here for having less-technical coworkers more easily tweak and extend the demo scene.)
I set a local Qwen3.8 instance on looking into this and fixing it and am attaching its analysis and the patch it produced (effectively, it's just a few lines), in case you find them helpful - the patch looks reasonable to me and seems to indeed solve this issue for me. (Since I'm neither familiar with the library used nor with the internals of godot-git-plugin myself, I won't pursue a PR, though.)
ai_analysis.txt
a9891dbcef.patch
Steps to reproduce
- Create a git repository
- add another git repository as submodule
- in the submodule: create a godot project and install godot-git-plugin
- observe that the plugin initializes a git repository somewhere in the parent repository's .git/ hierarchy instead of correctly opening the submodule
- Lenguaje dominante
- C++
- Estrellas
- 966
- Forks
- 100
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de godotengine/godot-git-plugin
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
godotengine/godot-git-plugin#338 ·
-
Error when switching branchAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
godotengine/godot-git-plugin#337 · 2 comentarios ·
-
bug confirmed
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
godotengine/godot-git-plugin#334 · 3 comentarios ·
-
Edit commit messageAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
godotengine/godot-git-plugin#332 ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
godotengine/godot-git-plugin#328 · 1 comentario ·
Todos los issues de godotengine/godot-git-plugin
Issues similares
-
agent:Windows bug in progress pri:medium sev:low testing windows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
protocolbuffers/protobuf#31768 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
godotengine/godot#125651 ·
Los mantenedores suelen responder en 1 día
-
Android: with view recycling on, a recycled View keeps its nextFocusLeftPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoNeeds: Triage :mag: Platform: Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react/react-native#60167 ·
Los mantenedores suelen responder en 2 días
-
Level format documentationAbiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100