Fix new install scriot, update Wiki
Some checks are pending
Build and test GAM / build (Win64, build, 7, VC-WIN64A, windows-2022) (push) Waiting to run
Build and test GAM / build (aarch64, build, 2, linux-aarch64, [self-hosted linux arm64]) (push) Waiting to run
Build and test GAM / build (aarch64, build, 4, linux-aarch64, [self-hosted linux arm64], yes) (push) Waiting to run
Build and test GAM / build (aarch64, build, 6, darwin64-arm64, macos-14) (push) Waiting to run
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 3, linux-x86_64, ubuntu-22.04, yes) (push) Waiting to run
Build and test GAM / build (x86_64, build, 5, darwin64-x86_64, macos-13) (push) Waiting to run
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Waiting to run
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Waiting to run
Build and test GAM / build (x86_64, test, 8, ubuntu-24.04, 3.13) (push) Waiting to run
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Waiting to run
Build and test GAM / merge (push) Blocked by required conditions
Build and test GAM / publish (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Check for Google Root CA Updates / check-apis (push) Waiting to run

This commit is contained in:
Ross Scroggs
2024-10-04 09:10:57 -07:00
parent af42342e08
commit 53e2b5b563
8 changed files with 16 additions and 23 deletions

View File

@@ -808,7 +808,7 @@ The `oauth2service.json` file is updated with the new private key.
Keep a good record of where each Service Account key is used as the keys themselves do not record this information. Keep a good record of where each Service Account key is used as the keys themselves do not record this information.
The two forms of the command are equivalent; the second form is used by Basic Gam. The two forms of the command are equivalent; the second form is used by Legacy GAM.
``` ```
gam create sakey gam create sakey
(algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)| (algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)|
@@ -834,7 +834,7 @@ The `oauth2service.json` file is updated with the new private key. If you had pr
this `oauth2service.json` file to other users, you must redistribute the updated file as the private key this `oauth2service.json` file to other users, you must redistribute the updated file as the private key
in the distributed copies has been revoked. in the distributed copies has been revoked.
The two forms of the command are equivalent; the second form is used by Basic Gam. The two forms of the command are equivalent; the second form is used by Legacy GAM.
``` ```
gam update sakey gam update sakey
(algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)| (algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)|
@@ -853,7 +853,7 @@ in the distributed copies has been revoked.
This command can be used if your Service Account keys have been compromised; all existing private keys are revoked. This command can be used if your Service Account keys have been compromised; all existing private keys are revoked.
The two forms of the command are equivalent; the second form is used by Basic Gam. The two forms of the command are equivalent; the second form is used by Legacy GAM.
``` ```
gam replace sakeys gam replace sakeys
(algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)| (algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)|

View File

@@ -72,7 +72,7 @@ The `quotechar <Character>` option allows you to choose an alternate quote chara
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used. `quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used.
### Old format commands ### Old format commands
These commands are backwards compatible with basic GAM. These commands are backwards compatible with Legacy GAM.
``` ```
gam calendar <CalendarEntity> add <CalendarACLRole> ([user] <EmailAddress>)|(group <EmailAddress>)|(domain [<DomainName>])|default [sendnotifications <Boolean>] gam calendar <CalendarEntity> add <CalendarACLRole> ([user] <EmailAddress>)|(group <EmailAddress>)|(domain [<DomainName>])|default [sendnotifications <Boolean>]
gam calendar <CalendarEntity> update <CalendarACLRole> ([user] <EmailAddress>)|(group <EmailAddress>)|(domain [<DomainName>])|default [sendnotifications <Boolean>] gam calendar <CalendarEntity> update <CalendarACLRole> ([user] <EmailAddress>)|(group <EmailAddress>)|(domain [<DomainName>])|default [sendnotifications <Boolean>]

View File

@@ -596,7 +596,7 @@ The `quotechar <Character>` option allows you to choose an alternate quote chara
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used. `quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used.
### Old format commands ### Old format commands
These commands are backwards compatible with basic Gam. These commands are backwards compatible with Legacy GAM.
``` ```
gam calendar <CalendarEntity> addevent <EventAttribute>+ [<EventNotificationAttribute>] gam calendar <CalendarEntity> addevent <EventAttribute>+ [<EventNotificationAttribute>]
gam calendar <CalendarEntity> deleteevent (id|eventid <EventID>)+ [doit] [<EventNotificationAttribute>] gam calendar <CalendarEntity> deleteevent (id|eventid <EventID>)+ [doit] [<EventNotificationAttribute>]

View File

@@ -10,10 +10,6 @@ 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 See [Downloads-Installs-GAM7](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads-Installs) for Windows or other options, including manual installation
### 7.00.13
Version bump in order to confirm MSI installs are operating properly
### 7.00.12 ### 7.00.12
Updated option `showlastmodification` to `gam <UserTypeEntity> print|show filecounts` to handle Updated option `showlastmodification` to `gam <UserTypeEntity> print|show filecounts` to handle
@@ -22,9 +18,6 @@ will show the user's display name as the API doesn't return the user's email add
Updated support for `Folders with limited access`; this is a work in progress. Updated support for `Folders with limited access`; this is a work in progress.
Windows builds now use PyInstaller's onedir config for improved performance. You may notice a lib
folder now exists underneath the GAM install path. GAM commands should start significantly faster.
### 7.00.11 ### 7.00.11
Updated to Python 3.12.7 where possible. Updated to Python 3.12.7 where possible.

View File

@@ -242,7 +242,7 @@ admin@server:/Users/admin$
``` ```
### Enable GAM7 client access ### Enable GAM7 client access
Create oauth2.txt; it must be deleted and recreated because it is in a different format than in basic Gam. Create oauth2.txt; it must be deleted and recreated because it is in a different format than in Legacy GAM.
You select a list of scopes, GAM uses a browser to get final authorization from Google for these scopes and You select a list of scopes, GAM uses a browser to get final authorization from Google for these scopes and
writes the credentials into the file oauth2.txt. writes the credentials into the file oauth2.txt.
@@ -251,9 +251,9 @@ writes the credentials into the file oauth2.txt.
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
admin@server:/Users/admin$ gam version 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 WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
GAM 7.00.12 - https://github.com/GAM-team/GAM - pyinstaller GAM 7.00.13 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.6 64-bit final Python 3.12.7 64-bit final
MacOS Sonoma 14.5 x86_64 MacOS Sonoma 14.5 x86_64
Path: /Users/admin/bin/gam7 Path: /Users/admin/bin/gam7
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
@@ -915,7 +915,7 @@ C:\>
``` ```
### Enable GAM7 client access ### Enable GAM7 client access
Create oauth2.txt; it must be deleted and recreated because it is in a different format than in basic Gam. Create oauth2.txt; it must be deleted and recreated because it is in a different format than in Legacy GAM.
You select a list of scopes, GAM uses a browser to get final authorization from Google for these scopes and You select a list of scopes, GAM uses a browser to get final authorization from Google for these scopes and
writes the credentials into the file oauth2.txt. writes the credentials into the file oauth2.txt.
@@ -923,9 +923,9 @@ writes the credentials into the file oauth2.txt.
C:\>del C:\GAMConfig\oauth2.txt C:\>del C:\GAMConfig\oauth2.txt
C:\>gam version C:\>gam version
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
GAM7 7.00.12 - https://github.com/GAM-team/GAM - pythonsource GAM7 7.00.13 - https://github.com/GAM-team/GAM - pythonsource
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.12.6 64-bit final Python 3.12.7 64-bit final
Windows-10-10.0.17134 AMD64 Windows-10-10.0.17134 AMD64
Path: C:\GAM7 Path: C:\GAM7
Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com

View File

@@ -19,7 +19,7 @@
- [Update calendar event attendees](#update-calendar-event-attendees) - [Update calendar event attendees](#update-calendar-event-attendees)
- [Status events](#status-events) - [Status events](#status-events)
- [Focus time events](#focus-time-events) - [Focus time events](#focus-time-events)
- [Out of officeevents](#out-of-office-events) - [Out of office events](#out-of-office-events)
- [Working location events](#working-location-events) - [Working location events](#working-location-events)
## API documentation ## API documentation

View File

@@ -54,17 +54,17 @@ Print the current and latest versions of Gam and:
* set the return code to 1 if the current version is not the latest * set the return code to 1 if the current version is not the latest
``` ```
gam version checkrc gam version checkrc
GAM 5.35.08 - https://github.com/taers232c/GAMADV-XTD3 GAM 5.35.08 - https://github.com/taers232cGAM7
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.8.1 64-bit final Python 3.8.1 64-bit final
google-api-python-client 2.77.0 google-api-python-client 2.77.0
httplib2 0.16.0 httplib2 0.16.0
oauth2client 4.1.3 oauth2client 4.1.3
MacOS High Sierra 10.13.6 x86_64 MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3 Path: /Users/Admin/bin/gam7
Version Check: Version Check:
Current: 5.35.08 Current: 5.35.08
Latest: 7.00.12 Latest: 7.00.13
echo $? echo $?
1 1
``` ```

2
src/new-gam-install-script.sh Normal file → Executable file
View File

@@ -227,7 +227,7 @@ case $gamos in
gamos="macos" gamos="macos"
fullversion=$(sw_vers -productVersion) fullversion=$(sw_vers -productVersion)
# override osversion only if it wasn't set by cli arguments # override osversion only if it wasn't set by cli arguments
osversion=${osversion:-$fullversion:0:2} osversion=${osversion:=${fullversion:0:2}}
download_urls=$(echo -e "$download_urls" | grep "\-macos-") download_urls=$(echo -e "$download_urls" | grep "\-macos-")
case $gamarch in case $gamarch in
x86_64) x86_64)