speedianet / os

Speedia OS is a container operating system designed so you never have to write a Dockerfile again.
https://speedia.net/os/
Eclipse Public License 2.0
11 stars 2 forks source link

feat: add install and uninstall cmd steps to mktplace #107

Open polillomm opened 5 days ago

polillomm commented 5 days ago

Related to #51

polillomm commented 5 days ago

Test report

Testing focused on ensuring that subdirectories remain intact when a marketplace item is uninstalled. Previously, all files in the root directory (/app/html) were deleted when a marketplace item was uninstalled, regardless of the type of virtual host. With these modifications, any marketplace item can now be uninstalled from any virtual host, including the primary one, without affecting the others.

Uninstalling (virtual host type X marketplace item)

This table aims to present cross results between the uninstallation of a specific marketplace item and other marketplace items, including itself, across various types of virtual hosts, to ensure that subdirectories are being respected.

Drupal | | Drupal | Joomla! | LAMP | Laravel | OpenCart | WordPress |--------|--------|--------|--------|--------|--------|--------| | _primary_ | 🟡 | 🟡 | 🟡 | 🟡 | 🟡 | 🟡 | | _top-level_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _subdomain_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 Working 🟡 Partially working 🔴 Not working ⚪️ Not tested yet
Joomla! | | Drupal | Joomla! | LAMP | Laravel | OpenCart | WordPress |--------|--------|--------|--------|--------|--------|--------| | _primary_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _top-level_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _subdomain_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 Working 🟡 Partially working 🔴 Not working ⚪️ Not tested yet
LAMP **LAMP** does not have this test table because it is a stack and does not have installation files that need to be allocated in a directory. Therefore, it will never conflict with any other item in the marketplace.
Laravel | | Drupal | Joomla! | LAMP | Laravel | OpenCart | WordPress |--------|--------|--------|--------|--------|--------|--------| | _primary_ | 🟡 | 🟡 | 🟡 | 🟡 | 🟡 | 🟡 | | _top-level_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _subdomain_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 Working 🟡 Partially working 🔴 Not working ⚪️ Not tested yet
OpenCart | | Drupal | Joomla! | LAMP | Laravel | OpenCart | WordPress |--------|--------|--------|--------|--------|--------|--------| | _primary_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _top-level_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _subdomain_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 Working 🟡 Partially working 🔴 Not working ⚪️ Not tested yet
WordPress | | Drupal | Joomla! | LAMP | Laravel | OpenCart | WordPress |--------|--------|--------|--------|--------|--------|--------| | _primary_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | | _top-level_ | 🟢 | 🟢| 🟢 | 🟢 | 🟢 | 🟢 | | _subdomain_ | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 Working 🟡 Partially working 🔴 Not working ⚪️ Not tested yet

Aliases and wildcards were excluded for obvious reasons.

There is a known issue where OpenLiteSpeed cannot resolve the routing of other marketplace items installed in subdirectories if the one installed in the root directory has been uninstalled. This problem does not have a quick solution, so it has been moved to its own task card to be addressed later.

Moreover, there are peculiar cases that arise with installations similar to Drupal and Laravel. Here's a brief explanation of what occurs.