The EuroCMS Libraries Module
This is the managing module for the EuroCMS libraries component.
What are libraries? Use composer packages? Query the https://packagist.org/ packages? Build a Libraries module that uses the packagist API to query for packages?
db structure
| library_id | domain_id | user_id | group_id | name | version | channel | author | description | license | accept_license | user_lock | status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | trid | 1.0.1 | stable | Marco Pontello | trid - file analyzer | GPL2 | true | enabled | ||
| 2 | 1 | 1 | exiftool | Phil Harvey | exiftool - metadata reader/writer | GPL2 | true | enabled |
- exiftool: you can use the system installed version, or download and install the
exiftoolversion yourself.
This is just in case hosting providers don't want to install extra packages in your system.
- trid: At the time of writing trid is not packages for a lot of Linux distros. Mainly Arch: https://pkgs.org/download/trid.
Nonetheless, one could write an update script, to update packages from the main trid website. Or, use the repo module, and have the repo module scrap the changelog version, gpg and etc...
TODO
Write a proper manager of libraries controller:
-
Update -
Delete -
Modify