aptly snapshot diff command and documentation.

This commit is contained in:
Andrey Smirnov
2014-01-14 01:59:48 +04:00
parent 49c8c8bdc0
commit e63bbe839b
2 changed files with 128 additions and 0 deletions
+27
View File
@@ -412,6 +412,33 @@ Example::
Snapshot snap-deb-main-w-xorg successfully created.
You can run 'aptly publish snapshot snap-deb-main-w-xorg' to publish snapshot as Debian repository.
``aptly snapshot diff``
^^^^^^^^^^^^^^^^^^^^^^^
Displays difference in packages between two snapshots. Snapshot is a list of packages, so difference between
snapshots is a difference between package lists. Package could be either completely missing in one snapshot,
or package is present in both snapshots with different versions.
Usage::
aptly snapshot diff <name-a> <name-b>
Options:
* ``-only-matching=false``: display diff only for matching packages (don't display missing packages)
Example::
$ aptly snapshot diff snap-deb2-main snap-deb-main-w-xorg
Arch | Package | Version in A | Version in B
! amd64 | libxfont1 | 1:1.4.1-3 | 1:1.4.4-1~bpo60+1
! i386 | libxfont1 | 1:1.4.1-3 | 1:1.4.4-1~bpo60+1
! all | xserver-common | 2:1.7.7-16 | 2:1.10.4-1~bpo60+2
! amd64 | xserver-xorg | 1:7.5+8+squeeze1 | 1:7.6+8~bpo60+1
! i386 | xserver-xorg | 1:7.5+8+squeeze1 | 1:7.6+8~bpo60+1
! amd64 | xserver-xorg-core | 2:1.7.7-16 | 2:1.10.4-1~bpo60+2
! i386 | xserver-xorg-core | 2:1.7.7-16 | 2:1.10.4-1~bpo60+2
Command ``publish``
~~~~~~~~~~~~~~~~~~~