41 Commits

Author SHA1 Message Date
Richard W.M. Jones
f653b3d849 docs: Add outline release notes for virt-v2v 2.6 2024-10-03 12:31:20 +01:00
Andi Chandler
00692c57b0 Translated using Weblate (English (United Kingdom))
Currently translated at 4.9% (65 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/en_GB/
2024-09-02 15:00:23 +01:00
Richard W.M. Jones
9b69cde051 po-docs: Update podfiles
Adds the two v2v-customize-*.pod snippets.

Also update the common submodule to get:

  Richard W.M. Jones (1):
      mlcustomize: Include v2v-customize-*.pod in EXTRA_DIST

Updates: commit f720aff7d690ead787b2ec9d4dabdff2b2923efd
2024-08-29 15:08:42 +01:00
Richard W.M. Jones
cf4cb02743 docs: Add outline release notes for virt-v2v 2.4 2024-01-04 15:15:57 +00:00
Weblate
883f72d6e4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/
2023-11-24 20:02:38 +01:00
Richard W.M. Jones
37e424323d New mailing list email address 2023-11-16 10:39:27 +00:00
Emilio Herrera
41c53060c3 Translated using Weblate (Spanish)
Currently translated at 1.3% (18 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/es/
2023-08-05 13:21:05 +02:00
grimst
2c84f6e5fc Translated using Weblate (French)
Currently translated at 0.8% (11 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/fr/

Translated using Weblate (French)

Currently translated at 2.7% (13 of 473 strings)

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/fr/
2023-06-05 09:20:40 +02:00
Jan Kuparinen
d78c3bdcda Translated using Weblate (Finnish)
Currently translated at 1.9% (25 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/fi/
2023-01-13 21:20:30 +01:00
Richard W.M. Jones
524d5c814d docs: Add outline release notes for virt-v2v 2.2
To be released on Monday.
2023-01-06 10:47:28 +00:00
Richard W.M. Jones
0805ea9379 New virt-v2v-inspector tool
This tool can be used to estimate the disk space needed before doing a
virt-v2v conversion.  It is a replacement for the old --print-estimate
option which was dropped in virt-v2v 2.0 (commit 5828c9c7d5 "v2v:
Remove --print-estimate option").

In Kubernetes and tools like Kubevirt, it's not possible to create
some disks and attach to them (in order to populate them with data) in
one step.  This makes virt-v2v conversions awkward because ideally we
would like the output mode (-o kubevirt) to both create the target
disks and populate them at the same time.

To work around this problem, we need a tool which can inspect the
virt-v2v source hypervisor before we do the conversion in order to
find out how many disks are needed and their sizes.  Then we can
create the target disks, and then we can run a second container with
virt-v2v attached to the disks to do the conversion and populate the
output.

This new tool essentially uses the same -i* options as virt-v2v (and
no -o* options) and outputs various useful metadata.  Example:

  $ virt-v2v-inspector --quiet -i disk fedora-32.img
  virt-v2v-inspector: The QEMU Guest Agent will be installed for this guest
at first boot.
  virt-v2v-inspector: warning: /files/boot/grub2/device.map/hd0 references
unknown device "vda".  You may have to fix this entry manually after
conversion.
  <?xml version='1.0' encoding='utf-8'?>
  <v2v-inspection>
    <!-- generated by virt-v2v-inspector 2.1.9local,libvirt -->
    <program>virt-v2v-inspector</program>
    <package>virt-v2v</package>
    <version>2.1.9</version>
    <disks>
      <disk index='0'>
        <virtual-size>6442450944</virtual-size>
        <allocated estimated='true'>1400897536</allocated>
      </disk>
    </disks>
    <operatingsystem>
      <name>linux</name>
      <distro>fedora</distro>
      <osinfo>fedora32</osinfo>
      <arch>x86_64</arch>
      <major_version>32</major_version>
      <minor_version>0</minor_version>
      <package_format>rpm</package_format>
      <package_management>dnf</package_management>
      <product_name>Fedora 32 (Thirty Two)</product_name>
    </operatingsystem>
  </v2v-inspection>

There should be sufficient information in the <disks> section to
allocate target disks, plus additional information is printed which
might be useful.

Note that we do a full conversion in order to generate this
information.  In particular it's not possible to generate the
<allocated/> estimate without this.  It's plausible we could have a
--no-convert option, but I'm not sure it's worthwhile: it would only
save a little time, but would make everything less accurate, plus
maybe it is a good idea to find out if conversion is going to work
before we create the target disks?

I chose XML instead of JSON for output.  XML allows us to annotate
elements with attributes like "estimated='true'".  It also lets us
represent 64 bit number accurately, where JSON cannot represent such
numbers.

The output can be written to stdout (the default, or you can use "-O -"),
but for use from another program it is usually better to write the
output to a file using "-O output.xml".

Acked-by: Laszlo Ersek <lersek at redhat.com>
2022-11-26 14:58:26 +00:00
Richard W.M. Jones
4e8ccb3374 po-docs: Sort LINGUAS file 2022-03-31 16:40:02 +01:00
Emilio Herrera
96852a2b8d Translated using Weblate (Spanish)
Currently translated at 1.3% (17 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/es/
2022-03-26 11:39:16 +01:00
Ettore Atalan
14d9ab0091 Translated using Weblate (German)
Currently translated at 4.4% (58 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/de/

Translated using Weblate (German)

Currently translated at 25.0% (51 of 204 strings)

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/de/
2022-03-26 11:39:16 +01:00
Jan Kuparinen
9181a508b7 Translated using Weblate (Finnish)
Currently translated at 1.8% (24 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/fi/

Translated using Weblate (Finnish)

Currently translated at 1.6% (22 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/fi/

Translated using Weblate (Finnish)

Currently translated at 1.6% (21 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/fi/

Translated using Weblate (Finnish)

Currently translated at 0.8% (11 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/fi/

Translated using Weblate (Finnish)

Currently translated at 8.0% (42 of 523 strings)

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/fi/

Added translation using Weblate (Finnish)
2022-03-26 11:39:14 +01:00
Hela Basa
99863e4339 Translated using Weblate (Sinhala)
Currently translated at 0.1% (1 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/si/

Added translation using Weblate (Sinhala)

Added translation using Weblate (Sinhala)
2022-03-26 11:39:12 +01:00
Weblate
6b12553d03 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/
2022-03-26 11:39:09 +01:00
Yuri Chornoivan
966fe03682 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1305 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/uk/

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (526 of 526 strings)

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/uk/

Translated using Weblate (Ukrainian)

Currently translated at 76.8% (404 of 526 strings)

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/uk/

Translated using Weblate (Ukrainian)

Currently translated at 92.8% (1212 of 1305 strings)

Translation: libguestfs/virt-v2v-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-docs-master/uk/

Translated using Weblate (Ukrainian)

Currently translated at 6.4% (34 of 526 strings)

Translation: libguestfs/virt-v2v-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/virt-v2v-master/uk/
2022-03-26 11:39:08 +01:00
Richard W.M. Jones
b365a87b99 Version 2.0.0. 2022-03-14 13:30:43 +00:00
Richard W.M. Jones
2b27652013 Add in-place support back to virt-v2v
Add a new front end called virt-v2v-in-place which implements simple
in-place conversion support for local disks.

Commit 255722cbf3 ("v2v: Modular virt-v2v") temporarily dropped this
feature.  This commit adds it back.
2022-03-10 15:11:53 +00:00
Richard W.M. Jones
4e1f5b42f2 Remove old virt-v2v test-harness
This hasn't been used for quite a long time and never worked that well
anyway.  We now have much more sophisticated ways to test virt-v2v.
2021-05-20 12:04:56 +01:00
Richard W.M. Jones
7996ec5f5b Remove deprecated tool virt-v2v-copy-to-local.
This was deprecated in commit 4bde87e340aacf2ced25e80c1d3da3d02f27d066
(from Nov 2018).

This will temporarily make it impossible to convert from Xen guests
which use block devices over SSH, but I hope to solve that after the
virt-v2v split.
2021-05-20 11:53:02 +01:00
Pino Toscano
7057159d55 po-docs: update translations from catalog templates
Run a msgmerge of the translations with the up-to-date template.
Do it manually before adding virt-v2v to Weblate, so we can edit them
(e.g. removing the obsolete messages, which are largely from libguestfs
sources).
2020-08-13 13:45:15 +02:00
Pino Toscano
4ca5cddb0f po/po-docs: update catalog templates
Regenerate the catalog templates according to the updated extraction
rules (fixed paths, and added sources).
2020-08-13 13:17:56 +02:00
Pino Toscano
4dd9533aaa po-docs: fix references to sources
Start the message extraction from the toplevel source directory, so the
file references are relative to that, instead of relative to this
po-docs subdirectory.

In addition, remove the reference to POTFILES-pl, as there are no Perl
sources in virt-v2v.

Also update/regenerate podfiles accordingly.
2020-08-13 13:01:39 +02:00
Pino Toscano
c78359deeb po-docs: split pot and po handling
With the Weblate adoption, we let it update the po files from the
catalog template. The po4a behaviour of extracting the template,
merging the existing translations, and creating the translated PODs at
once is problematic. Hence, split the extraction and the translated POD
generation in two.

Use po4a-gettextize to extract the catalog template only, not doing it
anymore automatically at each build. There is no more need for a
po4a.conf file.

Use po4a-translate to create translated PODs from the po files, keeping
the fixup of the generated files (to avoid spurious =encoding, etc).
Add a silent rule to hide the po4a-translate command lines by default.

These changes also allow us to get rid of the POD existance checks with
associated error message pointing to the update-po rule. Now each
translated POD file is generated because of make dependency, and it
depends only on its po file.
2020-08-13 12:55:51 +02:00
Pino Toscano
7a2fbed3ed po-docs: add missing dependencies for virt-v2v.1
The virt-v2v man page uses also additional POD snippets, so list them
as dependencies to make sure they are up-to-date.

This does not change the behaviour at the moment, however it will matter
when each traslated POD file will be generated on its own.
2020-08-13 12:49:08 +02:00
Pino Toscano
5b40402f6c podfiles: add missing documentation 2020-08-13 12:41:51 +02:00
Pino Toscano
6497ccbef8 po-docs: turn language list into LINGUAS file
Use a LINGUAS file with the list of available translations instead of
defining them in a make variable. This way Weblate will be able to
update the list using an available addon, and we do not need to list
those not built.

Accordingly, rename the variable with built languages to
'linguas_translated'.
2020-08-13 12:36:46 +02:00
Pino Toscano
ff73540f9c po-docs: fix generation of podfiles
Ignore the top-level virt-v2v-1.X directories, created at dist time.
2020-07-27 12:44:43 +02:00
Richard W.M. Jones
3ca17254df Version 1.43.1. 2020-07-06 15:25:29 +01:00
Richard W.M. Jones
2c21391254 Version 1.42.0. 2020-04-16 11:00:43 +01:00
Richard W.M. Jones
9a3a71bc8b Change a few libguestfs -> virt-v2v and update copyright dates. 2020-04-02 13:21:53 +01:00
Pino Toscano
f8e4e8643f po: update podfiles
Followup of commit 3c1db2f609fc531ab2e9dcefbf71c96a24308b92.
2020-03-12 12:32:59 +01:00
Pino Toscano
02bba57e12 po: update podfiles
Followup of commit 51c839c77f83fae87c38ee1883ddc52c3dc1e4ad.
2019-12-10 17:46:48 +01:00
Pino Toscano
b7f4c8ffae Remove extra entries from podfiles 2019-11-27 15:31:47 +01:00
Richard W.M. Jones
b411fe23e4 Version 1.41.8. 2019-11-19 14:54:32 +00:00
Richard W.M. Jones
3c0bbe66da Version 1.41.7. 2019-11-16 08:37:43 +00:00
Richard W.M. Jones
e468bfec88 po-docs: Rename pot file to virt-v2v-docs.pot.
This contains the translations of man pages and similar,
built using po4a.
2019-11-12 15:04:50 +00:00
Richard W.M. Jones
6935dbde0b po-docs: Remove references to non-v2v man pages.
Fixes commit 5f355c2952729581f1b988297fe8cabe756c01e2.
2019-10-16 22:53:44 +01:00
Richard W.M. Jones
5f355c2952 Add back basic build environment.
Largely copied from original libguestfs.git.
2019-10-16 17:38:14 +01:00