Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Suggestions > Topic : Include latest version in user script info



Threaded Mode | Print  

 Include latest version in user script info (2 Replies, Read 69803 times)
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
The API to list user installations from the command line (https://www.softaculous.com/docs/cli/list-installations-from-cli) is a great resource for listing what scripts a user might have installed.
However, it does not include the latest version of the script.  So there's no way to programmatically determine if the user's script installed is the latest version (and would need an upgrade).
It includes the version of the script that the user has installed.  But without anything to compare it to, we don't know if the installed version is the latest version.
An alternative might be for Softaculous to keep a JSON either some where on their website or within the Softaculous script that lists EVERY Softaculous Script ID and the latest version of that script.  Then the two could be combined into giving the needed information to compare an installed version versus the latest available version of that script.
IP: --   

Include latest version in user script info
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
D'oh!  Nevermind.  This appears to already exist:
/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/scripts.ser
At least on cPanel - I assume it's also in it's respective directory for other control panels.
IP: --   

Include latest version in user script info
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

Glad to know you were able to find the file. Yes that file is present in all control panels in the softaculous/enduser folder.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 1:31 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.020