Skip to content

Commit

Permalink
Bump version, new Python
Browse files Browse the repository at this point in the history
  • Loading branch information
taers232c committed Oct 2, 2024
1 parent 7c1ee23 commit 6076111
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 14 deletions.
4 changes: 4 additions & 0 deletions docs/GamUpdates.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Add the `-s` option to the end of the above commands to suppress creating the `g

See [Downloads-Installs-GAM7](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads-Installs) for Windows or other options, including manual installation

### 7.00.11

Updated to Python 3.12.7 where possible.

### 7.00.10

Handled the following error that occurs when `gam create user` is immediateley followed by `gam update user`.
Expand Down
4 changes: 2 additions & 2 deletions docs/How-to-Upgrade-from-Legacy-GAM.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ writes the credentials into the file oauth2.txt.
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
admin@server:/Users/admin$ gam version
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
GAM 7.00.10 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.6 64-bit final
MacOS Sonoma 14.5 x86_64
Expand Down Expand Up @@ -923,7 +923,7 @@ writes the credentials into the file oauth2.txt.
C:\>del C:\GAMConfig\oauth2.txt
C:\>gam version
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
GAM7 7.00.10 - https://github.com/taers232c/GAM7 - pythonsource
GAM7 7.00.11 - https://github.com/taers232c/GAM7 - pythonsource
GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.6 64-bit final
Windows-10-10.0.17134 AMD64
Expand Down
22 changes: 11 additions & 11 deletions docs/Version-and-Help.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Print the current version of Gam with details
```
gam version
GAM 7.00.10 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.5 64-bit final
Python 3.12.7 64-bit final
MacOS Sonoma 14.5 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Expand All @@ -15,9 +15,9 @@ Time: 2023-06-02T21:10:00-07:00
Print the current version of Gam with details and time offset information
```
gam version timeoffset
GAM 7.00.10 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.5 64-bit final
Python 3.12.7 64-bit final
MacOS Sonoma 14.5 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Expand All @@ -27,17 +27,17 @@ 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
GAM 7.00.10 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.5 64-bit final
Python 3.12.7 64-bit final
MacOS Sonoma 14.5 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Time: 2023-06-02T21:10:00-07:00
Your system time differs from admin.googleapis.com by less than 1 second
OpenSSL 3.1.1 30 May 2023
cryptography 41.0.1
filelock 3.12.5
filelock 3.12.7
google-api-python-client 2.88.0
google-auth-httplib2 0.1.0
google-auth-oauthlib 1.0.0
Expand All @@ -64,15 +64,15 @@ MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Version Check:
Current: 5.35.08
Latest: 7.00.10
Latest: 7.00.11
echo $?
1
```

Print the current version number without details
```
gam version simple
7.00.10
7.00.11
```
In Linux/MacOS you can do:
```
Expand All @@ -82,9 +82,9 @@ echo $VER
Print the current version of Gam and address of this Wiki
```
gam help
GAM 7.00.10 - https://github.com/taers232c/GAMADV-XTD3
GAM 7.00.11 - https://github.com/taers232c/GAMADV-XTD3
GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.5 64-bit final
Python 3.12.7 64-bit final
MacOS Sonoma 14.5 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Expand Down
4 changes: 4 additions & 0 deletions src/GamUpdate.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
7.00.11

Updated to Python 3.12.7 where possible.

7.00.10

Handled the following error that occurs when `gam create user` is immediateley followed by `gam update user`.
Expand Down
12 changes: 12 additions & 0 deletions src/drive-v3beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,14 @@
"deprecated": true,
"type": "boolean"
},
"canDisableInheritedPermissions": {
"description": "Output only. Whether a user can disable inherited permissions.",
"type": "boolean"
},
"canEnableInheritedPermissions": {
"description": "Output only. Whether a user can re-enable inherited permissions.",
"type": "boolean"
},
"canMoveChildrenOutOfDrive": {
"description": "Output only. Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.",
"type": "boolean"
Expand Down Expand Up @@ -1297,6 +1305,10 @@
"description": "Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.",
"type": "boolean"
},
"inheritedPermissionsDisabled": {
"description": "Output only. When true, only organizers, owners and users with permissions added directly on the item can access it.",
"type": "boolean"
},
"view": {
"description": "Indicates the view for this permission. Only populated for permissions that belong to a view. 'published' is the only supported value.",
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion src/gam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"""

__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
__version__ = '7.00.10'
__version__ = '7.00.11'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'

#pylint: disable=wrong-import-position
Expand Down
12 changes: 12 additions & 0 deletions src/gam/drive-v3beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,14 @@
"deprecated": true,
"type": "boolean"
},
"canDisableInheritedPermissions": {
"description": "Output only. Whether a user can disable inherited permissions.",
"type": "boolean"
},
"canEnableInheritedPermissions": {
"description": "Output only. Whether a user can re-enable inherited permissions.",
"type": "boolean"
},
"canMoveChildrenOutOfDrive": {
"description": "Output only. Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.",
"type": "boolean"
Expand Down Expand Up @@ -1297,6 +1305,10 @@
"description": "Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.",
"type": "boolean"
},
"inheritedPermissionsDisabled": {
"description": "Output only. When true, only organizers, owners and users with permissions added directly on the item can access it.",
"type": "boolean"
},
"view": {
"description": "Indicates the view for this permission. Only populated for permissions that belong to a view. 'published' is the only supported value.",
"type": "string"
Expand Down

0 comments on commit 6076111

Please sign in to comment.