Skip to content

Conversation

@antt1995
Copy link
Contributor

No description provided.

@antt1995
Copy link
Contributor Author

@antt1995
Copy link
Contributor Author

@kkimurak
Can you do a sanity check on this Please

Copy link
Contributor

@kkimurak kkimurak left a comment

Choose a reason for hiding this comment

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

Thank you for your prompt contribution. It looks good to functionally but I have some suggestions in addition to individual reviews:

  • Naming for configuration parameter are too simple.
    For example, IMAP_TENANT_ID will become a value for gitlab::incoming_email::inbox_options::tenant_id in gitlab.yml. Therefore, I think a name like GITLAB_INCOMING_EMAIL_INBOX_OPTIONS_TENANT_ID is easier to associate with the key name in yaml (it should also be useful for anyone reading the official gitlab documentation and trying to use this sameersbn/gitlab).
    Yes, I know that other parameters related to IMAP have such simple names (like IMAP_HOST). So feel free to ignore me. If I lose patience with it, I will submit a pull request to unify the naming conventions (of course, it is entirely possible that the maintainer will reject it, and there is nothing wrong with that).
  • (optional) inbox_options::poll_interval is missing.
  • (optional) It is nice if we can support inbox_options::azure_ad_endpoint and inbox_options::graph_endpoint for Microsoft Cloud as well.

Sorry for the nagging review. Please let me know if it seems difficult or if I am being cryptic. I will send you a patch.

antt1995 and others added 4 commits July 21, 2022 18:31
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
@kkimurak kkimurak mentioned this pull request Sep 11, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants