Skip to content

build: add monorepo issue migration script#11904

Open
chingor13 wants to merge 2 commits intomainfrom
monorepo-issue-migration
Open

build: add monorepo issue migration script#11904
chingor13 wants to merge 2 commits intomainfrom
monorepo-issue-migration

Conversation

@chingor13
Copy link
Contributor

@chingor13 chingor13 commented Feb 4, 2026

This helper script finds all the open issues of a source repo and will use the gh issues tranfer command to transfer them to a different repository.

@chingor13 chingor13 marked this pull request as ready for review February 4, 2026 01:11
@chingor13 chingor13 requested a review from a team as a code owner February 4, 2026 01:11
fi

# Process each issue
for ISSUE_NUMBER in $ISSUE_NUMBERS; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a prefix and/or a label to each issue so that we know where this issue is coming from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels are automatically transferred as part of the process (if they exist on both repositories). As is, issues are tagged with api: <name> and those will copy over to the monorepo.

We can also prefix the issue title with [source-repo], if needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The script now prefixes with something like [java-bigquery]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issues are tagged with api:

This might be the case for handwritten libraries, but there are no such labels for repos like auth/sdk-platform-java/libraries-bom.

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.

2 participants