FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Generate shared drive usage report CSV

Merged Robin Goodall requested to merge shared-drive-usage-stats into main

Based of !30 (merged) - so that needs merging first

Was going to update https://gitlab.developers.cam.ac.uk/uis/devops/gsuite/operational-documentation/-/snippets/255 but thought it was about time to add this functionality to the gdrivemanager tool, especially as it already had google drive and lookup api client code.

First two commits is the splitting the manage.py (and its tests) as it was just too big (so reviewing each commit may be easier).

Example output CSV: https://drive.google.com/file/d/1LW0W8UIm9AIAAoLo1ePiFzNZ4BYGor2Q/view?usp=drive_link

Added to Google Sheet: https://docs.google.com/spreadsheets/d/1kqIiOfKoCmLkdS5VHvxUIREKMAVtW-OHd9I_k9qHmjE/edit

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
    • Resolved by Mike Knee

      Could you please move the test_manage_* tests to gdrivemanager/manage/tests/ (and then drop the manage from the test file name). Sorry, I know this is a little fussy, but that matches our pattern with the Django apps and is better for consistency if we're keeping our tests in the same structure as our regular source code.

  • Robin Goodall added 1 commit

    added 1 commit

    • b4a2774f - review: move manage tests to appropriate subfolder

    Compare with previous version

  • Robin Goodall reset approvals from @jb2595 by pushing to the branch

    reset approvals from @jb2595 by pushing to the branch

  • mentioned in issue #33 (closed)

  • James Barr removed review request for @jb2595

    removed review request for @jb2595

  • Mike Knee approved this merge request

    approved this merge request

  • LGTM!

  • Robin Goodall resolved all threads

    resolved all threads

  • Robin Goodall mentioned in commit 7b288607

    mentioned in commit 7b288607

  • merged

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading