-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix:GH pages support + manage repo-collaborators #98
Conversation
Terraform plan in terraform Plan: 6 to import, 0 to add, 6 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# github_repository.this["django-commons-playground"] will be updated in-place
!~ resource "github_repository" "this" {
!~ description = "A sample project to test things out" -> "A sample project with best practices for Django Commons projects."
id = "django-commons-playground"
name = "django-commons-playground"
!~ topics = [
+ "django",
+ "python",
+ "template",
]
# (35 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# github_repository_collaborators.this["django-commons-playground"] will be imported
resource "github_repository_collaborators" "this" {
id = "django-commons-playground"
invitation_ids = {}
repository = "django-commons-playground"
team {
permission = "admin"
team_id = "********************************"
}
team {
permission = "maintain"
team_id = "************************************"
}
team {
permission = "pull"
team_id = "*************"
}
team {
permission = "triage"
team_id = "*************************"
}
}
# github_repository_collaborators.this["django-debug-toolbar"] will be updated in-place
# (imported from "django-debug-toolbar")
!~ resource "github_repository_collaborators" "this" {
id = "django-debug-toolbar"
!~ invitation_ids = {} -> (known after apply)
repository = "django-debug-toolbar"
team {
permission = "admin"
team_id = "***************************"
}
team {
permission = "maintain"
team_id = "*******************************"
}
team {
permission = "pull"
team_id = "*************"
}
team {
permission = "triage"
team_id = "********************"
}
- user {
- permission = "admin" -> null
- username = "tim-schilling" -> null
}
- user {
- permission = "push" -> null
- username = "jezdez" -> null
}
}
# github_repository_collaborators.this["django-fsm-2"] will be updated in-place
# (imported from "django-fsm-2")
!~ resource "github_repository_collaborators" "this" {
id = "django-fsm-2"
!~ invitation_ids = {} -> (known after apply)
repository = "django-fsm-2"
team {
permission = "admin"
team_id = "*******************"
}
team {
permission = "maintain"
team_id = "***********************"
}
team {
permission = "pull"
team_id = "*************"
}
team {
permission = "triage"
team_id = "************"
}
- user {
- permission = "admin" -> null
- username = "pfouque" -> null
}
- user {
- permission = "push" -> null
- username = "adamchainz" -> null
}
}
# github_repository_collaborators.this["django-tailwind-cli"] will be updated in-place
# (imported from "django-tailwind-cli")
!~ resource "github_repository_collaborators" "this" {
id = "django-tailwind-cli"
!~ invitation_ids = {} -> (known after apply)
repository = "django-tailwind-cli"
team {
permission = "admin"
team_id = "**************************"
}
team {
permission = "maintain"
team_id = "******************************"
}
team {
permission = "pull"
team_id = "*************"
}
team {
permission = "triage"
team_id = "*******************"
}
- user {
- permission = "admin" -> null
- username = "oliverandrich" -> null
}
}
# github_repository_collaborators.this["django-tasks-scheduler"] will be imported
resource "github_repository_collaborators" "this" {
id = "django-tasks-scheduler"
invitation_ids = {}
repository = "django-tasks-scheduler"
team {
permission = "admin"
team_id = "*****************************"
}
team {
permission = "maintain"
team_id = "*********************************"
}
team {
permission = "pull"
team_id = "*************"
}
team {
permission = "triage"
team_id = "**********************"
}
}
# github_repository_collaborators.this["django-typer"] will be updated in-place
# (imported from "django-typer")
!~ resource "github_repository_collaborators" "this" {
id = "django-typer"
!~ invitation_ids = {} -> (known after apply)
repository = "django-typer"
team {
permission = "admin"
team_id = "*******************"
}
team {
permission = "maintain"
team_id = "***********************"
}
team {
permission = "pull"
team_id = "*************"
}
team {
permission = "triage"
team_id = "************"
}
- user {
- permission = "admin" -> null
- username = "bckohan" -> null
}
}
# github_repository_collaborators.this["drf-excel"] will be updated in-place
!~ resource "github_repository_collaborators" "this" {
id = "drf-excel"
!~ invitation_ids = {} -> (known after apply)
# (1 unchanged attribute hidden)
- user {
- permission = "admin" -> null
- username = "FlipperPA" -> null
}
- user {
- permission = "admin" -> null
- username = "browniebroke" -> null
}
- user {
- permission = "maintain" -> null
- username = "rptmat57" -> null
}
# (4 unchanged blocks hidden)
}
Plan: 6 to import, 0 to add, 6 to change, 0 to destroy. 📝 Plan generated in Plan org changes and list them in a PR #33 |
"django-commons-playground" = { | ||
description = "A sample project to test things out" | ||
topics = [] | ||
description = "A sample project with best practices for Django Commons projects." | ||
topics = ["template", "django", "python"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to this change, but I'm definitely in favor of renaming this repo or creating a new one that's more explicitly, best-practices
This looks like a big change but it is not really, just better organization:
plan
results here)django-commons-playground
description and topics.template
fromdjango-tailwind-cli
(it is not from a template){ for k, v in var.repositories : k => v if v.is_django_commons_repo == false }
withlocal.project_repositories
defined once.