v2.0.0
IMPORTANT: You must first run the upgrade script in https://github.com/eXist-db/public-repo/blob/master/modules/upgrade-to-v2-storage.xq before installing v2! Also, the minimum required version is now eXist 5.0.0.
-
Breaking changes:
- With this new version, packages are now stored outside of the public-repo app (in
/db/apps/public-repo-data
, to make upgrades of this app possible without a manual backup. Despite the changes in storage, no public API changes have been introduced: the HTML listings, download URLs, API endpoints, etc. are unchanged. - Now, only users in the "repo" group can publish packages (not "dba" users) - #53 (see known issues below)
- With this new version, packages are now stored outside of the public-repo app (in
-
New: A logging and statistics facility has been added. A rudimentary listing of the top 5 downloaded packages can be seen on the "admin" page.
-
Improved: The name and structure of metadata resources introduced in #52 has been updated (from "app" to "package" and "apps" to "package-groups") and streamlined, and all related functions have been renamed for internal consistency. Extensive refactoring to make future work easier and customization via "config.xqm" possible.
-
Improved: The app's dependency on the crypto library has been removed.
-
Fixed: Fixed the problem where a listing of packages compatible with an older version of eXist shows incorrect package information for the latest (incompatible) version. Now all views correctly limit themselves to compatible versions. Any incompatible versions that must be shown are still offered for download, but with an explicit mention of required eXist versions.
-
Known issues: Other repo group users aren't able to upload - #55