Hello,
I am a bit lost with the git module installation. The documentation say :
git submodule add https://github.com/expressobits/inventory-system.git addons/inventory-system
git submodule update --init --recursive
But the plugin get installed not in the correct directory;
I expected : addons/inventory-system/bin/inventory_system.gdextension
And I got : addons\inventory-system\inventory-system\addons\inventory-system\bin\inventory_system.gdextension
So the addon is not loading and Godot complain about a duplicated project.godot file.
Then I notice the module branch so I used it to install it;
git submodule add -b module https://github.com/expressobits/inventory-system.git addons/inventory-system
Now I am getting the correct path and the addon is loading;
res://addons/inventory-system/bin/inventory_system.gdextension
The problem now is that my .git folder load 478Mb of data and in the addon directory I have 126Mb of data.
I guess it's because I have loaded 3 previous versions. So in the future this folder will be big.
I tried to use the depth 1 option but did not worked;
git submodule add --depth 1 -b module https://github.com/expressobits/inventory-system.git addons/inventory-system
Cloning into 'test/addons/inventory-system'...
remote: Enumerating objects: 299, done.
remote: Counting objects: 100% (299/299), done.
remote: Compressing objects: 100% (264/264), done.
remote: Total 299 (delta 53), reused 175 (delta 21), pack-reused 0 (from 0)Receiving objects: 97% (291/299), 37.70 MiB | 18.78 MiB/s
Receiving objects: 100% (299/299), 40.10 MiB | 18.33 MiB/s, done.
Resolving deltas: 100% (53/53), done.
fatal: 'origin/module' is not a commit and a branch 'module' cannot be created from it
fatal: unable to checkout submodule 'addons/inventory-system'
The commits between the addon branch and the module branch are not in sync so I don't know if I can use the module branch or if it's just a test. The release tab is missing the 2.11.0 that is present in the module branch but not in the addon branch.
There is also some branch that could probably be deleted like the copilot ones I think the repo need a good cleanup for this new year.
Until I find a better way I have installed the addon from the asset lib and git ignore it
Hello,
I am a bit lost with the git module installation. The documentation say :
But the plugin get installed not in the correct directory;
I expected : addons/inventory-system/bin/inventory_system.gdextension
And I got : addons\inventory-system\inventory-system\addons\inventory-system\bin\inventory_system.gdextension
So the addon is not loading and Godot complain about a duplicated project.godot file.
Then I notice the module branch so I used it to install it;
Now I am getting the correct path and the addon is loading;
res://addons/inventory-system/bin/inventory_system.gdextension
The problem now is that my .git folder load 478Mb of data and in the addon directory I have 126Mb of data.
I guess it's because I have loaded 3 previous versions. So in the future this folder will be big.
I tried to use the depth 1 option but did not worked;
The commits between the addon branch and the module branch are not in sync so I don't know if I can use the module branch or if it's just a test. The release tab is missing the 2.11.0 that is present in the module branch but not in the addon branch.
There is also some branch that could probably be deleted like the copilot ones I think the repo need a good cleanup for this new year.
Until I find a better way I have installed the addon from the asset lib and git ignore it