[Libvirt-cim] [PATCH] Fix MOF download location - URL permanently changed

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Wed Sep 28 14:47:47 UTC 2011


On 09/22/2011 10:25 PM, Chip Vincent wrote:
> # HG changeset patch
> # User Chip Vincent <cvincent at us.ibm.com>
> # Date 1316740924 14400
> # Node ID 8808b370a2e01b6355678e8d3a079b0dcf907a81
> # Parent  adc78792781448aca7a1356bd253cbdd689839cb
> Fix MOF download location - URL permanently changed
> 
> The MOF file download location has permanently changed as illustrated by
> the following message at build time:
> 
> wget http://www.dmtf.org/standards/cim/cim_schema_v2210/cim_schema_2.21.0Experimental-MOFs.zip
> --2011-09-22 20:51:15--  http://www.dmtf.org/standards/cim/cim_schema_v2210/cim_schema_2.21.0Experimental-MOFs.zip
> Resolving www.dmtf.org... 72.47.221.139
> Connecting to www.dmtf.org|72.47.221.139|:80... connected.
> HTTP request sent, awaiting response... 301 Moved Permanently
> Location: http://www.dmtf.org/sites/default/files/cim/cim_schema_v2210/cim_schema_2.21.0Experimental-MOFs.zip [following]
> 
> Signed-off-by: Chip Vincent <cvincent at us.ibm.com>
> 
> diff --git a/base_schema/Makefile.am b/base_schema/Makefile.am
> --- a/base_schema/Makefile.am
> +++ b/base_schema/Makefile.am
> @@ -8,6 +8,6 @@
>  dist_pkgdata_SCRIPTS = install_base_schema.sh
> 
>  $(CIM_SCHEMA_ZIP):
> -	wget http://www.dmtf.org/standards/cim/cim_schema_v$(CIM_SCHEMA_DIR)/$(CIM_SCHEMA_ZIP)
> +	wget http://www.dmtf.org/sites/default/files/cim/cim_schema_v$(CIM_SCHEMA_DIR)/$(CIM_SCHEMA_ZIP)
> 

Again, this is another example of what I consider 'simple enough' and
could be pushed without review. Patch would go to the list anyway, but
more as a heads-up to other developers.

+1

[etrunko at eblima base_schema]$ make
wget
http://www.dmtf.org/sites/default/files/cim/cim_schema_v2210/cim_schema_2.21.0Experimental-MOFs.zip
--2011-09-28 11:43:25--
http://www.dmtf.org/sites/default/files/cim/cim_schema_v2210/cim_schema_2.21.0Experimental-MOFs.zip
Resolving www.dmtf.org... 72.47.221.139
Connecting to www.dmtf.org|72.47.221.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1888838 (1.8M) [application/zip]
Saving to: “cim_schema_2.21.0Experimental-MOFs.zip”

100%[=========================================================================================================================================>]
1,888,838    632K/s   in 2.9s

2011-09-28 11:43:29 (632 KB/s) -
“cim_schema_2.21.0Experimental-MOFs.zip” saved [1888838/1888838]

-- 
Eduardo de Barros Lima
Software Engineer, Open Virtualization
Linux Technology Center - IBM/Brazil
eblima at br.ibm.com




More information about the Libvirt-cim mailing list