#
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "11")
-SET(VERSION_PATCH "34")
+SET(VERSION_PATCH "35")
-# LAST RELEASED: 1.11.34
+# LAST RELEASED: 1.11.35
#=======
.\" Title: zypper
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\" Date: 07/09/2015
+.\" Date: 09/09/2015
.\" Manual: ZYPPER
.\" Source: SUSE Linux
.\" Language: English
.\"
-.TH "ZYPPER" "8" "07/09/2015" "SUSE Linux" "ZYPPER"
+.TH "ZYPPER" "8" "09/09/2015" "SUSE Linux" "ZYPPER"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
This command is similar to
\fBzypper update \-t patch\fR\&.
.PP
+\fB\-\-updatestack\-only\fR
+.RS 4
+Install only patches which affect the package management itself and exit\&.
+.RE
+.PP
\fB\-b\fR, \fB\-\-bugzilla\fR \fI#\fR
.RS 4
Install patch fixing a Bugzilla issue specified by number\&. Use
This command is similar to *zypper update -t patch*.
+
--
+ *--updatestack-only*::
+ Install only patches which affect the package management itself and exit.
+
*-b*, *--bugzilla* '#'::
Install patch fixing a Bugzilla issue specified by number. Use *list-patches --bugzilla* command to get a list of available needed patches for specific issues.
-------------------------------------------------------------------
+Wed Sep 9 08:24:29 CEST 2015 - ma@suse.de
+
+- patch --updatestack-only: Install only patches which affect the
+ package management itself (FATE#319407)
+- version 1.11.35
+
+-------------------------------------------------------------------
+Sun Sep 6 01:13:45 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Sep 3 01:14:49 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Sun Aug 30 01:13:36 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Aug 27 01:15:05 CEST 2015 - ma@suse.de
+
+- Update sle-zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Aug 27 01:13:27 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Sun Aug 23 01:13:35 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Aug 13 01:15:09 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Sun Aug 9 01:14:40 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Aug 6 01:14:42 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Sun Aug 2 01:14:34 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Jul 30 01:14:33 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Tue Jul 28 14:09:32 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
Thu Jul 9 16:38:49 CEST 2015 - ma@suse.de
- Options to allow vendor locking for zypper dup (FATE#319128)
DBG << "going to mark needed patches for installation" << endl;
// search twice: if there are none with restartSuggested(), retry on all
+ // unless --updatestack-only.
// (in the first run, ignore_pkgmgmt == 0, in the second it is 1)
bool any_marked = false;
bool dateLimit = ( _opts.date_limit != Date() );
any_marked = true;
}
- if (any_marked && !ignore_pkgmgmt)
- MIL << "got some pkgmgmt patches, will install these first" << endl;
+ if ( ! ignore_pkgmgmt ) // just checked the update stack
+ {
+ if ( any_marked )
+ MIL << "got some pkgmgmt patches, will install these first" << endl;
+
+ if ( Zypper::instance()->cOpts().count("updatestack-only") )
+ {
+ MIL << "updatestack-only: will stop here!" << endl;
+ break;
+ }
+ }
}
}
% old_r
% new_r );
}
+
+ inline std::string dashdash( std::string optname_r )
+ { return std::move(optname_r.insert( 0, "--" )); }
+
} //namespace
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
{
static struct option update_options[] = {
{"repo", required_argument, 0, 'r'},
+ {"updatestack-only", no_argument, 0, 0 },
{"skip-interactive", no_argument, 0, 0 },
{"with-interactive", no_argument, 0, 0 },
{"auto-agree-with-licenses", no_argument, 0, 'l'},
{0, 0, 0, 0}
};
specific_options = update_options;
- _command_help = str::form(_(
+ _command_help = ( CommandHelpFormater()
+ << str::form(_(
"patch [options]\n"
"\n"
"Install all available needed patches.\n"
" --download Set the download-install mode. Available modes:\n"
" %s\n"
"-d, --download-only Only download the packages, do not install.\n"
- ), "only, in-advance, in-heaps, as-needed");
+ ), "only, in-advance, in-heaps, as-needed") )
+ .option("--updatestack-only", _("Install only patches which affect the package management itself.") )
+ ;
break;
}
return;
}
+ if ( copts.count("updatestack-only") )
+ {
+ for ( const char * opt : { "bugzilla", "bz", "cve" } )
+ {
+ if ( copts.count( opt ) )
+ {
+ out().error(str::form(_("Cannot use %s together with %s."),
+ dashdash("updatestack-only").c_str(),
+ dashdash(opt).c_str() ) );
+ setExitCode(ZYPPER_EXIT_ERR_INVALID_ARGS);
+ return;
+ }
+ }
+ }
+
bool skip_interactive = false;
if (copts.count("skip-interactive"))
{
}
// check for running services (fate #300763)
- if ( zypper.cOpts().find("download-only") == zypper.cOpts().end()
+ if ( ! ( zypper.cOpts().count("download-only") || zypper.cOpts().count("dry-run") )
&& ( summary.packagesToRemove()
|| summary.packagesToUpgrade()
|| summary.packagesToDowngrade() ) )
// translators: %1% is a directory name
out << boost::format(_(
- "Zypper subcommands are standalone executables that live in the\n"
+ "Zypper subcommands are standalone executables that live in the\n"
"zypper_execdir ('%1%').\n"
"\n"
"For subcommands zypper provides a wrapper that knows where the\n"
"to them.\n"
"\n"
"If a subcommand is not found in the zypper_execdir, the wrapper\n"
- "will look in the rest of your $PATH for it. Thus, it’s possible\n"
- "to write local zypper extensions that don’t live in system space.\n"
+ "will look in the rest of your $PATH for it. Thus, it's possible\n"
+ "to write local zypper extensions that don't live in system space.\n"
) ) % _execdir;
out << endl;
Obsoletes: y2pmsh
Provides: zypper(oldpackage)
+Provides: zypper(updatestack-only)
%description
Zypper is a command line tool for managing software. It can be used to add