I am trying to install Tiki 21.4 using less space possible.
I did not know what was about to find.
Zip from Sourceforge the folder "vendor_bundle/vendor" is already full of files.
I don't understand really why, since there is a very useful Composer running in the setup.sh .
The best practice is to leave out from a repository the "vendor" folder, because it contains just external libraries.
It is a bad practice to include in a Git project the Composer files, indeed you haven't gitted them, but are still included in the main release zip, which is still wrong to me and confusing.
If there is a "setup.sh" to execute, that actually use Composer to update the external libraries, just remove the "vendor" folder from the zip.
Git From Gitlab, checkout to tag 21.4, everything is similar to the Sourceforge download (I mean, of course), but the "language" folder is a lot bigger (approx 100MB bigger).
It appears that many "language.php" files are of about 1.9MB instead of approx 100KB of the files from Sourceforge.
The difference? There are thousands of commented rows.
For some reasons, the Sourceforge zip contains cleaned language files.
This is wrong to me, but maybe are there some valid explanations?
Some other problems:
The files ".editorconfig", ".gitattributes" and ".gitlab-ci.yml" are present in both Sourceforge and Gitlab download. Those files are used by the Tiki devs, but they should not be included in the release zips.
".editorconfig" and ".gitattributes" are harmless but still useless.
".gitlab-ci.yml" is instead dangerous and his presence to be considered a bug. I gitted my just donwloaded Tiki installation to our Gitlab community platform, and I broke the repository. A "pipeline error" popped up in Gitlab, I didn't know what to do until someone noticed that file. I could luckily get rid of the new repo, but in other circumstances I would be in trouble.
Please, delete it asap, maybe using the "setup.sh" script?
In conclusion, to start a project using Tiki 21, using Git and Gitlab, I have to:
- Download the zip from Sourceforge;
- Delete the "vendor_bundle/vendor" folder;
- Run "sh setup.sh";
- In my .gitignore file, include: ".editorconfig, .gitattributes, gitlab-ci.yml, /vendor_bundle/vendor".
- Then I can commit and push and start to develop my project.
Few things actually to do, hope to be useful to others.