platform/upstream/zypper.git
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).

15 years agoUse darker color for progress output.
Ján Kupec [Fri, 6 Mar 2009 14:54:09 +0000 (15:54 +0100)]
Use darker color for progress output.

15 years agoFixed FindReadline to find shared lib, not static.
Ján Kupec [Thu, 5 Mar 2009 13:47:12 +0000 (14:47 +0100)]
Fixed FindReadline to find shared lib, not static.

15 years agoMerge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/zypper
Ján Kupec [Thu, 5 Mar 2009 09:21:32 +0000 (10:21 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/zypper

15 years agorequire factory libzypp to avoid people mixing them
Duncan Mac-Vicar P [Thu, 5 Mar 2009 09:11:40 +0000 (10:11 +0100)]
require factory libzypp to avoid people mixing them

15 years agobash-completion: Allow empty spaces in repos names.
Werner Fink [Mon, 2 Mar 2009 12:26:41 +0000 (13:26 +0100)]
bash-completion: Allow empty spaces in repos names.

15 years agoMerge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/zypper
Ján Kupec [Fri, 27 Feb 2009 11:05:18 +0000 (12:05 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/zypper

15 years agochanges
Michael Andres [Tue, 24 Feb 2009 15:39:06 +0000 (16:39 +0100)]
changes

15 years ago- Let 'zypper clean' keep the raw metadata cache of CD/DVD based
Michael Andres [Tue, 24 Feb 2009 15:36:08 +0000 (16:36 +0100)]
- Let 'zypper clean' keep the raw metadata cache of CD/DVD based
  repositories. We'd need the CD/DVD again to recreate the data.
  If this is actually desired, explicitly remove an recreate the
  CD/DVD based repository. (bnc #476429).

15 years agoSlight introduction of colors.
Ján Kupec [Sun, 22 Feb 2009 16:21:06 +0000 (17:21 +0100)]
Slight introduction of colors.

15 years agochanges
Ján Kupec [Tue, 17 Feb 2009 13:11:49 +0000 (14:11 +0100)]
changes

15 years agoShow rpm output after installing/removing (bnc #369450).
Ján Kupec [Sun, 15 Feb 2009 20:40:58 +0000 (21:40 +0100)]
Show rpm output after installing/removing (bnc #369450).

15 years agoAllow changing URI in media problem prompt.
Ján Kupec [Sun, 15 Feb 2009 20:10:09 +0000 (21:10 +0100)]
Allow changing URI in media problem prompt.

15 years agoPromptOptions enhancements.
Ján Kupec [Sun, 15 Feb 2009 19:44:44 +0000 (20:44 +0100)]
PromptOptions enhancements.

- allow to disable some prompt options
- allow to show only first N options (hide the rest/advanced options)

15 years agoReturn default on EOF after poll() in read_action_ari_with_timout().
Ján Kupec [Sun, 15 Feb 2009 17:10:06 +0000 (18:10 +0100)]
Return default on EOF after poll() in read_action_ari_with_timout().

15 years agoBash completion: fixed invalid hints from multiline help.
Josef Reidinger [Thu, 12 Feb 2009 08:43:15 +0000 (09:43 +0100)]
Bash completion: fixed invalid hints from multiline help.

15 years agochanges
Ján Kupec [Thu, 12 Feb 2009 08:30:20 +0000 (09:30 +0100)]
changes

15 years agoBash completion: suggest locks for removal.
Josef Reidinger [Thu, 12 Feb 2009 08:27:32 +0000 (09:27 +0100)]
Bash completion: suggest locks for removal.

15 years agoBash completion: suggest also global options.
Josef Reidinger [Thu, 12 Feb 2009 08:26:11 +0000 (09:26 +0100)]
Bash completion: suggest also global options.

15 years agoAbort/Retry/Ignore prompt with timeout fixes.
Ján Kupec [Wed, 11 Feb 2009 21:29:42 +0000 (22:29 +0100)]
Abort/Retry/Ignore prompt with timeout fixes.

- fixed localization of answers
- fixed xml output

15 years agoReniced, fixed texts.
Ján Kupec [Wed, 11 Feb 2009 20:11:43 +0000 (21:11 +0100)]
Reniced, fixed texts.

15 years agochanges
Ján Kupec [Wed, 11 Feb 2009 20:11:21 +0000 (21:11 +0100)]
changes

15 years agoBash completion: refactored for better maintenance.
Josef Reidinger [Wed, 11 Feb 2009 13:05:11 +0000 (14:05 +0100)]
Bash completion: refactored for better maintenance.

Generating hints dynamically from help, plus some extra completion
(repo aliases). Fixed completion after the first option.

15 years agoBash completion: allow completion after short versions of commands.
Josef Reidinger [Wed, 11 Feb 2009 12:59:17 +0000 (13:59 +0100)]
Bash completion: allow completion after short versions of commands.

15 years agoBash completion: complete also short options.
Josef Reidinger [Wed, 11 Feb 2009 12:57:55 +0000 (13:57 +0100)]
Bash completion: complete also short options.

15 years agoBash completion: partial fix for repos with spaces.
Josef Reidinger [Wed, 11 Feb 2009 12:56:12 +0000 (13:56 +0100)]
Bash completion: partial fix for repos with spaces.

15 years agoBash completion: allow repo alias completion also for modifyrepo and removerepo.
Josef Reidinger [Wed, 11 Feb 2009 12:51:54 +0000 (13:51 +0100)]
Bash completion: allow repo alias completion also for modifyrepo and removerepo.

15 years agoBash completion: allow repo alias completion in renamerepo.
Josef Reidinger [Wed, 11 Feb 2009 12:48:43 +0000 (13:48 +0100)]
Bash completion: allow repo alias completion in renamerepo.

15 years agoFixed bash completion for source-install.
Josef Reidinger [Wed, 11 Feb 2009 12:47:05 +0000 (13:47 +0100)]
Fixed bash completion for source-install.

15 years agoNon-interactive mode fix (bnc #469872)
Ján Kupec [Tue, 10 Feb 2009 17:36:51 +0000 (18:36 +0100)]
Non-interactive mode fix (bnc #469872)

Auto-reply 'retry' after waiting the given amount of seconds in the
read_action_ari_with_timeout() prompt in non-interactive mode. This
does not fix the cause of bnc #469872, but is a simple workaround
which does not poll input, just waits.

15 years agochanges
Ján Kupec [Tue, 27 Jan 2009 13:08:16 +0000 (14:08 +0100)]
changes

15 years agoAdapted authetication callback for non-curl URLs (bnc #460970)
Ján Kupec [Tue, 27 Jan 2009 13:02:39 +0000 (14:02 +0100)]
Adapted authetication callback for non-curl URLs (bnc #460970)

15 years agobetter variable name
Ján Kupec [Mon, 19 Jan 2009 09:21:08 +0000 (10:21 +0100)]
better variable name

15 years agoCheck for arguments when using aggregate options.
Ján Kupec [Mon, 19 Jan 2009 09:17:59 +0000 (10:17 +0100)]
Check for arguments when using aggregate options.

15 years agoms --ar-to-enable description improved, rug subscribe added
Ján Kupec [Fri, 16 Jan 2009 12:09:02 +0000 (13:09 +0100)]
ms --ar-to-enable description improved, rug subscribe added

15 years agoCommented out the unimplemented info-* commands for now (bnc #464384)
Ján Kupec [Thu, 15 Jan 2009 11:04:43 +0000 (12:04 +0100)]
Commented out the unimplemented info-* commands for now (bnc #464384)

15 years agochanges
Ján Kupec [Thu, 15 Jan 2009 10:22:15 +0000 (11:22 +0100)]
changes

15 years agofixed typo (bnc #447594)
Ján Kupec [Thu, 15 Jan 2009 10:17:44 +0000 (11:17 +0100)]
fixed typo (bnc #447594)

15 years agochanges
Ján Kupec [Wed, 14 Jan 2009 15:48:44 +0000 (16:48 +0100)]
changes

15 years agoCheck if we run SLE on runtime based on installed base product name.
Ján Kupec [Wed, 14 Jan 2009 15:26:05 +0000 (16:26 +0100)]
Check if we run SLE on runtime based on installed base product name.

This adapts fate #305057 to check the platform on runtime instead
of a compile-time check based on %suse_sles rpm macro. Zypper will
consider the system a SLE if there's a base product having "SUSE_SLE"
in its name.

15 years agochanges
Ján Kupec [Wed, 14 Jan 2009 08:59:50 +0000 (09:59 +0100)]
changes

15 years agomodifyrepo - accept multiple arguments
Josef Reidinger [Wed, 14 Jan 2009 08:58:29 +0000 (09:58 +0100)]
modifyrepo - accept multiple arguments

15 years agocleanlocks added to man page.
Ján Kupec [Mon, 12 Jan 2009 14:53:30 +0000 (15:53 +0100)]
cleanlocks added to man page.

15 years agoSome text changes scheduled after branching the stable release.
Ján Kupec [Mon, 12 Jan 2009 14:42:00 +0000 (15:42 +0100)]
Some text changes scheduled after branching the stable release.

15 years agomissing 'clean' command alias 'cc' added to man page (bnc #464408)
Ján Kupec [Mon, 12 Jan 2009 14:11:01 +0000 (15:11 +0100)]
missing 'clean' command alias 'cc' added to man page (bnc #464408)

15 years agochanges
Ján Kupec [Mon, 12 Jan 2009 14:04:23 +0000 (15:04 +0100)]
changes

15 years agofixed lp/patch inconsistency in determining needed patches (bnc #464458)
Ján Kupec [Thu, 8 Jan 2009 15:07:36 +0000 (16:07 +0100)]
fixed lp/patch inconsistency in determining needed patches (bnc #464458)

15 years agozypper command equivalents update for 1.0.3 BASE-SuSE-Code-11-Branch
Ján Kupec [Thu, 8 Jan 2009 11:37:53 +0000 (12:37 +0100)]
zypper command equivalents update for 1.0.3

15 years agoupdated to refled zypper 1.0.3
Ján Kupec [Thu, 8 Jan 2009 11:18:55 +0000 (12:18 +0100)]
updated to refled zypper 1.0.3

15 years ago- release
Jan Kupec [Tue, 16 Dec 2008 17:24:12 +0000 (17:24 +0000)]
- release

15 years ago- translations
Jan Kupec [Tue, 16 Dec 2008 17:23:16 +0000 (17:23 +0000)]
- translations

15 years ago- some improvements
Jan Kupec [Tue, 16 Dec 2008 17:19:03 +0000 (17:19 +0000)]
- some improvements

15 years ago- translations update
Jan Kupec [Mon, 15 Dec 2008 16:28:46 +0000 (16:28 +0000)]
- translations update

15 years ago- changes
Jan Kupec [Thu, 11 Dec 2008 10:20:03 +0000 (10:20 +0000)]
- changes

15 years ago- typo (bnc #458248)
Jan Kupec [Thu, 11 Dec 2008 10:11:41 +0000 (10:11 +0000)]
- typo (bnc #458248)

15 years ago- fixed bash completion script to default to path completion if no
Jan Kupec [Fri, 5 Dec 2008 14:30:16 +0000 (14:30 +0000)]
- fixed bash completion script to default to path completion if no
  command or option matches

15 years ago- translations
Jan Kupec [Fri, 5 Dec 2008 14:15:58 +0000 (14:15 +0000)]
- translations

15 years ago- some examples added
Jan Kupec [Fri, 5 Dec 2008 13:50:34 +0000 (13:50 +0000)]
- some examples added

15 years ago- some package --type info added
Jan Kupec [Fri, 5 Dec 2008 10:12:23 +0000 (10:12 +0000)]
- some package --type info added

15 years ago- --no-recommends added to the man page
Jan Kupec [Thu, 4 Dec 2008 16:54:54 +0000 (16:54 +0000)]
- --no-recommends added to the man page

15 years ago- changes
Jan Kupec [Mon, 1 Dec 2008 15:53:05 +0000 (15:53 +0000)]
- changes

15 years ago- fixed handling of source-install -d and -D options (bnc #428131)
Jan Kupec [Mon, 1 Dec 2008 15:51:34 +0000 (15:51 +0000)]
- fixed handling of source-install -d and -D options (bnc #428131)

15 years ago- release
Jan Kupec [Fri, 28 Nov 2008 17:28:55 +0000 (17:28 +0000)]
- release

15 years ago- translations
Jan Kupec [Fri, 28 Nov 2008 17:27:42 +0000 (17:27 +0000)]
- translations

15 years ago- version
Jan Kupec [Mon, 24 Nov 2008 20:27:52 +0000 (20:27 +0000)]
- version

15 years ago- translations
Jan Kupec [Mon, 24 Nov 2008 19:55:52 +0000 (19:55 +0000)]
- translations

15 years ago- changes
Jan Kupec [Mon, 24 Nov 2008 19:45:32 +0000 (19:45 +0000)]
- changes

15 years ago- fixed segfault in 'info' when looking for package to show
Jan Kupec [Mon, 24 Nov 2008 19:43:28 +0000 (19:43 +0000)]
- fixed segfault in 'info' when looking for package to show
  (bnc #448247)