From f8c1561b1a61ee838377deb396e4eaa1286c995c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20Kocak?= Date: Tue, 17 Sep 2024 13:13:44 +0200 Subject: [PATCH 1/2] openstackclient: add osc-placement Similar to https://github.com/Homebrew/homebrew-core/pull/176382, I want to add the OpenStackClient plugin for the Placement service[1]. As an example it adds resource provider info. [1]: https://opendev.org/openstack/osc-placement --- Formula/o/openstackclient.rb | 6 ++++++ pypi_formula_mappings.json | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Formula/o/openstackclient.rb b/Formula/o/openstackclient.rb index 2cb5baaf9c6ec..aed04c3aa358f 100644 --- a/Formula/o/openstackclient.rb +++ b/Formula/o/openstackclient.rb @@ -160,6 +160,11 @@ class Openstackclient < Formula sha256 "ef085249a8764b6f29d404eda566a261a3003502aa431b39ffd54307ee103e19" end + resource "osc-placement" do + url "https://files.pythonhosted.org/packages/81/85/e6e14d13639656da6bf91f27376cf7352ea98b1624701868a097bf41020a/osc-placement-4.5.0.tar.gz" + sha256 "831d67419d1efffba6f57cd228a9fdb169275647e4a9537eb275662656b7cd8f" + end + resource "oslo-config" do url "https://files.pythonhosted.org/packages/42/92/f53acc4f8bb37ba50722b9ba03f53fd507adc434d821552d79d34ca87d2f/oslo.config-9.6.0.tar.gz" sha256 "9f05ef70e48d9a61a8d0c9bed389da24f2ef5a89df5b6e8deb7c741d6113667e" @@ -383,6 +388,7 @@ def install system bin/"openstack", "-h" openstack_subcommands = [ "server list", + "resource provider list", # osc-placement "stack list", # python-heatclient "loadbalancer list", # python-octaviaclient "rating summary get", # python-cloudkittyclient diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index 744b18813cbc2..c9ed1bb351e72 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -553,10 +553,10 @@ }, "openstackclient": { "extra_packages": [ - "python-barbicanclient", "python-cloudkittyclient", "python-designateclient", - "python-glanceclient", "python-heatclient", "python-ironicclient", - "python-magnumclient", "python-manilaclient", "python-mistralclient", - "python-octaviaclient", "setuptools" + "osc-placement", "python-barbicanclient", "python-cloudkittyclient", + "python-designateclient", "python-glanceclient", "python-heatclient", + "python-ironicclient", "python-magnumclient", "python-manilaclient", + "python-mistralclient", "python-octaviaclient", "setuptools" ], "exclude_packages": ["certifi", "cryptography"] }, From 7ea0fe477b1bc7f45708435b18c29bc8ea81fc6f Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:57:24 +0000 Subject: [PATCH 2/2] openstackclient: update 7.1.1 bottle. --- Formula/o/openstackclient.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Formula/o/openstackclient.rb b/Formula/o/openstackclient.rb index aed04c3aa358f..6ec5ee86f4d92 100644 --- a/Formula/o/openstackclient.rb +++ b/Formula/o/openstackclient.rb @@ -9,12 +9,13 @@ class Openstackclient < Formula license "Apache-2.0" bottle do - sha256 cellar: :any, arm64_sequoia: "4e9a1250349446c8a48137788d0e815efd81cf97151560d08fcbed64d2e642bf" - sha256 cellar: :any, arm64_sonoma: "0b8bb08b85d81c9728262d7dc2084a6b775d29e532c6aaabc717fc9f9fd2ee9e" - sha256 cellar: :any, arm64_ventura: "bfa4660161b70462655a70001e1887d94115771e8dab6cd154c4f414a76b8676" - sha256 cellar: :any, sonoma: "48145e8d86ea1234bcd800920922bcce13014db76e2ead583692b8526fd65a4f" - sha256 cellar: :any, ventura: "3b825e03643e49d6c28f4209dd4bef73f980461d5ec0cff0283b3ba4c63d9083" - sha256 cellar: :any_skip_relocation, x86_64_linux: "868ad6a5c9ae0990cd35f76f606eff5ac1d1b59ddec47ca4a336be87c8f5d4cc" + rebuild 1 + sha256 cellar: :any, arm64_sequoia: "198cf19845d1fd63d9dbb58fe16c62594a1018c07cf992718467b568381f43d8" + sha256 cellar: :any, arm64_sonoma: "24e2f0395854693ad225f6e46bbc13c9a7fdcfd49b59e876ef0afd5135e11391" + sha256 cellar: :any, arm64_ventura: "f071f8479f73ae421be6a587e7964badcee2f86c8abbd93bfdf7135cddd0d577" + sha256 cellar: :any, sonoma: "e5c14328c865e9ae123d876502ed0ed31cc4ec0c6bb0a2dbda9879454b12e3f6" + sha256 cellar: :any, ventura: "880978469465842ecd28ee292b914345ca48dce88d81d0311e4f64e076de5495" + sha256 cellar: :any_skip_relocation, x86_64_linux: "8735849f7fb6bd0e49de1088b709c60db50d77bbf307afd4a69c1ca2ab76ba2d" end depends_on "rust" => :build # for rpds-py