Skip to content

Clean up maintenance scripts - #2550

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

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

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 16, 2020 •

Copy link
Copy Markdown
Member
  • Factor update into a separate script. It's pretty verbose.
  • Fetch the base branch for doing comparisons in merge scripts.
  • Have uniform error handling for missing gh
  • Some other consistency between the scripts.
  • Turn of set -x. Current script messaging is better than that
    gets us.

Example PRs created by these scripts (because testing in prod
is the only testing):
#2554
#2555
#2553

Comment thread scripts/git/google_to_main.sh Resolved
@GMNGeoffrey GMNGeoffrey changed the title Factor updating local branches into a script Cleanup to maintenance scripts Jul 16, 2020
@GMNGeoffrey
GMNGeoffrey requested a review from ScottTodd July 16, 2020 22:50

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

revert submodule change on this PR (did you git add -A?)

then LGTM

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

revert submodule change on this PR (did you git add -A?)

then LGTM

I searched for quite a while to find something that would make checkout always submodule update, but the only config option also makes fetch and such recurse through submodules or some nonsense...

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Gonna call that clang-format error not my fault:

E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/dists/bionic/main/binary-amd64/Packages.bz2 File has unexpected size (123641 != 123895). Mirror sync in progress? [IP: 40.117.131.251 443]
Hashes of expected file:
- Filesize:123895 [weak]
- SHA512:c0c27ed5f510bd35ba0706dd84ed16850b26481cf0e2969edd9db0e70152489e8aa8f611167ef00a903238d5b720cb912cc7cca6b91b3f786020797186466a0e
- SHA256:dd1ea38cf84a40192cc9c0e39fb830a33676ddd6996423ab97d26ee098494ca9
- SHA1:da3988a3b41c0f989234e0c0dedaaa9c0f3061e2 [weak]
- MD5Sum:e84ca8b68330b6d46609e0460e056830 [weak]
Release file created at: Thu, 16 Jul 2020 23:15:11 +0000

@GMNGeoffrey GMNGeoffrey changed the title Cleanup to maintenance scripts Clean up maintenance scripts Jul 17, 2020
@GMNGeoffrey
GMNGeoffrey merged commit cbb02f5 into iree-org:main Jul 17, 2020
@GMNGeoffrey
GMNGeoffrey deleted the git-scripts branch July 17, 2020 00:17
@ScottTodd ScottTodd mentioned this pull request Jul 17, 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