platform/upstream/zypper.git
15 years agoFixed 'help update' (bnc #458959).
Ján Kupec [Mon, 27 Jul 2009 10:23:57 +0000 (12:23 +0200)]
Fixed 'help update' (bnc #458959).

15 years agoAvoid initializing readline if not writing to terminal.
Ján Kupec [Mon, 27 Jul 2009 10:02:52 +0000 (12:02 +0200)]
Avoid initializing readline if not writing to terminal.

15 years agochanges
Ján Kupec [Wed, 15 Jul 2009 23:48:55 +0000 (01:48 +0200)]
changes

15 years agolist-updates: show also current version (bnc #466599)
Ján Kupec [Wed, 15 Jul 2009 23:46:12 +0000 (01:46 +0200)]
list-updates: show also current version (bnc #466599)

15 years agochanges
Ján Kupec [Wed, 15 Jul 2009 22:57:03 +0000 (00:57 +0200)]
changes

15 years agoFixed translator comment.
Ján Kupec [Wed, 15 Jul 2009 22:44:09 +0000 (00:44 +0200)]
Fixed translator comment.

15 years agoMan page update.
Ján Kupec [Wed, 15 Jul 2009 22:38:23 +0000 (00:38 +0200)]
Man page update.

15 years agoZyppCommon cmake module expects rpmlint file like this
Ján Kupec [Wed, 15 Jul 2009 08:13:31 +0000 (10:13 +0200)]
ZyppCommon cmake module expects rpmlint file like this

15 years agoManage updates for bugzilla and CVE issues (fate #305503).
Ján Kupec [Wed, 15 Jul 2009 06:30:49 +0000 (08:30 +0200)]
Manage updates for bugzilla and CVE issues (fate #305503).

- list-updates: --bugzilla, --cve, --issues, --all options added
- patch: --bugzilla, --cve options added

15 years agoupdate.h cleanup
Ján Kupec [Thu, 9 Jul 2009 12:58:37 +0000 (14:58 +0200)]
update.h cleanup

15 years agoTranslations
Ján Kupec [Thu, 9 Jul 2009 10:40:14 +0000 (12:40 +0200)]
Translations

15 years agochange
Ján Kupec [Thu, 9 Jul 2009 10:31:57 +0000 (12:31 +0200)]
change

15 years agorpmmlintrc added
Ján Kupec [Thu, 9 Jul 2009 10:20:37 +0000 (12:20 +0200)]
rpmmlintrc added

15 years agoEnable use of name-version.arch all together (bnc #519312).
Ján Kupec [Thu, 9 Jul 2009 10:18:32 +0000 (12:18 +0200)]
Enable use of name-version.arch all together (bnc #519312).

15 years agoMerge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/zypper
Ján Kupec [Thu, 9 Jul 2009 10:17:22 +0000 (12:17 +0200)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/zypper

15 years agoRemove references to deprecated UpgradeStatistics.
Michael Andres [Wed, 8 Jul 2009 12:22:28 +0000 (14:22 +0200)]
Remove references to deprecated UpgradeStatistics.

15 years agoImproved package summary and description.
Ján Kupec [Tue, 30 Jun 2009 09:51:02 +0000 (11:51 +0200)]
Improved package summary and description.

15 years agoShow verbose summary when -v is used (bnc #517171)
Ján Kupec [Tue, 30 Jun 2009 09:17:22 +0000 (11:17 +0200)]
Show verbose summary when -v is used (bnc #517171)

15 years agoChanges & version.
Ján Kupec [Mon, 29 Jun 2009 15:41:57 +0000 (17:41 +0200)]
Changes & version.

15 years agoTranslations update.
Ján Kupec [Mon, 29 Jun 2009 15:39:53 +0000 (17:39 +0200)]
Translations update.

15 years agoChanges
Ján Kupec [Mon, 29 Jun 2009 13:19:08 +0000 (15:19 +0200)]
Changes

15 years agoShow all updates, not only sw-mgmt (bnc #503068)
Ján Kupec [Mon, 29 Jun 2009 11:49:51 +0000 (13:49 +0200)]
Show all updates, not only sw-mgmt (bnc #503068)

- now 'list-patches' does not hide other updates if software
  management updates (which are to be installed before any other)
  are available.

15 years agoUsing ui::Selectable to install patches.
Ján Kupec [Sun, 28 Jun 2009 19:36:24 +0000 (21:36 +0200)]
Using ui::Selectable to install patches.

- using Selectable::isBroken() to decide whether to install a patch
- using Selectable::setToInstall() to install them (bnc #498814)

15 years agogotcha
Ján Kupec [Sun, 28 Jun 2009 19:36:00 +0000 (21:36 +0200)]
gotcha

15 years agochanges
Ján Kupec [Sun, 28 Jun 2009 15:31:57 +0000 (17:31 +0200)]
changes

15 years agoHandle multiple versions in summary (bnc #389128).
Ján Kupec [Tue, 23 Jun 2009 16:53:16 +0000 (18:53 +0200)]
Handle multiple versions in summary (bnc #389128).

- versions will be automatically shown in the summary
  if there are multiple versions of the same package

15 years agoSome sk translation fixes.
Ján Kupec [Tue, 23 Jun 2009 16:13:53 +0000 (18:13 +0200)]
Some sk translation fixes.

15 years agoNew translations.
Ján Kupec [Thu, 11 Jun 2009 17:09:20 +0000 (19:09 +0200)]
New translations.

15 years agoTypos
Ján Kupec [Thu, 11 Jun 2009 12:36:47 +0000 (14:36 +0200)]
Typos

15 years ago- new files with text for translation
Ján Kupec [Mon, 8 Jun 2009 14:44:06 +0000 (16:44 +0200)]
- new files with text for translation

15 years agoVersion.
Ján Kupec [Mon, 8 Jun 2009 10:32:14 +0000 (12:32 +0200)]
Version.

15 years agoFew words about repositories added.
Ján Kupec [Mon, 8 Jun 2009 10:31:28 +0000 (12:31 +0200)]
Few words about repositories added.

15 years agoShow arch after version.
Ján Kupec [Sun, 7 Jun 2009 14:35:50 +0000 (16:35 +0200)]
Show arch after version.

15 years agoShow to-be-removed and to-change-vendor count in negative color.
Ján Kupec [Sun, 7 Jun 2009 14:34:48 +0000 (16:34 +0200)]
Show to-be-removed and to-change-vendor count in negative color.

15 years agoShow also repo and arch in products table.
Ján Kupec [Sun, 7 Jun 2009 13:55:09 +0000 (15:55 +0200)]
Show also repo and arch in products table.

15 years agoRemove deprecated zypp::Product::type() calls.
Ján Kupec [Sun, 7 Jun 2009 13:23:25 +0000 (15:23 +0200)]
Remove deprecated zypp::Product::type() calls.

- Is Base: Yes/No is shown instead
- in rug mode, Category: base/(empty) is shown

15 years agoDo not colorize summary output when viewing in pager
Ján Kupec [Sun, 7 Jun 2009 10:34:25 +0000 (12:34 +0200)]
Do not colorize summary output when viewing in pager

15 years agogot rid of signed/unsigned comparison warning
Ján Kupec [Sun, 7 Jun 2009 09:35:51 +0000 (11:35 +0200)]
got rid of signed/unsigned comparison warning

15 years agoAdapt to libzypp-6.8.0 api changes.
Michael Andres [Fri, 5 Jun 2009 11:55:22 +0000 (13:55 +0200)]
Adapt to libzypp-6.8.0 api changes.

15 years agochanges
Ján Kupec [Fri, 22 May 2009 10:40:42 +0000 (12:40 +0200)]
changes

15 years agoZypper help bug fixed (bnc #505938)
Ján Kupec [Fri, 22 May 2009 10:31:28 +0000 (12:31 +0200)]
Zypper help bug fixed (bnc #505938)

- avoid 'zypp-locked' message when help is requested
- few other issues fixed

15 years agoTell we're gonna retry after the "autoselecting 'r'" countdown.
Ján Kupec [Wed, 13 May 2009 08:19:04 +0000 (10:19 +0200)]
Tell we're gonna retry after the "autoselecting 'r'" countdown.

15 years agoComments.
Ján Kupec [Wed, 13 May 2009 08:18:49 +0000 (10:18 +0200)]
Comments.

15 years agochanges
Ján Kupec [Sun, 26 Apr 2009 15:27:43 +0000 (17:27 +0200)]
changes

15 years agoRequire higher augeas version.
Ján Kupec [Sun, 26 Apr 2009 15:27:09 +0000 (17:27 +0200)]
Require higher augeas version.

15 years agoZypper configuration files documented.
Ján Kupec [Sun, 26 Apr 2009 15:25:18 +0000 (17:25 +0200)]
Zypper configuration files documented.

15 years agotypo
Ján Kupec [Sun, 26 Apr 2009 15:24:59 +0000 (17:24 +0200)]
typo

15 years agoConfig file handling improved.
Ján Kupec [Sun, 26 Apr 2009 14:49:09 +0000 (16:49 +0200)]
Config file handling improved.

- $HOME/.zypper.conf reading enabled
- --config option added to read custom file, default conf files
  are ingored, if an existing file is specified
- do not fail if config can't be parsed, just log

15 years agochanges
Ján Kupec [Sat, 25 Apr 2009 20:46:00 +0000 (22:46 +0200)]
changes

15 years agoHighlighting package counts in the summary.
Ján Kupec [Sat, 25 Apr 2009 20:42:36 +0000 (22:42 +0200)]
Highlighting package counts in the summary.

15 years agocolor/highlight config option introduced
Ján Kupec [Sat, 25 Apr 2009 20:41:51 +0000 (22:41 +0200)]
color/highlight config option introduced

15 years agoIgnore the length of terminal control sequences.
Ján Kupec [Sat, 25 Apr 2009 18:56:39 +0000 (20:56 +0200)]
Ignore the length of terminal control sequences.

This makes correct wrapping of colored text and colored
table texts possbile.

15 years agoGrrr.. 'no for yes'
Ján Kupec [Thu, 23 Apr 2009 07:56:26 +0000 (09:56 +0200)]
Grrr.. 'no for yes'

15 years agochanges
Ján Kupec [Wed, 15 Apr 2009 09:19:57 +0000 (11:19 +0200)]
changes

15 years agoFixed requesting of perl symbols in 'install' (bnc #433679)
Ján Kupec [Wed, 15 Apr 2009 09:16:53 +0000 (11:16 +0200)]
Fixed requesting of perl symbols in 'install' (bnc #433679)

15 years agoCorrected list of priority in 'repos' command (bnc #436688).
Susanne Oberhauser [Fri, 3 Apr 2009 10:23:59 +0000 (12:23 +0200)]
Corrected list of priority in 'repos' command (bnc #436688).

15 years agochanges
Ján Kupec [Thu, 2 Apr 2009 18:20:47 +0000 (20:20 +0200)]
changes

15 years agocomments
Ján Kupec [Thu, 2 Apr 2009 18:20:33 +0000 (20:20 +0200)]
comments

15 years agoarch-old attribute added to solvable-element (bnc #331060)
Ján Kupec [Thu, 2 Apr 2009 17:45:18 +0000 (19:45 +0200)]
arch-old attribute added to solvable-element (bnc #331060)

15 years agozypper.conf: installRecommends handling added.
Ján Kupec [Thu, 2 Apr 2009 17:38:15 +0000 (19:38 +0200)]
zypper.conf: installRecommends handling added.

- --recommends option added to override zypper.conf
- affected help texts reformatted to fit 80 columns (bnc #423007)
- fixed unwanted overriding of zypp.conf onlyRequires option
- fixes bnc #478144

15 years agoWrite package counts in summary.
Ján Kupec [Thu, 2 Apr 2009 13:15:11 +0000 (15:15 +0200)]
Write package counts in summary.

15 years agoAllow to view the summary in pager.
Ján Kupec [Wed, 1 Apr 2009 12:42:36 +0000 (14:42 +0200)]
Allow to view the summary in pager.

15 years agoSummary improvements (bnc #389128)
Ján Kupec [Wed, 1 Apr 2009 11:00:13 +0000 (13:00 +0200)]
Summary improvements (bnc #389128)

- always show vendors for packages with vendors to be changed
- always show arch when arch changes
- never show repo for removed packages (it's always @System)
- 'd' for 'details' option added
- some fixes

15 years agoShow status and messages in COLOR_STATUS.
Ján Kupec [Tue, 31 Mar 2009 21:54:26 +0000 (23:54 +0200)]
Show status and messages in COLOR_STATUS.

- this aims to distinguish these from 'result' messages
  (can be e.g. printed in fainter color).
- these are the messages that would be hidden in --quiet mode
- will need more cleanup to make the coloring consistent
  - some messages are not printed via zypper.out().info()
  - some messages can be moved from/to --quiet to/from normal out

15 years agoAllow to show version/arch/repo/vendor in summary.
Ján Kupec [Tue, 31 Mar 2009 21:52:16 +0000 (23:52 +0200)]
Allow to show version/arch/repo/vendor in summary.

- part of fixing bnc #389128

15 years agoTable::wrap() added.
Ján Kupec [Tue, 31 Mar 2009 20:51:55 +0000 (22:51 +0200)]
Table::wrap() added.

This is to enable controlled wrapping of the table to current
screen width.

15 years agoPass table attributes via Table object to rows.
Ján Kupec [Tue, 31 Mar 2009 19:14:21 +0000 (21:14 +0200)]
Pass table attributes via Table object to rows.

15 years agoRenamed TableStyle -> TableLineStyle.
Ján Kupec [Tue, 31 Mar 2009 18:16:14 +0000 (20:16 +0200)]
Renamed TableStyle -> TableLineStyle.

15 years agoAllow Table to be lineless and have margin.
Ján Kupec [Tue, 31 Mar 2009 16:57:42 +0000 (18:57 +0200)]
Allow Table to be lineless and have margin.

15 years agoFix to show removed packages correctly.
Ján Kupec [Fri, 27 Mar 2009 13:39:35 +0000 (14:39 +0100)]
Fix to show removed packages correctly.

15 years agoIndent
Ján Kupec [Thu, 26 Mar 2009 17:12:33 +0000 (18:12 +0100)]
Indent

15 years agoUsing Summary directly in solve_and_commit()
Ján Kupec [Thu, 26 Mar 2009 16:43:07 +0000 (17:43 +0100)]
Using Summary directly in solve_and_commit()

15 years agoFixed typo.
Ján Kupec [Thu, 26 Mar 2009 10:31:32 +0000 (11:31 +0100)]
Fixed typo.

15 years agoSummary.* moved to /src
Ján Kupec [Thu, 26 Mar 2009 10:07:23 +0000 (11:07 +0100)]
Summary.* moved to /src

15 years agoInstall summary refactored into utils/Summary.*
Ján Kupec [Wed, 25 Mar 2009 16:09:58 +0000 (17:09 +0100)]
Install summary refactored into utils/Summary.*

- prepared for additional improvements (bnc #389128)
- added old edition/arch to xmlout (bnc #331060)

15 years agoFixed enless loop in word-longer-than-screen case.
Ján Kupec [Wed, 25 Mar 2009 13:16:37 +0000 (14:16 +0100)]
Fixed enless loop in word-longer-than-screen case.

15 years agoText processing functions added.
Ján Kupec [Tue, 24 Mar 2009 11:07:08 +0000 (12:07 +0100)]
Text processing functions added.

- string_to_columns() taken out of Table to text.h
- get_screen_width() taken out of Table to misc.h
- wrap_text() added to text.h

15 years agoFixed memory leak.
Ján Kupec [Fri, 20 Mar 2009 13:29:33 +0000 (14:29 +0100)]
Fixed memory leak.

15 years agoDefined loggroup for Table.cc
Ján Kupec [Fri, 20 Mar 2009 12:20:42 +0000 (13:20 +0100)]
Defined loggroup for Table.cc

15 years agoBetter mark zypper startup in the log.
Ján Kupec [Fri, 20 Mar 2009 12:16:05 +0000 (13:16 +0100)]
Better mark zypper startup in the log.

15 years agoFew improvements.
Ján Kupec [Fri, 20 Mar 2009 11:55:29 +0000 (12:55 +0100)]
Few improvements.

15 years agozypper.conf enabled using augeas
Ján Kupec [Thu, 19 Mar 2009 16:32:14 +0000 (17:32 +0100)]
zypper.conf enabled using augeas

- plus some cleanup in color option names
- zypper.aug and zypper.conf added to spec file

15 years agoAugeas wrapper added.
Ján Kupec [Thu, 19 Mar 2009 16:17:36 +0000 (17:17 +0100)]
Augeas wrapper added.

- Might be adjusted to take zypp/zypper.conf lense and file as input
  (as soon as the new API is ready for this) and moved to libzypp
- FindAugeas.cmake to be moved to libzypp
- Must be adjusted to take root argument
- zypper.aug can be improved to be more relaxed

15 years agochanges
Ján Kupec [Wed, 18 Mar 2009 10:05:30 +0000 (11:05 +0100)]
changes

15 years agominor fix
Ján Kupec [Tue, 17 Mar 2009 11:31:26 +0000 (12:31 +0100)]
minor fix

15 years agoShow the default option in dialog in parentheses.
Ján Kupec [Tue, 17 Mar 2009 11:20:45 +0000 (12:20 +0100)]
Show the default option in dialog in parentheses.

Instead of capitalization (which is a problem for most languages),
or colorization, the default option (used on enter or in
non-interactive mode) will be shown in parentheses after the list
of options).

15 years agoImproved color handling, prepared for zypper.conf.
Ján Kupec [Fri, 13 Mar 2009 13:20:53 +0000 (14:20 +0100)]
Improved color handling, prepared for zypper.conf.

15 years agochanges
Ján Kupec [Thu, 12 Mar 2009 12:01:35 +0000 (13:01 +0100)]
changes

15 years agoConfig struct added.
Ján Kupec [Thu, 12 Mar 2009 11:58:27 +0000 (12:58 +0100)]
Config struct added.

- will replace GlobalOptions
- will read zypper.conf
- turned off colors by default & until zypper.conf is available
  (bnc #483349)

15 years agochanges
Ján Kupec [Wed, 11 Mar 2009 15:53:22 +0000 (16:53 +0100)]
changes

15 years ago--requires and --recommends added to info command
Marcus Hüwe [Wed, 11 Mar 2009 15:50:14 +0000 (16:50 +0100)]
--requires and --recommends added to info command

15 years agoGet rid of CommandOptions - it has no future :O)
Ján Kupec [Wed, 11 Mar 2009 13:44:47 +0000 (14:44 +0100)]
Get rid of CommandOptions - it has no future :O)

15 years agochanges
Ján Kupec [Tue, 10 Mar 2009 18:28:27 +0000 (19:28 +0100)]
changes

15 years agoFixed noarch->anyarch and vice-versa update (bnc #483179).
Ján Kupec [Tue, 10 Mar 2009 18:20:52 +0000 (19:20 +0100)]
Fixed noarch->anyarch and vice-versa update (bnc #483179).

'zypper up foo' would not find a non-noarch update of foo if the
installed arch was noarch, and vice-versa (anyarch->noarch), while
zypper 'list-updates' doUpdate() shows the update.

15 years agolist-updates fix (bnc #483910)
Ján Kupec [Tue, 10 Mar 2009 15:48:40 +0000 (16:48 +0100)]
list-updates fix (bnc #483910)

Avoiding showing not-yet-installed packages in list-updates output.

15 years agoAvoid control chars in non-terminal output (bnc #440822).
Ján Kupec [Tue, 10 Mar 2009 12:35:03 +0000 (13:35 +0100)]
Avoid control chars in non-terminal output (bnc #440822).

Proper fix.

15 years agoExplictly assigned numbers to zypper commands enum.
Ján Kupec [Tue, 10 Mar 2009 11:56:03 +0000 (12:56 +0100)]
Explictly assigned numbers to zypper commands enum.

This will help to identifify the commands in logs more easily.

15 years agoFixed uninitialized _shown_count in prompt.
Ján Kupec [Fri, 6 Mar 2009 19:43:17 +0000 (20:43 +0100)]
Fixed uninitialized _shown_count in prompt.

15 years agochanges
Ján Kupec [Fri, 6 Mar 2009 15:03:02 +0000 (16:03 +0100)]
changes

15 years agoAvoid control chars in non-terminal output (bnc #440822).
Ján Kupec [Fri, 6 Mar 2009 14:55:18 +0000 (15:55 +0100)]
Avoid control chars in non-terminal output (bnc #440822).