Skip to content

Add scripts for interacting with GitHub - #2476

Merged
GMNGeoffrey merged 3 commits into
iree-org:mainfrom
GMNGeoffrey:git-scripts
Jul 16, 2020
Merged

GMNGeoffrey merged 3 commits into
iree-org:mainfrom
GMNGeoffrey:git-scripts

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 10, 2020 •

Copy link
Copy Markdown
Member

These scripts automate some common maintainer tasks. They use the
gh cli.

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

I'll also update the TF update action to create PRs that look like the update_tf script here. I think it's better to leave the URL out of the commit title since it puts it over standard character limits. I'll see about changing the LLVM integrate description accordingly.

@GMNGeoffrey

GMNGeoffrey commented Jul 11, 2020 •

Copy link
Copy Markdown
Member Author

Example TF PR created from the script: #2479

Comment thread scripts/git/google_to_main.sh Resolved
Comment thread scripts/git/main_to_google.sh Resolved
Comment thread scripts/git/main_to_google.sh Resolved
Comment thread scripts/git/update_tf_submodule.sh Resolved
Comment thread scripts/git/update_tf_submodule.sh Resolved
Comment thread scripts/git/bazel_to_cmake.sh Resolved
Comment thread scripts/git/update_tf_submodule.sh Resolved
Comment thread scripts/git/main_to_google.sh Resolved
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Cleaned up google_to_main with suggestions. PTAL and I'll update the others accordingly

Comment thread scripts/git/google_to_main.sh Resolved
@ScottTodd

Copy link
Copy Markdown
Member

Cleaned up google_to_main with suggestions. PTAL and I'll update the others accordingly

That file LGTM! Can you update the others too?

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Fixed up the TF script with a new alternative for the commit message and title. #2534 is an example. That title will linkify when in GitHub PR descriptions and is under the normal commit title character limits.

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

That file LGTM! Can you update the others too?

Done

@GMNGeoffrey
GMNGeoffrey requested a review from ScottTodd July 15, 2020 21:08
@GMNGeoffrey
GMNGeoffrey merged commit 7d76cbd into iree-org:main Jul 16, 2020
@GMNGeoffrey
GMNGeoffrey deleted the git-scripts branch July 16, 2020 16:35
@ScottTodd ScottTodd mentioned this pull request Jul 16, 2020
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants