[Tiki-devel] composer.tiki.org cleanup
Jean-Marc Libs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <CA++RN4duREY=K03Dk2T4vR2U+mPS-2mCsEFifbVH9N6ojxkiQg@mail.gmail.com> |
Hi folks, composer.tiki.org kept storing more and more packages and never removed any and this was getting out of hand (partitions getting full on composer.tiki.org and on backup servers). As was discussed during the last Tiki Roundtable Meeting ( https://tiki.org/Roundtable-Meeting-2022-06 ), we seem to store a huge number of outdated versions of all our packages. Actually, we store every package version which has ever been mentioned in composer.lock in branch master. Victor and Ricardo have written scripts for cleaning up useless package versions in order to reclaim some room on the server. Thanks! We have done a backup of our huge current store and Ricardo has run the cleanup script (doc/devtools/satis_composer_packages_gitlab.php). Now we will only keep all package versions which are in files composer.lock from tagged (officially released) versions and heads of branches. *What does it mean?* If you have installed Tiki from a released tar, zip, etc from sourceforge, you got all the third-party packages with Tiki and you are not concerned. I think there is no reason for you to run « sh setup.sh » and use option "c" (composer update) but if you still want to, it should work because you have a composer.lock file from a tagged version. If you install Tiki from Gitlab (or svn), you need to run « sh setup.sh » and use option "c" (composer update) and it should work because you have a composer.lock file from the head of the branch you checked out. I think you have no reason to do the composer update again later. If you installed Tiki from Gitlab (or svn) in the past and have a reason to need to run « sh setup.sh → c », it will probably fail to find some packages. You will need to run « git pull » and fetch the latest composer.lock file. This is good because you will also get the latest fixes and improvements. :-) Please correct me if I misunderstood something and also please report if you encounter new issues of not finding packages while doing sh setup.sh → c and doing « git pull » does not help. Cheers, Jyhem _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel