[Libguestfs] [PATCH] list-applications: Add support for pacman

Nikos Skalkotos skalkoto at gmail.com
Mon Nov 17 13:57:53 UTC 2014


It's not exactly a problem but Debian supports an epoch. The format is
like this:

[epoch:]upstream_version[-debian_revision]

https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version

Right now if a package has a version like this: 1:1.2.3-1, libguestfs
will translate it as:
epoch=0
version = 1:1.2.3
release=1

The same thing does my patch for pacman. If we are to leave it like
this, then it makes more sense to do the same for pacman, otherwise in
both cases the version field should be translated to:

epoch=1
version = 1.2.3
release=1

Nikos

On 17 November 2014 15:12, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Mon, Nov 17, 2014 at 03:01:57PM +0200, Nikos Skalkotos wrote:
>> OK, I'll try to fix the epoch thing for all three.
>
> Actually I've just fixed it (for RPM -- I don't think Debian
> has a problem).
>
> If Arch has an Epoch-like field, then it'd be good to fix that.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list