René's URL Explorer Experiment


Title: gitlab.projects.create from template creates project with unprotected main branch · python-gitlab/python-gitlab · Discussion #3038 · GitHub

Open Graph Title: gitlab.projects.create from template creates project with unprotected main branch · python-gitlab/python-gitlab · Discussion #3038

X Title: gitlab.projects.create from template creates project with unprotected main branch · python-gitlab/python-gitlab · Discussion #3038

Description: gitlab.projects.create from template creates project with unprotected main branch

Open Graph Description: Description of the problem, including code/CLI snippet I am trying to create projects in subgroups by a python script using python-gitlab. The projects are created from a template. The template pro...

X Description: Description of the problem, including code/CLI snippet I am trying to create projects in subgroups by a python script using python-gitlab. The projects are created from a template. The template pro...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/discussions/3038

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"gitlab.projects.create from template creates project with unprotected main branch","text":"

Description of the problem, including code/CLI snippet

\n

I am trying to create projects in subgroups by a python script using python-gitlab. The projects are created from a template. The template project has a single branch main that is the default and protected:

\n

\"image\"\"image\"

\n

And Settings -> * Repository* - > Protected branches looks like this:
\n\"image\"

\n

The creation of the project is done by

\n
project = gitlab.projects.create({\n\t'name': projectname,\n\t'description' : projectdescription,\n\t'namespace_id': subgroup.id,\n\t'use_custom_template': True,\n\t'group_with_project_templates_id': group_with_project_templates_id,\n\t'template_project_id': template_project_id,\n            ... some more preferences\n})\n
\n

As a result I get a new project. The result of a print(project) gives

\n
<class 'gitlab.v4.objects.projects.Project'> => {'id': 44638, 'description': None, 'name': '[NAME]', 'name_with_namespace': '[VALUE]', 'path': '[VALUE]', 'path_with_namespace': '[VALUE]', 'created_at': '2024-11-14T15:09:25.753Z', 'default_branch': 'main', 'tag_list': [], 'topics': [], 'ssh_url_to_repo': 'git@[VALUE].git', 'http_url_to_repo': '[VALUE].git', 'web_url': '[URL]', 'readme_url': None, 'forks_count': 0, 'avatar_url': None, 'star_count': 0, 'last_activity_at': '2024-11-14T15:09:25.717Z', 'namespace': {'id': 63056, 'name': '[VALUE]', 'path': '[VALUE]', 'kind': 'group', 'full_path': '[VALUE]', 'parent_id': 62984, 'avatar_url': None, 'web_url': '[VALUE]'}, '_links': {'self': 'https://gitlab.dlr.de/api/v4/projects/44638', 'issues': 'https://gitlab.dlr.de/api/v4/projects/44638/issues', 'merge_requests': 'https://gitlab.dlr.de/api/v4/projects/44638/merge_requests', 'repo_branches': 'https://gitlab.dlr.de/api/v4/projects/44638/repository/branches', 'labels': 'https://gitlab.dlr.de/api/v4/projects/44638/labels', 'events': 'https://gitlab.dlr.de/api/v4/projects/44638/events', 'members': 'https://gitlab.dlr.de/api/v4/projects/44638/members', 'cluster_agents': 'https://gitlab.dlr.de/api/v4/projects/44638/cluster_agents'}, 'packages_enabled': True, 'empty_repo': True, 'archived': False, 'visibility': 'private', 'resolve_outdated_diff_discussions': False, 'container_expiration_policy': {'cadence': '1d', 'enabled': False, 'keep_n': 10, 'older_than': '90d', 'name_regex': '.*', 'name_regex_keep': None, 'next_run_at': '2024-11-15T15:09:25.765Z'}, 'repository_object_format': 'sha1', 'issues_enabled': False, 'merge_requests_enabled': True, 'wiki_enabled': False, 'jobs_enabled': False, 'snippets_enabled': False, 'container_registry_enabled': False, 'service_desk_enabled': False, 'can_create_merge_request_in': True, 'issues_access_level': 'disabled', 'repository_access_level': 'enabled', 'merge_requests_access_level': 'enabled', 'forking_access_level': 'enabled', 'wiki_access_level': 'disabled', 'builds_access_level': 'disabled', 'snippets_access_level': 'disabled', 'pages_access_level': 'disabled', 'analytics_access_level': 'enabled', 'container_registry_access_level': 'disabled', 'security_and_compliance_access_level': 'private', 'releases_access_level': 'enabled', 'environments_access_level': 'enabled', 'feature_flags_access_level': 'enabled', 'infrastructure_access_level': 'enabled', 'monitor_access_level': 'enabled', 'model_experiments_access_level': 'enabled', 'model_registry_access_level': 'enabled', 'emails_disabled': False, 'emails_enabled': True, 'shared_runners_enabled': True, 'lfs_enabled': True, 'creator_id': 13620, 'import_url': None, 'import_type': 'gitlab_custom_project_template', 'import_status': 'scheduled', 'import_error': None, 'description_html': '', 'updated_at': '2024-11-14T15:05:14.750Z', 'ci_default_git_depth': 20, 'ci_forward_deployment_enabled': True, 'ci_forward_deployment_rollback_allowed': True, 'ci_job_token_scope_enabled': False, 'ci_separated_caches': True, 'ci_allow_fork_pipelines_to_run_in_parent_project': True, 'ci_id_token_sub_claim_components': ['project_path', 'ref_type', 'ref'], 'build_git_strategy': 'fetch', 'keep_latest_artifact': True, 'restrict_user_defined_variables': False, 'ci_pipeline_variables_minimum_override_role': 'maintainer', 'runners_token': None, 'runner_token_expiration_interval': None, 'group_runners_enabled': True, 'auto_cancel_pending_pipelines': 'enabled', 'build_timeout': 3600, 'auto_devops_enabled': False, 'auto_devops_deploy_strategy': 'continuous', 'ci_push_repository_for_job_token_allowed': False, 'ci_config_path': None, 'public_jobs': True, 'shared_with_groups': [], 'only_allow_merge_if_pipeline_succeeds': False, 'allow_merge_on_skipped_pipeline': None, 'request_access_enabled': True, 'only_allow_merge_if_all_discussions_are_resolved': False, 'remove_source_branch_after_merge': True, 'printing_merge_request_link_enabled': True, 'merge_method': 'merge', 'squash_option': 'default_off', 'enforce_auth_checks_on_uploads': True, 'suggestion_commit_message': None, 'merge_commit_template': None, 'squash_commit_template': None, 'issue_branch_template': None, 'warn_about_potentially_unwanted_characters': True, 'autoclose_referenced_issues': True, 'approvals_before_merge': 0, 'mirror': False, 'external_authorization_classification_label': None, 'marked_for_deletion_at': None, 'marked_for_deletion_on': None, 'requirements_enabled': False, 'requirements_access_level': 'enabled', 'security_and_compliance_enabled': True, 'pre_receive_secret_detection_enabled': False, 'compliance_frameworks': [], 'merge_requests_template': None, 'ci_restrict_pipeline_cancellation_role': 'developer', 'merge_pipelines_enabled': False, 'merge_trains_enabled': False, 'merge_trains_skip_train_allowed': False, 'allow_pipeline_trigger_approve_deployment': False}\n
\n

However, the main branch of the project is not protected all of a sudden. If I call

\n
print(project.branches.get(project.default_branch))\n
\n

I get

\n
<class 'gitlab.v4.objects.branches.ProjectBranch'> => {'name': 'main', 'commit': {'id': 'c9c61bb46e2040b904ab9cc5c6f14e969b551503', 'short_id': 'c9c61bb4', 'created_at': '2024-11-13T15:24:00.000+00:00', 'parent_ids': ['d3f2686c9750ec7c49a7f1467dd0f6bf734ba378'], 'title': 'Update README.md', 'message': 'Update README.md', 'author_name': '[MYNAME]', 'author_email': '[MYMAIL]', 'authored_date': '2024-11-13T15:24:00.000+00:00', 'committer_name': '[MYNAME]', 'committer_email': '[MYMAIL]', 'committed_date': '2024-11-13T15:24:00.000+00:00', 'trailers': {}, 'extended_trailers': {}, 'web_url': '[COMMITID]'}, 'merged': False, 'protected': False, 'developers_can_push': False, 'developers_can_merge': False, 'can_push': True, 'default': True, 'web_url': '[URL]/-/tree/main'}\n
\n

with my main problem being: 'protected': False

\n

Expected Behavior

\n

I would expect the main branch of the newly created project to be protected.

\n

Actual Behavior

\n

The main branch of the newly created project is not protected. A quick look in the newly created project Settings -> * Repository* - > Protected branches confirms that there are no protected branches:

\n

\"image\"

\n

Specifications

\n\n

Is this the desired behavior? If so, how can I protect the main branch after project creation? I can add them manually in Settings -> * Repository* - > Protected branches but I would like to do that via the script. Unfortunately, I can't seem to figure out out to protect a branch after it was created from the python-gitlab api.

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"
\n

As I have never used a template before, are you sure that using a template means it will create a protected branch?

\n
\n

Well, from my understanding the created project should be a quasi-copy of the template source. Also, I would expect any newly created project to have a protected main branch.

\n
\n

As a workaround you can protect the branch after creating the project: https://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#examples

\n
\n

Thanks, I saw that already. Re-tried it and now I can protected the main branch after project creation with

\n
mainbranch = project.protectedbranches.create({\n\t\t\t'name': project.default_branch,\n\t\t\t'merge_access_level': gitlab.const.AccessLevel.DEVELOPER,\n\t\t\t'push_access_level': gitlab.const.AccessLevel.MAINTAINER,\n\t\t})\n
","upvoteCount":2,"url":"https://github.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256722"}}}

route-pattern/:user_id/:repository/discussions/:number(.:format)
route-controllerdiscussions
route-actionshow
fetch-noncev2:092719dc-dfab-1780-b914-58ba4bb8edd2
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idDED2:1462F2:28E3F6D:387CF31:6972A570
html-safe-nonce325b00a3caa9a8e01e24af141da1e2d0821bce3b5c3548e3a86c1594fa0ec3a3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUQyOjE0NjJGMjoyOEUzRjZEOjM4N0NGMzE6Njk3MkE1NzAiLCJ2aXNpdG9yX2lkIjoiNDM1NzQ1NDY2MDk5NDUwODE0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5ddc7f14971b9ec5d549c6a8c6b75202f350170e54d8861a046a59788c5a5d67
hovercard-subject-tagdiscussion:7483685
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///discussions/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/discussions/3038
twitter:imagehttps://opengraph.githubassets.com/5265a7b12c85f6b4a2575fb2e1cd604a3e5b728c71eed4c93ac735d41ce0885c/python-gitlab/python-gitlab/discussions/3038
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5265a7b12c85f6b4a2575fb2e1cd604a3e5b728c71eed4c93ac735d41ce0885c/python-gitlab/python-gitlab/discussions/3038
og:image:altDescription of the problem, including code/CLI snippet I am trying to create projects in subgroups by a python script using python-gitlab. The projects are created from a template. The template pro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac
turbo-cache-controlno-preview
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release625f1bd9f76a617a9c0729e2de91edb56b6ce42f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fdiscussions%2F3038
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fdiscussions%2F3038
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fdiscussions%2Fshow&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
python-gitlab https://patch-diff.githubusercontent.com/python-gitlab
python-gitlabhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues 26 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests 12 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects 0 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security 0 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Answered https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256722
raedmahttps://patch-diff.githubusercontent.com/raedma
raedma https://patch-diff.githubusercontent.com/raedma
Q&Ahttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/categories/q-a
gitlab.projects.create from template creates project with unprotected main branch https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#top
raedma https://patch-diff.githubusercontent.com/raedma
Answered https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256722
raedmahttps://patch-diff.githubusercontent.com/raedma
Return to tophttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
raedma https://patch-diff.githubusercontent.com/raedma
Nov 14, 2024 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussion-7483685
https://private-user-images.githubusercontent.com/25957103/386250219-ce6a62ae-4cc4-4be8-be4a-4e14add63c38.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxMjE0MzYsIm5iZiI6MTc2OTEyMTEzNiwicGF0aCI6Ii8yNTk1NzEwMy8zODYyNTAyMTktY2U2YTYyYWUtNGNjNC00YmU4LWJlNGEtNGUxNGFkZDYzYzM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIyVDIyMzIxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2ZmI2N2U3YWYzYTJlNjU3MGVmM2M1YmIxNDExNjY2YTIxODJiN2M0MDMxZWI1MjY1YTllNTYxMDU4NDQ1YmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PZXmvWgh1QhaxNimV1WKkAylO9D6GhtQDUHEsCNlQoc
https://private-user-images.githubusercontent.com/25957103/386250467-a680df3b-d4ea-43a2-ab1c-a2b0dc18513e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxMjE0MzYsIm5iZiI6MTc2OTEyMTEzNiwicGF0aCI6Ii8yNTk1NzEwMy8zODYyNTA0NjctYTY4MGRmM2ItZDRlYS00M2EyLWFiMWMtYTJiMGRjMTg1MTNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIyVDIyMzIxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlMzYzY2U5YzFhNjEwZTg5M2RmNTcxMjZmYmY4MTE1ZGM0NDZkNjliYzFjYzFjM2MwNzgzNDhkMjdjM2ZhOTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.EVXLeEDXxNYDtUz8TD1QYJfbIh059V4tic8Ws9uMCMY
https://private-user-images.githubusercontent.com/25957103/386253986-7a423d0e-6d9a-4a30-b08d-edc6c72b2560.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxMjE0MzYsIm5iZiI6MTc2OTEyMTEzNiwicGF0aCI6Ii8yNTk1NzEwMy8zODYyNTM5ODYtN2E0MjNkMGUtNmQ5YS00YTMwLWIwOGQtZWRjNmM3MmIyNTYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIyVDIyMzIxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiY2VjNDg2ODFhMTdlNTMzZGM5NjI5ODE4N2UwMzZkZDU2Yzk3ZTMzNDJjM2VhOGEwNTIzOTlkNzI5YWVhNzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lw0UD5PKo4KBhG9KgH4VGfUrxpmyVW5PQK0dTPOGfpk
https://private-user-images.githubusercontent.com/25957103/386259692-ab530c8d-1da1-48bd-aff8-dda2505bce14.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxMjE0MzYsIm5iZiI6MTc2OTEyMTEzNiwicGF0aCI6Ii8yNTk1NzEwMy8zODYyNTk2OTItYWI1MzBjOGQtMWRhMS00OGJkLWFmZjgtZGRhMjUwNWJjZTE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIyVDIyMzIxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThhMzVmMzQ0NTA3YjMxNWM5MzJjNDhkN2VmZDJlNzQ0YjYyY2EyYmRkYzUwNDRmOWE5MDAyMzJiOWQzYzM4OGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BzTPQb9ejr9dOtXCdItHjyRZM0tBCOwIHDOKLSn17po
v17.3.6-eehttps://gitlab.com/gitlab-org/gitlab/-/tags/v17.3.6-ee
Give feedback.https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
raedma https://patch-diff.githubusercontent.com/raedma
Nov 14, 2024 https://github.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256722
https://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#exampleshttps://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#examples
View full answer https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256722
Oldest https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038?sort=old
Newest https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038?sort=new
Top https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
JohnVillalovos https://patch-diff.githubusercontent.com/JohnVillalovos
Nov 14, 2024 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256721
https://docs.gitlab.com/ee/api/projects.html#create-a-projecthttps://docs.gitlab.com/ee/api/projects.html#create-a-project
https://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#exampleshttps://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#examples
Give feedback.https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
raedma https://patch-diff.githubusercontent.com/raedma
Nov 14, 2024 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256722
https://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#exampleshttps://python-gitlab.readthedocs.io/en/stable/gl_objects/protected_branches.html#examples
Give feedback.https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/JohnVillalovos
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
JohnVillalovoshttps://patch-diff.githubusercontent.com/JohnVillalovos
Nov 14, 2024 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256759
@raedmahttps://github.com/raedma
https://docs.gitlab.com/ee/api/projects.html#create-a-projecthttps://docs.gitlab.com/ee/api/projects.html#create-a-project
Give feedback.https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/raedma
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
raedmahttps://patch-diff.githubusercontent.com/raedma
Nov 14, 2024 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11256916
Give feedback.https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/nejch
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
nejchhttps://patch-diff.githubusercontent.com/nejch
Nov 15, 2024 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038#discussioncomment-11265548
https://gitlab.com/gitlab-org/gitlab/-/issues/31602https://gitlab.com/gitlab-org/gitlab/-/issues/31602
Give feedback.https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
JohnVillalovoshttps://patch-diff.githubusercontent.com/JohnVillalovos
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fdiscussions%2F3038
🙏 Q&A https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/categories/q-a
https://patch-diff.githubusercontent.com/raedma
https://patch-diff.githubusercontent.com/JohnVillalovos
https://patch-diff.githubusercontent.com/nejch
#3037https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues/3037
https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions/3038
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.