This repository contains all the information for administrators to manage Django Commons packages.
members
collection in
the terraform/production/org.tfvars
file. Please keep the list sorted alphabetically.
members = [
# ...
"new_user"
]
terraform/production/org.tfvars
.terraform/production/repositories.tfvars
file, add them to the members
collection. Please keep the list sorted alphabetically.
repositories = {
"[REPOSITORY]" = {
# ...
members = [
# ...
"new_user"
]
}
}
main
branch. This will trigger terraform to plan the changes in the organization to be
executed. Review the changes and make sure they align with the request.Comment on the issue, thanking the person for joining and reminding them that it helps the organization's reach if they set their membership visibility as public.
Thank you
for joining! You'll get an invite email from GitHub. You'll have one week to accept that. If you don't mind, after accepting, can you set your organization membership as public? This helps Django Commons grow.
terraform/production/repositories.tfvars
file, add them to the members
collection. Please keep the list sorted alphabetically.
repositories = {
"[REPOSITORY]" = {
# ...
members = [
# ...
"new_user"
]
}
}
main
branch. This will trigger terraform to plan the changes in the organization to be
executed. Review the changes and make sure they align with the request.terraform/production/repositories.tfvars
file, for the repository's key under repositories
, add them to the admins
collection for the
correct team. There will be two privileged teams for each repository, *-admins
and *-committers
, the user should
be added to the requested team. Please keep the list sorted alphabetically.
repositories = {
"[REPOSITORY]" = {
# ...
admins = [
# ...
"new_user"
]
}
}
main
branch. This will trigger terraform to plan the changes in the organization to be
executed. Review the changes and make sure they align with the request.Assuming the repository name is repo-name
:
{repo-name}
, {repo-name}-admins
and {repo-name}-committers
in the Django
Commons organization. Teams can be viewed here. The teams will be created by the terraform apply process.cunla
, stormheg
) as owners in PyPI,
and test-pypi[ ] Terraform changes to add project to organization
[ ] In terraform/production/respositories.tfvars
, add the new repository to the repositories
section:
repositories = {
# ...
"repo-name" = {
description = "repo description"
homepage_url = "" # optional, default is ""
allow_auto_merge = false # optional, default is false
allow_merge_commit = false # optional, default is false
allow_rebase_merge = false # optional, default is false
allow_squash_merge = true # optional, default is true
allow_update_branch = true # optional, default is true
delete_branch_on_merge = true # optional, default is true
has_discussions = true # optional, default is true
has_downloads = true # optional, default is true
has_wiki = false # optional, default is false
is_template = false # optional, default is false
push_allowances = []
template = "" # optional, default is ""
topics = []
visibility = "public" # optional, default is "public"
is_django_commons_repo = optional(bool, false) # Do not create teams for repository
enable_branch_protection = true # optional, default is true
required_status_checks_contexts = [] # optional, default is []
admins = [] # Members of the repository's admin and repository teams. Have admin permissions
committers = [] # Members of the repository's committers and repository teams. Have write permissions
members = [] # Members of the repository team. Have triage permissions
}
}
[ ] Create a pull-request to main
branch. This will trigger terraform to plan the changes in the organization to
be executed.
Review the changes and make sure they align with the request.
[ ] Merge the pull request. This will trigger terraform to apply the changes in the organization.
The expected changes:
repo-name
, repo-name-admins
, repo-name-committers
with the relevant members based on the
repository's description.pypi
and testpypi
, see example here[ ] Repo changes:
[ ] PyPI and Test PyPI changes:
[ ] Have the maintainer push a new tag and walk them through the release process
[ ] Set a calendar event or reminder for 30 days in the future to remove the previous repository owner from PyPI project (if applicable)
repositories
section
in terraform/production/respositories.tfvars
main
branch. This will trigger terraform to plan the changes in the organization to be
executed.
Review the changes and make sure they align with the request.The expected changes: