Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transfer django-typer #62

Merged
merged 5 commits into from
Oct 7, 2024
Merged

transfer django-typer #62

merged 5 commits into from
Oct 7, 2024

Conversation

cunla
Copy link
Member

@cunla cunla commented Oct 7, 2024

No description provided.

cunla and others added 2 commits October 7, 2024 15:05
Files changed:
M	terraform/production/repositories.tfvars
Copy link

github-actions bot commented Oct 7, 2024

Terraform plan in terraform
With var files: terraform/production/org.tfvars terraform/production/repositories.tfvars
With variables: github_token = (sensitive value)

Plan: 1 to import, 11 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create
!~  update in-place

Terraform will perform the following actions:

  # github_repository.this["django-typer"] will be updated in-place
  # (imported from "django-typer")
!~  resource "github_repository" "this" {
        allow_auto_merge            = false
        allow_merge_commit          = true
        allow_rebase_merge          = true
        allow_squash_merge          = true
!~      allow_update_branch         = false -> true
+       archive_on_destroy          = true
        archived                    = false
        auto_init                   = false
        default_branch              = "main"
!~      delete_branch_on_merge      = false -> true
        description                 = "Use Typer (type hints) to define the interface for your Django management commands."
        etag                        = "W/\"315445b0ebaa4e1e13cead57ec61aa48d375a9b5597f347f1e953eed4236dd36\""
        full_name                   = "django-commons/django-typer"
        git_clone_url               = "git://github.com/django-commons/django-typer.git"
        has_discussions             = true
        has_downloads               = true
        has_issues                  = true
        has_projects                = true
        has_wiki                    = true
        homepage_url                = "https://django-typer.rtfd.io"
        html_url                    = "https://github.com/django-commons/django-typer"
        http_clone_url              = "https://github.com/django-commons/django-typer.git"
        id                          = "django-typer"
        is_template                 = false
        merge_commit_message        = "PR_TITLE"
        merge_commit_title          = "MERGE_MESSAGE"
        name                        = "django-typer"
        node_id                     = "************"
        primary_language            = "Python"
        private                     = false
        repo_id                     = 709043453
        squash_merge_commit_message = "COMMIT_MESSAGES"
        squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
        ssh_clone_url               = "[email protected]:django-commons/django-typer.git"
        svn_url                     = "https://github.com/django-commons/django-typer"
        topics                      = [
            "admin",
            "cli",
            "click",
            "command-line",
            "commands",
            "django",
            "management",
            "python",
            "python3",
            "shell",
            "terminal",
            "typehints",
            "typer",
        ]
        visibility                  = "public"
!~      vulnerability_alerts        = false -> true
        web_commit_signoff_required = false

        security_and_analysis {
            secret_scanning {
                status = "disabled"
            }
            secret_scanning_push_protection {
                status = "disabled"
            }
        }
    }

  # github_repository_environment.pypi["django-typer"] will be created
+   resource "github_repository_environment" "pypi" {
+       can_admins_bypass   = true
+       environment         = "pypi"
+       id                  = (known after apply)
+       prevent_self_review = false
+       repository          = "django-typer"

+       reviewers {
+           teams = (known after apply)
        }
    }

  # github_repository_environment.testpypi["django-typer"] will be created
+   resource "github_repository_environment" "testpypi" {
+       can_admins_bypass   = true
+       environment         = "testpypi"
+       id                  = (known after apply)
+       prevent_self_review = false
+       repository          = "django-typer"
    }

  # github_team.repo_admin_team["django-typer"] will be created
+   resource "github_team" "repo_admin_team" {
+       create_default_maintainer = false
+       description               = "Admin team for the django-typer repository"
+       etag                      = (known after apply)
+       id                        = (known after apply)
+       members_count             = (known after apply)
+       name                      = "django-typer-admins"
+       node_id                   = (known after apply)
+       parent_team_id            = (known after apply)
+       parent_team_read_id       = (known after apply)
+       parent_team_read_slug     = (known after apply)
+       privacy                   = "closed"
+       slug                      = (known after apply)
    }

  # github_team.repo_committer_team["django-typer"] will be created
+   resource "github_team" "repo_committer_team" {
+       create_default_maintainer = false
+       description               = "Committers team for the django-typer repository"
+       etag                      = (known after apply)
+       id                        = (known after apply)
+       members_count             = (known after apply)
+       name                      = "django-typer-committers"
+       node_id                   = (known after apply)
+       parent_team_id            = (known after apply)
+       parent_team_read_id       = (known after apply)
+       parent_team_read_slug     = (known after apply)
+       privacy                   = "closed"
+       slug                      = (known after apply)
    }

  # github_team.repo_team["django-typer"] will be created
+   resource "github_team" "repo_team" {
+       create_default_maintainer = false
+       description               = "Main team for the django-typer repository"
+       etag                      = (known after apply)
+       id                        = (known after apply)
+       members_count             = (known after apply)
+       name                      = "django-typer"
+       node_id                   = (known after apply)
+       parent_team_read_id       = (known after apply)
+       parent_team_read_slug     = (known after apply)
+       privacy                   = "closed"
+       slug                      = (known after apply)
    }

  # github_team_members.repo_admin_members["django-typer"] will be created
+   resource "github_team_members" "repo_admin_members" {
+       id      = (known after apply)
+       team_id = (known after apply)

+       members {
+           role     = "member"
+           username = "bckohan"
        }
+       members {
+           role     = "member"
+           username = "oliverandrich"
        }
    }

  # github_team_members.repo_team_members["django-typer"] will be created
+   resource "github_team_members" "repo_team_members" {
+       id      = (known after apply)
+       team_id = (known after apply)

+       members {
+           role     = "member"
+           username = "bckohan"
        }
+       members {
+           role     = "member"
+           username = "oliverandrich"
        }
    }

  # github_team_repository.repo_admin_team_access["django-typer"] will be created
+   resource "github_team_repository" "repo_admin_team_access" {
+       etag       = (known after apply)
+       id         = (known after apply)
+       permission = "admin"
+       repository = "django-typer"
+       team_id    = (known after apply)
    }

  # github_team_repository.repo_committer_team_access["django-typer"] will be created
+   resource "github_team_repository" "repo_committer_team_access" {
+       etag       = (known after apply)
+       id         = (known after apply)
+       permission = "maintain"
+       repository = "django-typer"
+       team_id    = (known after apply)
    }

  # github_team_repository.repo_team_access["django-typer"] will be created
+   resource "github_team_repository" "repo_team_access" {
+       etag       = (known after apply)
+       id         = (known after apply)
+       permission = "triage"
+       repository = "django-typer"
+       team_id    = (known after apply)
    }

  # github_team_settings.this["django-typer"] will be created
+   resource "github_team_settings" "this" {
+       id        = (known after apply)
+       team_id   = (known after apply)
+       team_slug = (known after apply)
+       team_uid  = (known after apply)

+       review_request_delegation {
+           algorithm    = "LOAD_BALANCE"
+           member_count = 2
+           notify       = false
        }
    }

Plan: 1 to import, 11 to add, 1 to change, 0 to destroy.

📝 Plan generated in Plan org changes and list them in a PR #6

cunla and others added 3 commits October 7, 2024 15:08
Files changed:
M	terraform/production/repositories.tfvars
@cunla cunla merged commit 4b19705 into main Oct 7, 2024
2 checks passed
@cunla cunla deleted the transfer-django-typer branch October 7, 2024 19:13
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.

1 participant