Compare commits
230 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daaa263ad1 | ||
|
|
1a5178ef0c | ||
|
|
b07fed3631 | ||
|
|
7ba7c65438 | ||
|
|
5af6be536a | ||
|
|
a0f001aa68 | ||
|
|
790400f357 | ||
|
|
f5b4a66269 | ||
|
|
9ba178aca4 | ||
|
|
792368a646 | ||
|
|
4a7db74788 | ||
|
|
0300363379 | ||
|
|
4a4aa3a938 | ||
|
|
1fa63ef939 | ||
|
|
520c690092 | ||
|
|
66650d837a | ||
|
|
26965f881b | ||
|
|
72edbc55f8 | ||
|
|
3a85108e5c | ||
|
|
71d5e395b2 | ||
|
|
25e2eae876 | ||
|
|
10c9afdfa8 | ||
|
|
69d7d754bc | ||
|
|
5b7f91c42f | ||
|
|
d99c2b9523 | ||
|
|
b406c18f55 | ||
|
|
689bbb8b49 | ||
|
|
0950fa2dd4 | ||
|
|
5d3dce2ea5 | ||
|
|
b04c24f962 | ||
|
|
670ec36027 | ||
|
|
959a529547 | ||
|
|
a9f381c640 | ||
|
|
d82a76fce5 | ||
|
|
b9cfcbc1bd | ||
|
|
eef1115428 | ||
|
|
e94005d4ae | ||
|
|
87a7e3cd66 | ||
|
|
f575eed3ef | ||
|
|
fbf3a55ceb | ||
|
|
bc0707eb3b | ||
|
|
dba25ec5fb | ||
|
|
27be67588b | ||
|
|
1765b12755 | ||
|
|
68cc862c48 | ||
|
|
938ffd31a8 | ||
|
|
ea0459111d | ||
|
|
ec70683380 |
||
|
|
5cf65da2df | ||
|
|
0c56c2baac | ||
|
|
d0673fc50f | ||
|
|
36d6e0b700 | ||
|
|
501cdb20ae | ||
|
|
c28b7c26fc | ||
|
|
6fddb7b7d9 | ||
|
|
a53ed8e5fc | ||
|
|
ff66613be2 | ||
|
|
90d18ab510 | ||
|
|
0cc7156fdf | ||
|
|
325d55230c | ||
|
|
8935660aa2 | ||
|
|
c7a2f1f49a | ||
|
|
fe16fdb390 | ||
|
|
c3753c426c | ||
|
|
6b78c8afd5 | ||
|
|
fec9e2b674 | ||
|
|
0a9c525871 | ||
|
|
4ca1dbba4b | ||
|
|
37f4f2f35d | ||
|
|
41bc8532d0 | ||
|
|
f722fff733 | ||
|
|
5c09841651 | ||
|
|
8b3ce35899 | ||
|
|
8aab9f5c68 | ||
|
|
6084b1f112 | ||
|
|
c087ce454e | ||
|
|
5d4370f788 | ||
|
|
3417df1151 | ||
|
|
aae2f9ce73 | ||
|
|
c66f3a4d68 | ||
|
|
db13600d9d | ||
|
|
8d27cb1379 | ||
|
|
1dba3b8c1b | ||
|
|
faab6c711a | ||
|
|
f979570668 | ||
|
|
557617d39a | ||
|
|
354d961584 | ||
|
|
6f1854e2fb | ||
|
|
a6ffe0a668 | ||
|
|
df9fe268db | ||
|
|
ba6123fc75 | ||
|
|
04f4df6031 | ||
|
|
3777fa33c6 | ||
|
|
1b882146a3 | ||
|
|
5b1d48a6d9 | ||
|
|
8f1820aa6f | ||
|
|
71520a8e8f | ||
|
|
53cd983946 | ||
|
|
19b8f91663 | ||
|
|
2eb925871d | ||
|
|
6f4ec77358 | ||
|
|
484ddbffba | ||
|
|
20323cd1bc | ||
|
|
686b606973 | ||
|
|
0aacc5e2aa | ||
|
|
32e3130e0f | ||
|
|
1f21f51f2e | ||
|
|
367ef1d16e | ||
|
|
8d307c79fb | ||
|
|
dcd10a79fd | ||
|
|
cf3e580f28 | ||
|
|
060522be72 | ||
|
|
d5dbc41678 | ||
|
|
eda3bba64d | ||
|
|
cceac096a8 | ||
|
|
2871ca2648 | ||
|
|
c4fd3776bc | ||
|
|
55ac73a3a6 | ||
|
|
898c0086da | ||
|
|
a0b231bb84 | ||
|
|
7fbfa0974e | ||
|
|
4adf248ad7 | ||
|
|
5b1f7b0dca | ||
|
|
754f31a25a | ||
|
|
76a47e52e4 | ||
|
|
1180dbb912 | ||
|
|
cb7aba7e97 | ||
|
|
8eba39402e | ||
|
|
91effd1448 | ||
|
|
efe47b57c3 | ||
|
|
56f912639f | ||
|
|
3c02e4033d | ||
|
|
071890f38a | ||
|
|
bc43f9d3fe | ||
|
|
715f90f312 | ||
|
|
b30f630728 | ||
|
|
ba3ddbc065 | ||
|
|
1dc352f4e4 | ||
|
|
f7fec29fc3 | ||
|
|
71c77c8ee4 | ||
|
|
d1a170c6ce | ||
|
|
1ef832f053 | ||
|
|
287af44206 | ||
|
|
66047589bf | ||
|
|
8d832087f2 | ||
|
|
41daf44a4d | ||
|
|
b06ee3b61c | ||
|
|
3ef8072669 | ||
|
|
df4a127b93 | ||
|
|
d58960176f | ||
|
|
2821511444 | ||
|
|
2e0afa9b91 | ||
|
|
f8610faa00 | ||
|
|
7ba90de2bf | ||
|
|
88e3f5af25 | ||
|
|
ea395b60dc | ||
|
|
4e3368f10c | ||
|
|
c8d08693ef | ||
|
|
7dc6e87cf5 | ||
|
|
be8fe16bb5 | ||
|
|
3f9c446680 | ||
|
|
29135227ce | ||
|
|
85358a3226 | ||
|
|
3a7cb22e41 | ||
|
|
c1c9277cd1 | ||
|
|
b004c17388 | ||
|
|
00d876a814 | ||
|
|
41e9bece4c | ||
|
|
7599291a16 | ||
|
|
6e9ced10a5 | ||
|
|
7dd7c798f3 | ||
|
|
4ba366e0fb | ||
|
|
989dd6b636 | ||
|
|
d81b7720bf | ||
|
|
3b8b4a2357 | ||
|
|
4c68cfae20 | ||
|
|
bed8938b69 | ||
|
|
6be9aa8e5f | ||
|
|
65fcab520f | ||
|
|
0ef32f9020 | ||
|
|
104a51bea0 | ||
|
|
ff416b9134 | ||
|
|
3b9c0f9f7b | ||
|
|
dbae216c18 | ||
|
|
4b2c8b6497 | ||
|
|
94934a6a89 | ||
|
|
493bd4f36e | ||
|
|
289db7e0c0 | ||
|
|
6ec7a0de06 | ||
|
|
db25f16e0c | ||
|
|
2afadc4a83 | ||
|
|
658df65b8c | ||
|
|
4ca512e184 | ||
|
|
893e8138a2 | ||
|
|
a3e6ed7219 | ||
|
|
be446a8c85 | ||
|
|
2692e3d6b8 | ||
|
|
805d78dcca | ||
|
|
4ec7e2eac6 | ||
|
|
d3d1fda8db | ||
|
|
e656ffdd3c | ||
|
|
b5277f69cf | ||
|
|
3e8c43329c | ||
|
|
e47ea98a14 | ||
|
|
153ba641ec | ||
|
|
fef847ab60 | ||
|
|
5924ae47ea | ||
|
|
7926cffa5e | ||
|
|
1bf3000160 | ||
|
|
17d121add7 | ||
|
|
83694a96ed | ||
|
|
4f8d3a8922 | ||
| 8beed2edaf | |||
|
|
969ea56ce1 | ||
|
|
3281f2d8ad | ||
|
|
aa0901eab3 | ||
|
|
e61741b6b1 | ||
|
|
79f47d1cc3 | ||
|
|
6f7b339f01 | ||
|
|
6c163da4d5 | ||
|
|
a224796ba7 | ||
|
|
bda6837d2d | ||
|
|
9fe2cbe459 | ||
|
|
621a89ab7c | ||
|
|
3cdbc99c57 | ||
|
|
5fd58c0eb4 | ||
|
|
935c45107e | ||
|
|
670b6fe9e0 | ||
|
|
d8e2462b5c | ||
|
|
c2522473e2 |
13 changed files with 877 additions and 9803 deletions
13
.gitignore
vendored
13
.gitignore
vendored
|
|
@ -1,11 +1,14 @@
|
|||
*~
|
||||
|
||||
# RPM target directories
|
||||
/noarch
|
||||
/x86_64
|
||||
|
||||
# Version-dependent build artifacts
|
||||
/.build-0.8.1-1.fc*.log
|
||||
/virt-v2v-v0.8.1
|
||||
/virt-v2v-0.8.1-1.fc*.src.rpm
|
||||
/.build-*.log
|
||||
/virt-v2v-v*/
|
||||
/virt-v2v-*.src.rpm
|
||||
/results_virt-v2v/
|
||||
|
||||
# Source
|
||||
/virt-v2v-v0.8.1.tar.gz
|
||||
/virt-v2v-*.tar.gz
|
||||
/virt-v2v-*.tar.gz.sig
|
||||
|
|
|
|||
55
copy-patches.sh
Executable file
55
copy-patches.sh
Executable file
|
|
@ -0,0 +1,55 @@
|
|||
#!/bin/bash -
|
||||
|
||||
set -e
|
||||
|
||||
# Maintainer script to copy patches from the git repo to the current
|
||||
# directory. Use it like this:
|
||||
# ./copy-patches.sh
|
||||
|
||||
rhel_version=av-8.3.0
|
||||
|
||||
# Check we're in the right directory.
|
||||
if [ ! -f virt-v2v.spec ]; then
|
||||
echo "$0: run this from the directory containing 'virt-v2v.spec'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git_checkout=$HOME/d/virt-v2v-rhel-$rhel_version
|
||||
if [ ! -d $git_checkout ]; then
|
||||
echo "$0: $git_checkout does not exist"
|
||||
echo "This script is only for use by the maintainer when preparing a"
|
||||
echo "virt-v2v release on RHEL."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the base version of virt-v2v.
|
||||
version=`grep '^Version:' virt-v2v.spec | awk '{print $2}'`
|
||||
tag="v$version"
|
||||
|
||||
# Remove any existing patches.
|
||||
git rm -f [0-9]*.patch ||:
|
||||
rm -f [0-9]*.patch
|
||||
|
||||
# Get the patches.
|
||||
(cd $git_checkout; rm -f [0-9]*.patch; git format-patch -N --submodule=diff $tag)
|
||||
mv $git_checkout/[0-9]*.patch .
|
||||
|
||||
# Remove any not to be applied.
|
||||
rm -f *NOT-FOR-RPM*.patch
|
||||
|
||||
# Add the patches.
|
||||
git add [0-9]*.patch
|
||||
|
||||
# Print out the patch lines.
|
||||
echo
|
||||
echo "--- Copy the following text into virt-v2v.spec file"
|
||||
echo
|
||||
|
||||
echo "# Patches."
|
||||
for f in [0-9]*.patch; do
|
||||
n=`echo $f | awk -F- '{print $1}'`
|
||||
echo "Patch$n: $f"
|
||||
done
|
||||
|
||||
echo
|
||||
echo "--- End of text"
|
||||
7
gating.yaml
Executable file
7
gating.yaml
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
- !PassingTestCaseRule {test_case_name: libvirt-ci.v2v.brew-build.gating.x86_64.tier1.functional}
|
||||
BIN
libguestfs.keyring
Normal file
BIN
libguestfs.keyring
Normal file
Binary file not shown.
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
e850297f55ae839b28c8417d0acd080b virt-v2v-v0.8.1.tar.gz
|
||||
SHA512 (virt-v2v-2.10.0.tar.gz) = 035f2181c1cc5f482e96d3e21b513b95939ca224d71ac6ad938842d5af5d60ef07db1600d2ccb609dc2042b1c74088f6f39ffbe595cb51e80278ecb50c314515
|
||||
SHA512 (virt-v2v-2.10.0.tar.gz.sig) = cb6301224ef00577a9cd0fc8fa504e583eb447341bd3849e6854f2d78ae72ca39bca68b70f30efd3d1d64480acf161c5e4bc9ba943595ef4dd2a654c3268aa66
|
||||
|
|
|
|||
13
tests/basic-test.sh
Executable file
13
tests/basic-test.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# This only makes sure that virt-v2v isn't totally broken.
|
||||
# virt-v2v is extensively tested on real guests by the QE
|
||||
# team using a mix of automated and manual testing.
|
||||
|
||||
# Fix libvirt.
|
||||
systemctl restart virtqemud virtsecretd virtstoraged virtnetworkd
|
||||
|
||||
virt-builder fedora-30
|
||||
virt-v2v -i disk fedora-30.img -o null
|
||||
13
tests/tests.yml
Normal file
13
tests/tests.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- virt-v2v
|
||||
- guestfs-tools
|
||||
- libvirt-daemon-kvm
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./basic-test.sh
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,57 +0,0 @@
|
|||
commit e34a8c0911f53cff64f9a33d3802ac7361f3fe19
|
||||
Author: Matthew Booth <mbooth@redhat.com>
|
||||
Date: Wed May 11 16:05:18 2011 +0100
|
||||
|
||||
p2v-client: Drop echoe for build
|
||||
|
||||
echoe changes incompatibly from F14->F15. We're not using the vast majority of
|
||||
its features, and it remains completely undocumented as far as I can tell. This
|
||||
patch drops it in favour of a simple, explicit gem build task.
|
||||
|
||||
diff --git a/p2v/client/Rakefile b/p2v/client/Rakefile
|
||||
index d190f08..23c26f5 100644
|
||||
--- a/p2v/client/Rakefile
|
||||
+++ b/p2v/client/Rakefile
|
||||
@@ -14,24 +14,10 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
-require 'rubygems'
|
||||
-require 'echoe'
|
||||
+require 'rake'
|
||||
+require 'rake/gempackagetask'
|
||||
|
||||
-Echoe.new("virt-p2v") do |p|
|
||||
- p.project = "Virt P2V"
|
||||
- p.version = `../../Build version`
|
||||
- p.author = "Matthew Booth"
|
||||
- p.summary = "Send a machine's storage and metadata to virt-p2v-server"
|
||||
- p.description = <<EOF
|
||||
-virt-p2v is a client which connects to a virt-p2v-server and transfer's the host
|
||||
-machine's storage and metadata. virt-p2v is intended to be run from a live
|
||||
-image, so it is unlikely you want to install it.
|
||||
-EOF
|
||||
- p.url = "http://libguestfs.org"
|
||||
- p.email = "libguestfs@redhat.com"
|
||||
- p.runtime_dependencies = [
|
||||
- 'gtk2',
|
||||
- 'gettext',
|
||||
- 'net-ssh'
|
||||
- ]
|
||||
-end
|
||||
+task :default => :gem
|
||||
+
|
||||
+load 'virt-p2v.gemspec'
|
||||
+Rake::GemPackageTask.new(GEMSPEC) {}
|
||||
diff --git a/virt-v2v.spec.PL b/virt-v2v.spec.PL
|
||||
index 2249b01..6a155e2 100644
|
||||
--- a/virt-v2v.spec.PL
|
||||
+++ b/virt-v2v.spec.PL
|
||||
@@ -79,7 +79,6 @@ BuildRequires: perl-hivex >= 1.2.2
|
||||
|
||||
# virt-p2v build requirements
|
||||
BuildRequires: rubygem(rake)
|
||||
-BuildRequires: rubygem(echoe)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
|
|
@ -1,111 +0,0 @@
|
|||
commit fadb1929b4a8447a719a34f07e5934badf694f45
|
||||
Author: Matthew Booth <mbooth@redhat.com>
|
||||
Date: Wed May 11 16:46:37 2011 +0100
|
||||
|
||||
p2v-client: Add missing gemspec
|
||||
|
||||
gemspec used to be auto-generated, so was explicitly ignored. It's no longer
|
||||
auto-generated, so we need it.
|
||||
|
||||
diff --git a/p2v/client/virt-p2v.gemspec b/p2v/client/virt-p2v.gemspec
|
||||
new file mode 100644
|
||||
index 0000000..d8edde8
|
||||
--- /dev/null
|
||||
+++ b/p2v/client/virt-p2v.gemspec
|
||||
@@ -0,0 +1,96 @@
|
||||
+# Copyright (C) 2011 Red Hat Inc.
|
||||
+#
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
+# it under the terms of the GNU General Public License as published by
|
||||
+# the Free Software Foundation; either version 2 of the License, or
|
||||
+# (at your option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful,
|
||||
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+# GNU General Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License
|
||||
+# along with this program; if not, write to the Free Software
|
||||
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
+
|
||||
+V2V_VERSION = `../../Build version`
|
||||
+abort "Failed to get version" unless $? == 0
|
||||
+
|
||||
+GEMSPEC = Gem::Specification.new do |s|
|
||||
+ s.name = %q{virt-p2v}
|
||||
+ s.version = V2V_VERSION
|
||||
+
|
||||
+ s.authors = ["Matthew Booth"]
|
||||
+ s.date = %q{2011-05-10}
|
||||
+ s.summary = %q{Send a machine's storage and metadata to virt-p2v-server}
|
||||
+ s.description = %q{
|
||||
+ virt-p2v is a client which connects to a virt-p2v-server and transfer's
|
||||
+ the host machine's storage and metadata. virt-p2v is intended to be run
|
||||
+ from a live image, so it is unlikely you want to install it.
|
||||
+ }
|
||||
+ s.email = %q{libguestfs@redhat.com}
|
||||
+ s.homepage = %q{http://libguestfs.org}
|
||||
+
|
||||
+ s.default_executable = %q{virt-p2v}
|
||||
+ s.executables = ["virt-p2v"]
|
||||
+ s.files = [
|
||||
+ "Rakefile",
|
||||
+ "bin/virt-p2v",
|
||||
+ "lib/virt-p2v/blockdevice.rb",
|
||||
+ "lib/virt-p2v/connection.rb",
|
||||
+ "lib/virt-p2v/converter.rb",
|
||||
+ "lib/virt-p2v/gtk-queue.rb",
|
||||
+ "lib/virt-p2v/netdevice.rb",
|
||||
+ "lib/virt-p2v/ui/connect.rb",
|
||||
+ "lib/virt-p2v/ui/convert.rb",
|
||||
+ "lib/virt-p2v/ui/main.rb",
|
||||
+ "lib/virt-p2v/ui/network.rb",
|
||||
+ "lib/virt-p2v/ui/p2v.ui",
|
||||
+ "lib/virt-p2v/ui/success.rb",
|
||||
+ "virt-p2v.gemspec",
|
||||
+ "Manifest"
|
||||
+ ]
|
||||
+ s.require_paths = ["lib"]
|
||||
+
|
||||
+ if s.respond_to? :specification_version then
|
||||
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
||||
+ s.specification_version = 3
|
||||
+
|
||||
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||
+ s.add_runtime_dependency(%q<gtk2>, [">= 0"])
|
||||
+ s.add_runtime_dependency(%q<gettext>, [">= 0"])
|
||||
+ s.add_runtime_dependency(%q<net-ssh>, [">= 0"])
|
||||
+ else
|
||||
+ s.add_dependency(%q<gtk2>, [">= 0"])
|
||||
+ s.add_dependency(%q<gettext>, [">= 0"])
|
||||
+ s.add_dependency(%q<net-ssh>, [">= 0"])
|
||||
+ end
|
||||
+ else
|
||||
+ s.add_dependency(%q<gtk2>, [">= 0"])
|
||||
+ s.add_dependency(%q<gettext>, [">= 0"])
|
||||
+ s.add_dependency(%q<net-ssh>, [">= 0"])
|
||||
+ end
|
||||
+
|
||||
+# Source doesn't contain any rdoc
|
||||
+# s.extra_rdoc_files = [
|
||||
+# "bin/virt-p2v",
|
||||
+# "lib/virt-p2v/blockdevice.rb",
|
||||
+# "lib/virt-p2v/connection.rb",
|
||||
+# "lib/virt-p2v/converter.rb",
|
||||
+# "lib/virt-p2v/gtk-queue.rb",
|
||||
+# "lib/virt-p2v/netdevice.rb",
|
||||
+# "lib/virt-p2v/ui/connect.rb",
|
||||
+# "lib/virt-p2v/ui/convert.rb",
|
||||
+# "lib/virt-p2v/ui/main.rb",
|
||||
+# "lib/virt-p2v/ui/network.rb",
|
||||
+# "lib/virt-p2v/ui/p2v.ui",
|
||||
+# "lib/virt-p2v/ui/success.rb"
|
||||
+# ]
|
||||
+# s.rdoc_options = [
|
||||
+# "--line-numbers",
|
||||
+# "--inline-source",
|
||||
+# "--title",
|
||||
+# "Virt-p2v"
|
||||
+# ]
|
||||
+end
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
commit a965f7e0609acc6107ffbbf70054776ee3c81918
|
||||
Author: Matthew Booth <mbooth@redhat.com>
|
||||
Date: Thu May 12 10:07:06 2011 +0100
|
||||
|
||||
p2v-client: Build rdoc with options
|
||||
|
||||
Use rdoc options taken from gemspec generated by echoe.
|
||||
|
||||
diff --git a/p2v/client/virt-p2v.gemspec b/p2v/client/virt-p2v.gemspec
|
||||
index d8edde8..610c2a3 100644
|
||||
--- a/p2v/client/virt-p2v.gemspec
|
||||
+++ b/p2v/client/virt-p2v.gemspec
|
||||
@@ -72,25 +72,23 @@ GEMSPEC = Gem::Specification.new do |s|
|
||||
s.add_dependency(%q<net-ssh>, [">= 0"])
|
||||
end
|
||||
|
||||
-# Source doesn't contain any rdoc
|
||||
-# s.extra_rdoc_files = [
|
||||
-# "bin/virt-p2v",
|
||||
-# "lib/virt-p2v/blockdevice.rb",
|
||||
-# "lib/virt-p2v/connection.rb",
|
||||
-# "lib/virt-p2v/converter.rb",
|
||||
-# "lib/virt-p2v/gtk-queue.rb",
|
||||
-# "lib/virt-p2v/netdevice.rb",
|
||||
-# "lib/virt-p2v/ui/connect.rb",
|
||||
-# "lib/virt-p2v/ui/convert.rb",
|
||||
-# "lib/virt-p2v/ui/main.rb",
|
||||
-# "lib/virt-p2v/ui/network.rb",
|
||||
-# "lib/virt-p2v/ui/p2v.ui",
|
||||
-# "lib/virt-p2v/ui/success.rb"
|
||||
-# ]
|
||||
-# s.rdoc_options = [
|
||||
-# "--line-numbers",
|
||||
-# "--inline-source",
|
||||
-# "--title",
|
||||
-# "Virt-p2v"
|
||||
-# ]
|
||||
+ s.extra_rdoc_files = [
|
||||
+ "bin/virt-p2v",
|
||||
+ "lib/virt-p2v/blockdevice.rb",
|
||||
+ "lib/virt-p2v/connection.rb",
|
||||
+ "lib/virt-p2v/converter.rb",
|
||||
+ "lib/virt-p2v/gtk-queue.rb",
|
||||
+ "lib/virt-p2v/netdevice.rb",
|
||||
+ "lib/virt-p2v/ui/connect.rb",
|
||||
+ "lib/virt-p2v/ui/convert.rb",
|
||||
+ "lib/virt-p2v/ui/main.rb",
|
||||
+ "lib/virt-p2v/ui/network.rb",
|
||||
+ "lib/virt-p2v/ui/p2v.ui",
|
||||
+ "lib/virt-p2v/ui/success.rb"
|
||||
+ ]
|
||||
+ s.rdoc_options = [
|
||||
+ "--line-numbers",
|
||||
+ "--inline-source",
|
||||
+ "--title", "virt-p2v"
|
||||
+ ]
|
||||
end
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
commit 77bd79083879c7bca15c00d96c570da6faa16839
|
||||
Author: Matthew Booth <mbooth@redhat.com>
|
||||
Date: Tue May 17 10:00:34 2011 +0100
|
||||
|
||||
p2v-server: Fix YAML error parsing metadata
|
||||
|
||||
The YAML perl module will produce a parse error when receiving metadata YAML
|
||||
produced by virt-p2v. YAML::Tiny and YAML::Syck both parse it fine.
|
||||
Unfortunately, YAML::Any is only provided by the YAML module, so it will always
|
||||
be installed on Fedora, and will always break. We therefore need to pick one of
|
||||
the others explicitly. I picked YAML::Tiny as it has fewer dependencies.
|
||||
|
||||
diff --git a/p2v/server/virt-p2v-server.pl b/p2v/server/virt-p2v-server.pl
|
||||
index d062d9d..2dfae24 100755
|
||||
--- a/p2v/server/virt-p2v-server.pl
|
||||
+++ b/p2v/server/virt-p2v-server.pl
|
||||
@@ -20,7 +20,11 @@ use warnings;
|
||||
use strict;
|
||||
|
||||
use IO::Handle;
|
||||
-use YAML::Any;
|
||||
+
|
||||
+# The YAML module doesn't support YAML generated by Ruby. YAML::Tiny and
|
||||
+# YAML::Syck are both fine. We can't use YAML::Any here because that breaks by
|
||||
+# default.
|
||||
+use YAML::Tiny;
|
||||
|
||||
use Locale::TextDomain 'virt-v2v';
|
||||
|
||||
1026
virt-v2v.spec
1026
virt-v2v.spec
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue