This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-steward.git
from 86036ca Merge pull request #3 from apache/skills-framework-placeholder
add 4cbd3db tools(oauth-draft): port Gmail OAuth helpers into framework
new 60efac2 Merge pull request #4 from apache/port-oauth-draft
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.claude/skills/allocate-cve/SKILL.md | 2 +-
.claude/skills/import-security-issue/SKILL.md | 2 +-
.claude/skills/invalidate-security-issue/SKILL.md | 2 +-
.claude/skills/sync-security-issue/SKILL.md | 5 +-
.pre-commit-config.yaml | 30 +
tools/gmail/draft-backends.md | 14 +-
.../oauth-draft}/.gitignore | 0
tools/gmail/oauth-draft/README.md | 198 +++++++
.../oauth-draft}/pyproject.toml | 32 +-
.../gmail/oauth-draft/src/oauth_draft/__init__.py | 43 ++
.../oauth-draft/src/oauth_draft/create_draft.py | 244 +++++++++
.../oauth-draft/src/oauth_draft/credentials.py | 130 +++++
.../src/oauth_draft/mark_threads_read.py | 214 ++++++++
.../oauth-draft/src/oauth_draft/setup_creds.py | 199 +++++++
.../oauth-draft}/tests/__init__.py | 0
tools/gmail/oauth-draft/tests/test_create_draft.py | 176 ++++++
tools/gmail/oauth-draft/tests/test_credentials.py | 94 ++++
.../oauth-draft/tests/test_mark_threads_read.py | 62 +++
tools/gmail/oauth-draft/uv.lock | 606 +++++++++++++++++++++
tools/gmail/operations.md | 13 +-
20 files changed, 2036 insertions(+), 30 deletions(-)
copy tools/{vulnogram/generate-cve-json => gmail/oauth-draft}/.gitignore (100%)
create mode 100644 tools/gmail/oauth-draft/README.md
copy tools/{vulnogram/generate-cve-json => gmail/oauth-draft}/pyproject.toml
(70%)
create mode 100644 tools/gmail/oauth-draft/src/oauth_draft/__init__.py
create mode 100644 tools/gmail/oauth-draft/src/oauth_draft/create_draft.py
create mode 100644 tools/gmail/oauth-draft/src/oauth_draft/credentials.py
create mode 100644 tools/gmail/oauth-draft/src/oauth_draft/mark_threads_read.py
create mode 100644 tools/gmail/oauth-draft/src/oauth_draft/setup_creds.py
copy tools/{vulnogram/generate-cve-json =>
gmail/oauth-draft}/tests/__init__.py (100%)
create mode 100644 tools/gmail/oauth-draft/tests/test_create_draft.py
create mode 100644 tools/gmail/oauth-draft/tests/test_credentials.py
create mode 100644 tools/gmail/oauth-draft/tests/test_mark_threads_read.py
create mode 100644 tools/gmail/oauth-draft/uv.lock