-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store repo size (in kB) in database (#1221)
* Add hg command to get repo size in kB * Add DB migration for RepoSizeInKb column * Update project repo size after any Send/Receive * GQL mutation to update project repo size This one is open to anyone who can view the project, so that frontend code can automatically look up the project size if it's missing, with no manual button clicks necessary. * Show repo size (in kB) on project page * Report size in megabytes, might be fractional Only use one digit after the decimal point; nobody cares if a project's size is 766.734 MB. 766.7 MB is more than precise enough. --------- Co-authored-by: Tim Haasdyk <[email protected]>
- Loading branch information
Showing
15 changed files
with
1,554 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.