Skip to content

Commit

Permalink
chore: sort repo-metadata-full alphabetically (#7344)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored May 29, 2024
1 parent 273683d commit a33c874
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,14 @@
"library_type": "GAPIC_AUTO",
"api_shortname": "clouddeploy"
},
"DeveloperConnect": {
"language": "php",
"distribution_name": "google/cloud-developerconnect",
"release_level": "preview",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-developerconnect/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "developerconnect"
},
"Dialogflow": {
"language": "php",
"distribution_name": "google/cloud-dialogflow",
Expand Down Expand Up @@ -831,6 +839,22 @@
"library_type": "GAPIC_AUTO",
"api_shortname": "managedidentities"
},
"MapsFleetEngine": {
"language": "php",
"distribution_name": "google/maps-fleetengine",
"release_level": "preview",
"client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "fleetengine"
},
"MapsFleetEngineDelivery": {
"language": "php",
"distribution_name": "google/maps-fleetengine-delivery",
"release_level": "preview",
"client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "fleetengine"
},
"MediaTranslation": {
"language": "php",
"distribution_name": "google/cloud-media-translation",
Expand Down Expand Up @@ -1447,29 +1471,5 @@
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-workflows/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "workflows"
},
"MapsFleetEngine": {
"language": "php",
"distribution_name": "google/maps-fleetengine",
"release_level": "preview",
"client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "fleetengine"
},
"MapsFleetEngineDelivery": {
"language": "php",
"distribution_name": "google/maps-fleetengine-delivery",
"release_level": "preview",
"client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "fleetengine"
},
"DeveloperConnect": {
"language": "php",
"distribution_name": "google/cloud-developerconnect",
"release_level": "preview",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-developerconnect/latest",
"library_type": "GAPIC_AUTO",
"api_shortname": "developerconnect"
}
}
}
1 change: 1 addition & 0 deletions dev/src/Command/AddComponentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$repoMetadataFullPath = $this->rootPath . '/.repo-metadata-full.json';
$repoMetadataFull = json_decode(file_get_contents($repoMetadataFullPath), true);
$repoMetadataFull[$new->componentName] = $repoMetadata;
ksort($repoMetadataFull);
file_put_contents(
$repoMetadataFullPath,
json_encode($repoMetadataFull, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
Expand Down

0 comments on commit a33c874

Please sign in to comment.