Abschnittsübersicht

    • Git-Struktur



      Ablauf: Schritt für Schritt

      • Alle Plugins sollen als Submodules eingebunden werden

      • Plugins in Kategorien sortiert
        • „Vanilla“ / Open Source
        • „Vanilla“ / Closed Source
        • „Angepasst“ / Open Source

      • Zwei Git-Workflows ausdefiniert („Vanilla“ / „Angepasst“)
    • How to ... Plugin Submodules

      • Hinzufügen:
        • cd <pfad-zum-root>
        • git submodule add <git-url-des-plugin-repositorys> <pfad-zum-zielordner>
        • cd <pfad-zum-zielordner>
        • git checkout <tag-oder-commit>

      • Aktualisieren:
        • cd <pfad-zum-zielordner>
        • git checkout <tag-oder-commit>

      • Entfernen:
        • cd <pfad-zum-root>
        • git submodule deinit <pfad-zum-zielordner>
        • git remove <pfad-zum-zielordner>

      Mögliche Stolpersteine

      • in einem anderen Commit wurde die Version eines Submodules geändert
        • nach Pull müssen die Module frisch initialisiert werden
          git pull
          git submodule update --recursive --init

      • unsaubere Plugin-Repositorys
        • bspw. unsaubere / fehlende Branch-Namen bzw. Tags