From 83117a1ecae3747e534442acb5ac79aac355c7f5 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 15 Jul 2024 11:35:02 -0700 Subject: [PATCH] Updated `gam print|show filecounts` --- docs/Downloads.md | 20 +++++--------------- docs/GamUpdates.md | 6 ++++++ docs/How-to-Upgrade-from-Standard-GAM.md | 4 ++-- docs/Resources.md | 4 ++++ docs/Version-and-Help.md | 12 ++++++------ src/GamUpdate.txt | 5 +++++ src/gam/__init__.py | 2 +- 7 files changed, 29 insertions(+), 24 deletions(-) diff --git a/docs/Downloads.md b/docs/Downloads.md index 8527e2ef..129b9336 100644 --- a/docs/Downloads.md +++ b/docs/Downloads.md @@ -42,31 +42,21 @@ Add the `-s` option to the end of the above commands to suppress creating the `g - Download the archive, extract the contents into some directory. - Start a terminal session and cd to the install directory. -* Executable Archive, Manual, Mac OS, versions prior to Big Sur - - `gamadv-xtd3-6.wx.yz-macos-x86_64-legacy.tar` - - Download the archive, extract the contents into some directory. - - Start a terminal session and cd to the install directory. - * Executable Archive, Manual, Windows 64 bit - `gamadv-xtd3-6.wx.yz-windows-x86_64.zip` - Download the archive, extract the contents into some directory. - - Start a terminal session and cd to the install directory. + - Start a Command Prompt/PowerShell session and cd to the install directory. * Executable Installer, Manual, Windows 64 bit - `gamadv-xtd3-6.wx.yz-windows-x86_64.msi` - Download the installer and run it. - Start a Command Prompt/PowerShell session and cd to the install directory. -* Executable Archive, Manual, Windows 32 bit - - `gamadv-xtd3-6.wx.yz-windows-x86.zip` - - Download the archive, extract the contents into some directory. - - Start a terminal session and cd to the install directory. - -* Executable Installer, Manual, Windows 32 bit - - `gamadv-xtd3-6.wx.yz-windows-x86.msi` - - Download the installer and run it. +* Winget + - `winget install taers232c.GAMADV-XTD3 --location C:\GAMADV-XTD3` + - Specify an alternate location if desired - Start a Command Prompt/PowerShell session and cd to the install directory. - + * Source, all platforms - `Source code(zip)` - `Source code(tar.gz)` diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index 7fd84452..28084859 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -10,6 +10,12 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Windows or other options, including manual installation +### 6.77.13 + +Updated `gam print|show filecounts` to reflect that Shared Drives now +have a capacity of 500000 files/folders/shortcuts. + + ### 6.77.12 Fixed bug in `gam print chatspaces todrive` that caused an error. diff --git a/docs/How-to-Upgrade-from-Standard-GAM.md b/docs/How-to-Upgrade-from-Standard-GAM.md index a268e62d..ff451d2c 100644 --- a/docs/How-to-Upgrade-from-Standard-GAM.md +++ b/docs/How-to-Upgrade-from-Standard-GAM.md @@ -335,7 +335,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin/bin/gamadv-xtd3$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin/bin/gamadv-xtd3$ ./gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAMADV-XTD3 6.77.12 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.77.13 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.4 64-bit final MacOS Sonoma 14.5 x86_64 @@ -1009,7 +1009,7 @@ writes the credentials into the file oauth2.txt. C:\GAMADV-XTD3>del C:\GAMConfig\oauth2.txt C:\GAMADV-XTD3>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAMADV-XTD3 6.77.12 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.77.13 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.4 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Resources.md b/docs/Resources.md index 26d39417..ced4623a 100644 --- a/docs/Resources.md +++ b/docs/Resources.md @@ -519,13 +519,17 @@ count = & gam print resources showitemcountonly These commands operate on a single resource calendar. ``` gam resource add acls|calendaracls + [sendnotifications ] gam resource update acls|calendaracls + [sendnotifications ] gam resource delete acls|calendaracls [] ``` These commands operate on multiple resource calendars. ``` gam resources add acls|calendaracls + [sendnotifications ] gam resources update acls|calendaracls + [sendnotifications ] gam resources delete acls|calendaracls [] ``` ## Display resource calendar ACLs diff --git a/docs/Version-and-Help.md b/docs/Version-and-Help.md index 36bb8da4..10a3a5b1 100644 --- a/docs/Version-and-Help.md +++ b/docs/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAMADV-XTD3 6.77.12 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.77.13 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.4 64-bit final MacOS Sonoma 14.5 x86_64 @@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAMADV-XTD3 6.77.12 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.77.13 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.4 64-bit final MacOS Sonoma 14.5 x86_64 @@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second Print the current version of Gam with extended details and SSL information ``` gam version extended -GAMADV-XTD3 6.77.12 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.77.13 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.4 64-bit final MacOS Sonoma 14.5 x86_64 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Version Check: Current: 5.35.08 - Latest: 6.77.12 + Latest: 6.77.13 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -6.77.12 +6.77.13 ``` In Linux/MacOS you can do: ``` @@ -82,7 +82,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 6.77.12 - https://github.com/taers232c/GAMADV-XTD3 +GAM 6.77.13 - https://github.com/taers232c/GAMADV-XTD3 Ross Scroggs Python 3.12.4 64-bit final MacOS Sonoma 14.5 x86_64 diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 50c26bf5..ff93e117 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -2,6 +2,11 @@ Merged GAM-Team version +6.77.13 + +Updated `gam print|show filecounts` to reflect that Shared Drives now +have a capacity of 500000 files/folders/shortcuts. + 6.77.12 Fixed bug in `gam print chatspaces todrive` that caused an error. diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 69920caa..65e63c47 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -216,7 +216,7 @@ SECONDS_PER_DAY = 86400 SECONDS_PER_WEEK = 604800 MAX_GOOGLE_SHEET_CELLS = 10000000 # See https://support.google.com/drive/answer/37603 MAX_LOCAL_GOOGLE_TIME_OFFSET = 30 -SHARED_DRIVE_MAX_FILES_FOLDERS = 400000 +SHARED_DRIVE_MAX_FILES_FOLDERS = 500000 UTF8 = 'utf-8' UTF8_SIG = 'utf-8-sig' EV_GAMCFGDIR = 'GAMCFGDIR'