-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Community Backlog Automation
Oleksii Korshenko edited this page Jun 25, 2020
·
5 revisions
To Create New Project (clone from existing), you can use the following instruction. This example shows how to clone Adobe Stock Integration projects
query {
organization (login: "magento") {
repository (name: "adobe-stock-integration") {
projects (first: 100) {
nodes {
name
id
}
}
}
}
}
Response example:
{
"data": {
"organization": {
"repository": {
"projects": {
"nodes": [
{
"name": "Backlog",
"id": "MDc6UHJvamVjdDI1MDk5Mzk=" //Rememeber this ID. This is sourceId for Backlog project
},
{
"name": "Pull Request Progress",
"id": "MDc6UHJvamVjdDI1MDk5ODQ=" //Rememeber this ID. This is sourceId for Pull Request Progress project
}
]
}
}
}
}
}
query {
organization (login: "magento") {
repository (name: "<target repository name>") {
name
id
}
}
}
Response example:
{
"data": {
"organization": {
"repository": {
"name": "magento2-jp",
"id": "MDEwOlJlcG9zaXRvcnkxMzYyNTc3NTg=" //Rememeber this ID. This is targetOwnerId
}
}
}
}
mutation {
cloneProject (input: {
body: "Japanese Localization Backlog", //Use your project description
clientMutationId: "integration-mutation-id",
includeWorkflows: true,
name: "Backlog",
public: true,
targetOwnerId: "MDEwOlJlcG9zaXRvcnkxMzYyNTc3NTg=", //Use targetOwnerId from Step 2
sourceId: "MDc6UHJvamVjdDI1MDk5Mzk=" //Use targetOwnerId from Step 1 for Backlog project
}) {
project {
url
}
}
}
Response Example:
{
"data": {
"cloneProject": {
"project": {
"url": "https://github.com/magento/magento2-jp/projects/1"
}
}
}
}
mutation {
cloneProject (input: {
body: "Japanese Localization. Pull Request Progress", //Use your project description
clientMutationId: "integration-mutation-id",
includeWorkflows: true,
name: "Pull Request Progress",
public: true,
targetOwnerId: "MDEwOlJlcG9zaXRvcnkxMzYyNTc3NTg=", //Use targetOwnerId from Step 2
sourceId: "MDc6UHJvamVjdDI1MDk5ODQ=" //Use targetOwnerId from Step 1 for Pull Request Progress project
}) {
project {
url
}
}
}
Response example:
{
"data": {
"cloneProject": {
"project": {
"url": "https://github.com/magento/magento2-jp/projects/2"
}
}
}
}
- Create new child team: https://github.com/orgs/magento/teams/community-project-maintainers/teams
- Use the following team name: <repository-name>-team. For example: magento2-jp-team
- Add required users to the team
- Grant team with write permissions to the target repository
Step 6. Install M2 Community Project GitHub App on your repository (Requires Admin permission for Magento org)
- Go to installation section: https://github.com/organizations/magento/settings/apps/m2-community-project/installations
- Select Magento org
- Add your repository to the selected repos list
- Click Save button
- Add all open issues to the Backlog project. Use Ready for Grooming column. Move card to the required column if needed
- Add all open PRs to the Pull Request Progres project. Use Ready for Review column. Move card to the required column if needed
TBD
TBD
TBD
TBD
TBD
TBD
Interested in becoming a Magento Contributor? Click here to join our Slack workspace! Then come say hi in #general, follow the #announcements, and browse to find more cool channels!
- Getting Started
- Forking and Branching
- Working with commits
- Working Issues and PRs
- Community Maintainers
- Working with commits
- Magento Contributor Assistant
- Magento Automated Testing
- Test coverage contributions
- Slack Channels
- Magento 2 Core
- Multi Source Inventory
- Coding Standard
- DevDocs
- PHP 8 Compatibility
- Platform Health