Skip to content

chore: reformat .repo-metadata.json files#8508

Merged
jskeet merged 1 commit into
googleapis:mainfrom
jskeet:reformat-metadata.sh
Jun 10, 2026
Merged

chore: reformat .repo-metadata.json files#8508
jskeet merged 1 commit into
googleapis:mainfrom
jskeet:reformat-metadata.sh

Conversation

@jskeet

@jskeet jskeet commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This is effectively running this code for each of the packages included here:

file=packages/$pkg/.repo-metadata.json
jq --indent 4 --sort-keys . $file > tmp.json
truncate -s -1 tmp.json
mv tmp.json $file
sed -i 's/&/\\u0026/g' $file

@jskeet jskeet requested a review from a team as a code owner June 10, 2026 12:55

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request standardizes the formatting of .repo-metadata.json files across multiple packages by sorting the keys alphabetically and adjusting the indentation. No functional code changes were made, and there are no review comments to address.

@jskeet

jskeet commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Fails with:

fatal: not a git repository (or any parent up to mount point /)

So that would explain git diff failing too...

@jskeet jskeet added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2026
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2026
@jskeet jskeet added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2026
@jskeet jskeet added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2026
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2026
This is effectively running this code for each of the packages
included here:

```sh
file=packages/$pkg/.repo-metadata.json
jq --indent 4 --sort-keys . $file > tmp.json
truncate -s -1 tmp.json
mv tmp.json $file
sed -i 's/&/\\u0026/g' $file
```
@jskeet jskeet force-pushed the reformat-metadata.sh branch from 85d3d6d to b24ab68 Compare June 10, 2026 15:34
@jskeet jskeet added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2026
@jskeet jskeet merged commit 526bc34 into googleapis:main Jun 10, 2026
31 checks passed
@jskeet jskeet deleted the reformat-metadata.sh branch June 10, 2026 16:50
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.

3 participants