Skip to content

Conversation

@rhaps0dy
Copy link
Collaborator

@rhaps0dy rhaps0dy commented Sep 6, 2022

To get the library Google-approved, I've decided that making the requestable scopes modular will be useful.

Here's also some tests, though not complete. That is a step towards MELPA approval.

;; Version: 0.1
;; Keywords: comm oauth2
;; Maintainer: Adrià Garriga-Alonso <[email protected]>
;; Version: 0.0.1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you changing the version to a smaller version here?

According to semver, patch changes (changing z in x.y.z) should be used only for bug fixes. This seems more appropriate for a version 0.2.0.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you're probably right, I'll change this to 0.2.0

:type 'string)

(defcustom oauth2-auto-google-client-secret ""
(defcustom oauth2-auto-google-client-secret "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"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it work to embed this in a widely-distributed library?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've heard it's OK. There's no way to avoid embedding the app key if you're distributing a program.

I still have to do the verification process so for now it's not very useful

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhaps0dy Is there any progress on the verification program? If not, we'll have to resort to having clients make their own apps on the Google Developer Console.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @telotortium ,

You might have guessed from the lack of reply, but sorry, there hasn't been :(. I don't think I'll have the time and motivation to do this either, I'm not using Oauth on Emacs any more. Would you like me to transfer the repo to you or something?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhaps0dy Yes, I can take it over and improve it to the point where I can fix any bugs. We probably won't get it approved by Google, but making personal apps is sufficient for org-gcal and other apps like that.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants