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

Richard W.M. Jones rjones at redhat.com
Mon Nov 17 14:19:37 UTC 2014


On Mon, Nov 17, 2014 at 03:57:53PM +0200, Nikos Skalkotos wrote:
> 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

Yes it obviously makes more sense to separate out the epoch field.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list