diff --git a/CHANGES b/CHANGES index 04ef9bc..34ee113 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,27 @@ +commit ed7a7d2c13c9479cea9a704cc2e7cf6b7b64833d +Author: Dominik Hassler +Date: Tue Sep 12 23:02:19 2017 +0200 + + diff option added + +commit fe0f8cc78e3e30fe374c954ed3a67737b26822e3 +Author: Dominik Hassler +Date: Fri Sep 8 23:30:24 2017 +0200 + + add logo to README.md + +commit cbc6acb1589bf68ada9cd260eeb0ae526f6acd3f +Author: Dominik Hassler +Date: Fri Sep 8 01:14:23 2017 +0200 + + add minimal POD + +commit 88b0bd3d9cfad86a51d753f9bc08e44fbe33b0da +Author: Dominik Hassler +Date: Thu Aug 31 15:36:25 2017 +0200 + + ready for 0.1.10 + commit 5d5d7b3e1365ce2575bfb8a4392f25d8e14102d1 Author: Dominik Hassler Date: Thu Aug 31 15:27:27 2017 +0200 diff --git a/README.md b/README.md index 8beb8ac..6e5607c 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ pkgmgr [![Build Status](https://travis-ci.org/omniosorg/pkgmgr.svg?branch=master)](https://travis-ci.org/omniosorg/pkgmgr) -Version: 0.1.10 +Version: 0.1.11 -Date: 2017-08-31 +Date: 2017-09-12 pkgmgr is an IPS package management and publishing tool. diff --git a/VERSION b/VERSION index 9767cc9..20f4951 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.10 +0.1.11 diff --git a/configure b/configure index 5e18285..9c1052d 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pkgmgr 0.1.10. +# Generated by GNU Autoconf 2.69 for pkgmgr 0.1.11. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pkgmgr' PACKAGE_TARNAME='pkgmgr' -PACKAGE_VERSION='0.1.10' -PACKAGE_STRING='pkgmgr 0.1.10' +PACKAGE_VERSION='0.1.11' +PACKAGE_STRING='pkgmgr 0.1.11' PACKAGE_BUGREPORT='hadfl@omniosce.org' PACKAGE_URL='' @@ -1220,7 +1220,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pkgmgr 0.1.10 to adapt to many kinds of systems. +\`configure' configures pkgmgr 0.1.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1286,7 +1286,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pkgmgr 0.1.10:";; + short | recursive ) echo "Configuration of pkgmgr 0.1.11:";; esac cat <<\_ACEOF @@ -1372,7 +1372,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pkgmgr configure 0.1.10 +pkgmgr configure 0.1.11 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1389,7 +1389,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pkgmgr $as_me 0.1.10, which was +It was created by pkgmgr $as_me 0.1.11, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2259,7 +2259,7 @@ fi # Define the identity of the package. PACKAGE='pkgmgr' - VERSION='0.1.10' + VERSION='0.1.11' cat >>confdefs.h <<_ACEOF @@ -3425,7 +3425,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pkgmgr $as_me 0.1.10, which was +This file was extended by pkgmgr $as_me 0.1.11, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3478,7 +3478,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pkgmgr config.status 0.1.10 +pkgmgr config.status 0.1.11 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/doc/pkgmgr.pod b/doc/pkgmgr.pod index 8a28bf6..b8feeba 100644 --- a/doc/pkgmgr.pod +++ b/doc/pkgmgr.pod @@ -10,6 +10,8 @@ where 'command' is one of the following: list [-t |] [--src|dst|staging] [pkg_fmri_pattern ...] + diff [--src|dst|staging] [pkg_fmri_pattern ...] + stage [-y] [-n] [pkg_fmri_pattern ...] publish [-y] [-n] [pkg_fmri_pattern ...] @@ -41,6 +43,12 @@ If the B<-t> option is used, only packages that have a more recent ISO timestamp be listed or a timestamp within B timespan. B can be suffixed with s, M, h, d, m, y (defaults to seconds). +=head2 B + +returns a diff of package versions in the repositories that match the B, +publisher and release. Use the B<--src|dst|staging> option to specify which +repositories to diff. Defaults to B<--src> if not defined. + =head2 B stages the packages that match the B, publisher and release. @@ -80,6 +88,10 @@ list all packages in the staging repository of 'r151022' containing the string ' pkgmgr list r151022 --staging '*gnu*' +show all packages that have changed between r151022 and bloody in the destination repos + + pkgmgr diff r151022 bloody --dst + stage all packages that have changed within the last 2 hours for repository 'r151022' pkgmgr list r151022 -t 2h | pkgmgr stage r151022 diff --git a/man/pkgmgr.1 b/man/pkgmgr.1 index 8dec752..6e3e9db 100644 --- a/man/pkgmgr.1 +++ b/man/pkgmgr.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "PKGMGR 1" -.TH PKGMGR 1 "2017-08-31" "0.1.10" "pkgmgr" +.TH PKGMGR 1 "2017-09-12" "0.1.11" "pkgmgr" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -149,6 +149,8 @@ where 'command' is one of the following: .Vb 1 \& list [\-t |] [\-\-src|dst|staging] [pkg_fmri_pattern ...] \& +\& diff [\-\-src|dst|staging] [pkg_fmri_pattern ...] +\& \& stage [\-y] [\-n] [pkg_fmri_pattern ...] \& \& publish [\-y] [\-n] [pkg_fmri_pattern ...] @@ -178,6 +180,11 @@ repository to list. Defaults to \fB\-\-src\fR if not defined. If the \fB\-t\fR option is used, only packages that have a more recent \s-1ISO\s0 timestamp will be listed or a timestamp within \fBinterval\fR timespan. \fBinterval\fR can be suffixed with s, M, h, d, m, y (defaults to seconds). +.SS "\fBdiff\fP" +.IX Subsection "diff" +returns a diff of package versions in the repositories that match the \fBpkg_fmri_pattern\fR, +publisher and release. Use the \fB\-\-src|dst|staging\fR option to specify which +repositories to diff. Defaults to \fB\-\-src\fR if not defined. .SS "\fBstage\fP" .IX Subsection "stage" stages the packages that match the \fBpkg_fmri_pattern\fR, publisher and release. @@ -213,6 +220,12 @@ list all packages in the staging repository of 'r151022' containing the string ' \& pkgmgr list r151022 \-\-staging \*(Aq*gnu*\*(Aq .Ve .PP +show all packages that have changed between r151022 and bloody in the destination repos +.PP +.Vb 1 +\& pkgmgr diff r151022 bloody \-\-dst +.Ve +.PP stage all packages that have changed within the last 2 hours for repository 'r151022' .PP .Vb 1