[#350] Merged google.fit backend and plugin #354

Merged
blacklight merged 6 commits from 350-migrate-google-fit into master 2024-01-19 00:31:07 +01:00
Owner

Closes: #350

Closes: #350
Expanded explanation of the desktop vs. headless authentication process
and where the credential files are supposed to be copied if the user
opts for a non-automatic authentication flow.
The new authorization flow also requires the user to input a code
returned on the browser's authorization page.

Since the Google authentication libraries seem to use a simple `input()`
to read this code, things are likely to fail quite badly if Platypush is
run in non-interactive mode - e.g. through a systemd service or in a
Docker container.

Thus we need to go with Google's automatic flow only if `DISPLAY` or
`BROWSER` are set (thus the interactive flow can proceed), and throw an
`AssertionError` with the command to execute if no display/browser are
detected.
[#350] Merge google.fit backend and plugin.
All checks were successful
continuous-integration/drone/push Build is passing
8d89c50e55
Closes: #350.
Fixed minor docstring typo.
All checks were successful
continuous-integration/drone/push Build is passing
6009b94b87
Merge branch 'master' into 350-migrate-google-fit
All checks were successful
continuous-integration/drone/push Build is passing
988e6fb92d
blacklight deleted branch 350-migrate-google-fit 2024-01-19 00:31:07 +01:00
Sign in to join this conversation.
No description provided.