Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(users): implement 'skip_confirmation' in users 'emails' creation#3265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
AdrianDC wants to merge1 commit intopython-gitlab:main
base:main
Choose a base branch
Loading
fromAdrianDC:users-create-withoutconfirmation

Conversation

AdrianDC
Copy link
Contributor

Changes

Documentation and testing

Please consider whether this PR needs documentation and tests.This is not required, but highly appreciated:

  • Documentation automatically generated and new key matches admins sources
  • No test added as most other settings are not implemented in tests/functional/cli/test_cli_v4.py

@AdrianDC
Copy link
ContributorAuthor

AdrianDC commentedSep 21, 2025
edited
Loading

Tested working properly to add + confirm an email for a GitLab bot user using noreply secondary email address.


For reference to manually patch older sources in CI/CD jobs,
using theregistry.gitlab.com/python-gitlab/python-gitlab:latest image :

# Patch GitLab sources    -|      gitlab_bin=$(which gitlab| xargs readlink -f)      gitlab_venv="${gitlab_bin%/bin/*}"      gitlab_users=$(ls -1"${gitlab_venv}/lib/python"*/*-packages/gitlab/v4/objects/users.py|| true)if! grep -q', "skip_confirmation",'"${gitlab_users}";then        sed -i's/\("email"\),)/\1, "skip_confirmation", )/g'"${gitlab_users}"fi

For self usage upon future PR, to run codestyle tasks from containers :

docker run \    -v"${PWD}:${PWD}:rw" \    -w"${PWD}" \    --entrypoint'sh' \    --rm \'alpine:3' \    -c \'apk add py3-tox && tox -e black,isort'

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@AdrianDC

[8]ページ先頭

©2009-2025 Movatter.jp