ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
179 stars 110 forks source link

Repo size report is not getting the size for OPTs in S3 #1067

Closed ppazos closed 4 years ago

ppazos commented 4 years ago

Describe the bug

Fix after merging the S3 branch.

Example:

This is the list of all files in S3:

Note the OPTs size. In the dashboard only the size for the committed version is shown *4247 bytes" in KB.

ppazos commented 4 years ago

Size is being calculated OK and saved into the Account record in the current_opt_repo_size column OK. The issue is the GUI is not taking that amount into account when showing the total repo size in the dashboard.

ppazos commented 4 years ago

Fixed on https://github.com/ppazos/cabolabs-ehrserver/commit/de0cdb3646fc97caf95be0ad6033a08422d061b5