platform/upstream/libzypp.git
18 years ago- Implement microseconds logging when ZYPP_PROFILING env variable is
Duncan Mac-Vicar P [Tue, 10 Oct 2006 14:03:25 +0000 (14:03 +0000)]
- Implement microseconds logging when ZYPP_PROFILING env variable is
  enabled.

18 years agozypper-search sources added
Jan Kupec [Tue, 10 Oct 2006 13:50:31 +0000 (13:50 +0000)]
zypper-search sources added

18 years agobasic search implemented
Jan Kupec [Tue, 10 Oct 2006 13:46:46 +0000 (13:46 +0000)]
basic search implemented

18 years agobool Table::empty() added
Jan Kupec [Tue, 10 Oct 2006 13:45:10 +0000 (13:45 +0000)]
bool Table::empty() added

18 years agochanges
Duncan Mac-Vicar P [Mon, 9 Oct 2006 16:16:37 +0000 (16:16 +0000)]
changes

18 years ago- YaST sources:
Duncan Mac-Vicar P [Mon, 9 Oct 2006 16:14:41 +0000 (16:14 +0000)]
- YaST sources:
  Factory cannot be set with 'refresh' enabled
  (#204957)

18 years ago- introduce Profiling Log formater, to add microseconds useful
Duncan Mac-Vicar P [Mon, 9 Oct 2006 16:10:37 +0000 (16:10 +0000)]
- introduce Profiling Log formater, to add microseconds useful
for generatng profile data, just a skeleton for now

18 years agoAdded zypp-checkpatches and a suid-root zypp-checkpatches-wrapper.
Martin Vidner [Mon, 9 Oct 2006 13:14:20 +0000 (13:14 +0000)]
Added zypp-checkpatches and a suid-root zypp-checkpatches-wrapper.

18 years agoXML fixes:
Martin Vidner [Mon, 9 Oct 2006 12:15:36 +0000 (12:15 +0000)]
XML fixes:
xmllint --noout /var/lib/zypp/cache/updates_result.xml

18 years agodrop unused Autodispose::nodispose
Michael Andres [Fri, 6 Oct 2006 15:56:39 +0000 (15:56 +0000)]
drop unused Autodispose::nodispose

18 years ago- fixed dereferencing type-punned pointer will break strict-aliasing rules
Michael Andres [Fri, 6 Oct 2006 15:51:57 +0000 (15:51 +0000)]
- fixed dereferencing type-punned pointer will break strict-aliasing rules

18 years ago- separate some functions to a common file.
Duncan Mac-Vicar P [Fri, 6 Oct 2006 14:08:16 +0000 (14:08 +0000)]
- separate some functions to a common file.

18 years agoget rid of the token usage
Duncan Mac-Vicar P [Fri, 6 Oct 2006 13:31:00 +0000 (13:31 +0000)]
get rid of the token usage

18 years agoselect the best solution: prefering the total amount of install/update
Stefan Schubert [Fri, 6 Oct 2006 11:25:09 +0000 (11:25 +0000)]
select the best solution: prefering the total amount of install/update
packages BEFORE source preferences. Bug 208784

18 years agoselect the best solution: prefering the total amount of install/update
Stefan Schubert [Fri, 6 Oct 2006 11:24:24 +0000 (11:24 +0000)]
select the best solution: prefering the total amount of install/update
packages BEFORE source preferences. Bug 208784

18 years agochanges
Duncan Mac-Vicar P [Fri, 6 Oct 2006 09:56:34 +0000 (09:56 +0000)]
changes

18 years ago- XML output for zypp-checkpatches
Duncan Mac-Vicar P [Fri, 6 Oct 2006 09:31:49 +0000 (09:31 +0000)]
- XML output for zypp-checkpatches

18 years agoadd TODO file
Duncan Mac-Vicar P [Fri, 6 Oct 2006 09:31:18 +0000 (09:31 +0000)]
add TODO file

18 years ago- move CheckSum methods out of the header
Duncan Mac-Vicar P [Fri, 6 Oct 2006 09:30:45 +0000 (09:30 +0000)]
- move CheckSum methods out of the header

18 years agoIntroduce a method to see if a source supports a
Duncan Mac-Vicar P [Fri, 6 Oct 2006 09:30:16 +0000 (09:30 +0000)]
Introduce a method to see if a source supports a
kind of resolvable at that time, so we can
init a YUM source like factory but avoid parsing
it if it contains no patches.

18 years agofixed no return statement in function returning non-void
Michael Andres [Thu, 5 Oct 2006 13:57:05 +0000 (13:57 +0000)]
fixed no return statement in function returning non-void

18 years agofixed: comparison is always true due to limited range of data type
Michael Andres [Thu, 5 Oct 2006 13:46:36 +0000 (13:46 +0000)]
fixed: comparison is always true due to limited range of data type

18 years agoadded missing ctors
Michael Andres [Wed, 4 Oct 2006 21:48:50 +0000 (21:48 +0000)]
added missing ctors

18 years agoadded InputStream: Helper to create and pass std::istream.
Michael Andres [Wed, 4 Oct 2006 18:08:08 +0000 (18:08 +0000)]
added InputStream: Helper to create and pass std::istream.

18 years agoadded NullDeleter: shared_ptr custom deleter doing nothing.
Michael Andres [Wed, 4 Oct 2006 18:00:53 +0000 (18:00 +0000)]
added NullDeleter: shared_ptr custom deleter doing nothing.

18 years ago- Fixed SEGV in GzStream if gzclose fails.
Michael Andres [Mon, 2 Oct 2006 22:02:57 +0000 (22:02 +0000)]
- Fixed SEGV in GzStream if gzclose fails.

18 years agoindent
Duncan Mac-Vicar P [Mon, 2 Oct 2006 16:55:19 +0000 (16:55 +0000)]
indent

18 years agoindent
Duncan Mac-Vicar P [Mon, 2 Oct 2006 16:51:38 +0000 (16:51 +0000)]
indent

18 years agofixed build
Martin Vidner [Mon, 2 Oct 2006 16:04:02 +0000 (16:04 +0000)]
fixed build

18 years agobump
Martin Vidner [Mon, 2 Oct 2006 15:04:28 +0000 (15:04 +0000)]
bump

18 years agotestcase for bug 208784
Stefan Schubert [Mon, 2 Oct 2006 15:03:45 +0000 (15:03 +0000)]
testcase for bug 208784

18 years agoadded a CLI preview: zypper
Martin Vidner [Mon, 2 Oct 2006 14:35:18 +0000 (14:35 +0000)]
added a CLI preview: zypper

18 years agosmall autodocs enhancements
Martin Vidner [Mon, 2 Oct 2006 14:20:47 +0000 (14:20 +0000)]
small autodocs enhancements

18 years agochanges
Duncan Mac-Vicar P [Mon, 2 Oct 2006 13:12:03 +0000 (13:12 +0000)]
changes

18 years agoFATE #100165: Make Content File Aware of Different Architectures
Duncan Mac-Vicar P [Mon, 2 Oct 2006 13:11:15 +0000 (13:11 +0000)]
FATE #100165: Make Content File Aware of Different Architectures
- expand %a in release notes with architecture
- I can expand other fields on request
- unit test

18 years agozypper:
Martin Vidner [Mon, 2 Oct 2006 11:49:59 +0000 (11:49 +0000)]
zypper:
- list-updates -t patch
tabulator:
- added Table::sort (by_column)
- TableRow constructor can reserve the number of columns
- removed Table::setHeader. Instead use Table << TableHeader which
  is a trivial subclass of TableRow.

18 years agoindent
Duncan Mac-Vicar P [Mon, 2 Oct 2006 11:04:40 +0000 (11:04 +0000)]
indent

18 years agoUTF-6
Martin Vidner [Sun, 1 Oct 2006 13:09:01 +0000 (13:09 +0000)]
UTF-6
(useless table fun, 6 new styles)

18 years agoadded command: patches
Martin Vidner [Sun, 1 Oct 2006 11:07:30 +0000 (11:07 +0000)]
added command: patches

18 years agopatch-check implemented
Martin Vidner [Sun, 1 Oct 2006 09:15:27 +0000 (09:15 +0000)]
patch-check implemented
always initialize all callbacks
read gpg keys also for service-rename
more messages moved from stdout to verbose stderr

18 years agosource-list:
Martin Vidner [Sun, 1 Oct 2006 07:44:31 +0000 (07:44 +0000)]
source-list:
- looks like rug now
tables:
- added underlined header
- added --table-style

18 years agocreateSourceImpl: debugging output belongs to the log, not stdout
Martin Vidner [Sun, 1 Oct 2006 07:35:10 +0000 (07:35 +0000)]
createSourceImpl: debugging output belongs to the log, not stdout

18 years agoAdded Table class for rug-like tabular output.
Martin Vidner [Sat, 30 Sep 2006 05:57:20 +0000 (05:57 +0000)]
Added Table class for rug-like tabular output.
Started patch-check.

18 years agoversion/changes
Michael Andres [Fri, 29 Sep 2006 14:15:15 +0000 (14:15 +0000)]
version/changes

18 years ago- Extended pattern parser to support includes/extends tags as hint
Michael Andres [Fri, 29 Sep 2006 14:14:40 +0000 (14:14 +0000)]
- Extended pattern parser to support includes/extends tags as hint
  for the IO. (F301229)
- Removed parser scrap stored inside SuseTagsPatternImpl

18 years agotestcase for jubo patch; Fate #120233
Stefan Schubert [Fri, 29 Sep 2006 13:57:59 +0000 (13:57 +0000)]
testcase for jubo patch; Fate #120233

18 years agoAdded service-rename
Martin Vidner [Fri, 29 Sep 2006 13:18:05 +0000 (13:18 +0000)]
Added service-rename
(bug: the db file for old name must be removed manually)
Fixed aliases that had a numeric prefix

18 years agotestcase for bug205977
Stefan Schubert [Fri, 29 Sep 2006 13:05:05 +0000 (13:05 +0000)]
testcase for bug205977

18 years ago- Improved attachPoint handling in cases where the media url
Marius Tomaschewski [Fri, 29 Sep 2006 11:49:06 +0000 (11:49 +0000)]
- Improved attachPoint handling in cases where the media url
  provided a path that doesn't exists while construction

18 years ago- Changed to getRealPath to be accessible from outside
Marius Tomaschewski [Fri, 29 Sep 2006 11:47:41 +0000 (11:47 +0000)]
- Changed to getRealPath to be accessible from outside

18 years agoTest for bug205039
Stefan Schubert [Fri, 29 Sep 2006 08:07:06 +0000 (08:07 +0000)]
Test for bug205039

18 years agoversion
Michael Andres [Thu, 28 Sep 2006 22:45:14 +0000 (22:45 +0000)]
version

18 years agochangelog
Michael Andres [Thu, 28 Sep 2006 22:39:52 +0000 (22:39 +0000)]
changelog

18 years ago- Changed ScriptResolvableReport::start to send local path of script..
Michael Andres [Thu, 28 Sep 2006 22:38:49 +0000 (22:38 +0000)]
- Changed ScriptResolvableReport::start to send local path of script..
- Enabled sending of ScriptResolvableReport.

18 years agooption processing:
Martin Vidner [Thu, 28 Sep 2006 20:10:10 +0000 (20:10 +0000)]
option processing:
- exit if bad option found
- fixed temporary-string-lifetime breakage
install, remove:
- switched from ResPool::setAdditionalFoo to
  PoolItem::status().setToBe[Un]installed, works now
- can specify resolvable type, not only package

18 years agochangelog
Michael Andres [Wed, 27 Sep 2006 12:56:51 +0000 (12:56 +0000)]
changelog

18 years ago- Added ScriptResolvableReport.
Michael Andres [Wed, 27 Sep 2006 12:01:10 +0000 (12:01 +0000)]
- Added ScriptResolvableReport.

18 years agoImplemented "remove" (mark_package_for_uninstall) using the recommended method
Martin Vidner [Tue, 26 Sep 2006 13:51:43 +0000 (13:51 +0000)]
Implemented "remove" (mark_package_for_uninstall) using the recommended method
of ResPool::setAdditionalConflict which does not seem to work.
Show resolver problems with solutions. Cannot act on them yet.
Using boost::format allows simple translatable messages (%s everywhere).
Removed ZYppReadOnlyHack.h

18 years ago- Moved RpmDb::Logfile to standalone class CommitLog. This could be used to
Michael Andres [Tue, 26 Sep 2006 12:22:24 +0000 (12:22 +0000)]
- Moved RpmDb::Logfile to standalone class CommitLog. This could be used to
  log the installation/deletion of non packages in y2logRpm as well.

18 years ago- Fixed to include the mount cmd output in MediaMountException (#159596)
Marius Tomaschewski [Tue, 26 Sep 2006 10:58:44 +0000 (10:58 +0000)]
- Fixed to include the mount cmd output in MediaMountException (#159596)

18 years ago- Use hash to unify capabilities.
Michael Andres [Tue, 26 Sep 2006 10:58:15 +0000 (10:58 +0000)]
- Use hash to unify capabilities.

18 years agoadded no_stream to fix compilation
Martin Vidner [Mon, 25 Sep 2006 13:33:55 +0000 (13:33 +0000)]
added no_stream to fix compilation

18 years agozypper:
Martin Vidner [Mon, 25 Sep 2006 12:06:09 +0000 (12:06 +0000)]
zypper:
 more option parsing
 less verbose by default
 implemented service-delete
 moo!
common with zmart:
 added Settings.verbose, cerr_v, cerr_vv for progress reporting
 more logging in service-add

18 years agofix: Url::getRegisteredSchemes() would always return nothing
Martin Vidner [Mon, 25 Sep 2006 11:53:23 +0000 (11:53 +0000)]
fix: Url::getRegisteredSchemes() would always return nothing

18 years agoAdded an explicit dependency on gettext-devel
Jan Kupec [Fri, 22 Sep 2006 13:34:11 +0000 (13:34 +0000)]
Added an explicit dependency on gettext-devel

18 years agobackup
Michael Andres [Fri, 22 Sep 2006 12:52:45 +0000 (12:52 +0000)]
backup

18 years agobackup
Michael Andres [Fri, 22 Sep 2006 12:21:05 +0000 (12:21 +0000)]
backup

18 years ago- add installation repo for bug206927 testcase
Klaus Kaempf [Thu, 21 Sep 2006 08:23:32 +0000 (08:23 +0000)]
- add installation repo for bug206927 testcase
- use this repo in testcase

18 years ago- reduce logging in ResolvableImpl.cc
Klaus Kaempf [Wed, 20 Sep 2006 15:05:33 +0000 (15:05 +0000)]
- reduce logging in ResolvableImpl.cc
(merge from 10.1 branch rev 4157)

18 years agofix debug output
Klaus Kaempf [Wed, 20 Sep 2006 14:49:38 +0000 (14:49 +0000)]
fix debug output

18 years agobug 206927: patch:kernel-1836 and patch:kernel-2036 result in parallel message install
Klaus Kaempf [Wed, 20 Sep 2006 14:36:45 +0000 (14:36 +0000)]
bug 206927: patch:kernel-1836 and patch:kernel-2036 result in parallel message install

18 years agoextend "install" and "uninstall" commands with "ver" (version),
Klaus Kaempf [Wed, 20 Sep 2006 14:21:11 +0000 (14:21 +0000)]
extend "install" and "uninstall" commands with "ver" (version),
 "rel" (release), and "arch" (architecture) in order to specify
 exact edition/architecture

18 years agoFixed a message typo.
Martin Vidner [Wed, 20 Sep 2006 11:12:57 +0000 (11:12 +0000)]
Fixed a message typo.

18 years agoadapted multi-media YUM sources according to official YUM specification (F300743)
Jiri Srain [Tue, 19 Sep 2006 09:07:23 +0000 (09:07 +0000)]
adapted multi-media YUM sources according to official YUM specification (F300743)

18 years agorewrote options to getopt style, still raw
Martin Vidner [Tue, 19 Sep 2006 07:59:40 +0000 (07:59 +0000)]
rewrote options to getopt style, still raw

18 years ago- use RPM_OPT_FLAGS (meissner@suse.de)
Ladislav Slezak [Mon, 18 Sep 2006 15:48:01 +0000 (15:48 +0000)]
- use RPM_OPT_FLAGS (meissner@suse.de)

18 years ago- SourceFactory::createFrom() - don't loose url,...
Ladislav Slezak [Mon, 18 Sep 2006 13:34:59 +0000 (13:34 +0000)]
- SourceFactory::createFrom() - don't loose url,...
- r4160

18 years agoUsing getopt_long instead of boost::program_options:
Martin Vidner [Mon, 18 Sep 2006 11:31:36 +0000 (11:31 +0000)]
Using getopt_long instead of boost::program_options:
- conceptually simpler, has 4 pages of manual instead of 20
- can separate global and command-specific options

18 years agoForked zypper out of zmart.
Martin Vidner [Mon, 18 Sep 2006 11:28:42 +0000 (11:28 +0000)]
Forked zypper out of zmart.
Zypper will be a libzypp CLI compatible with rug (as far as possible).

18 years agofix debug string
Klaus Kaempf [Fri, 15 Sep 2006 08:13:25 +0000 (08:13 +0000)]
fix debug string
remove duplicate call to enableStorage()

18 years agoReplaced requirementIsMet by requirementIsInstalledOrUnneeded
Stefan Schubert [Thu, 14 Sep 2006 14:10:22 +0000 (14:10 +0000)]
Replaced requirementIsMet by requirementIsInstalledOrUnneeded
in QueueItemInstall and QueueItemRequire
Bug 192535/204913
removed fix:Thu Sep  7 18:31:46 CEST 2006 - schubi@suse.de
added body for generating testcases.

18 years ago- fixed SourceFactory::createFrom() - don't loose alias, cachedir,... parameters
Ladislav Slezak [Thu, 14 Sep 2006 10:47:49 +0000 (10:47 +0000)]
- fixed SourceFactory::createFrom() - don't loose alias, cachedir,... parameters

18 years ago- fixed SourceFactory::createFrom() - don't loose alias, cachedir,... parameters
Ladislav Slezak [Thu, 14 Sep 2006 10:44:56 +0000 (10:44 +0000)]
- fixed SourceFactory::createFrom() - don't loose alias, cachedir,... parameters

18 years agofixed Enhances detection
Martin Vidner [Thu, 14 Sep 2006 08:24:46 +0000 (08:24 +0000)]
fixed Enhances detection

18 years agoFixed warnings spotted by -Wextra
Martin Vidner [Wed, 13 Sep 2006 19:54:31 +0000 (19:54 +0000)]
Fixed warnings spotted by -Wextra
(mostly unused parameters in default implementations of callbacks).

18 years agoUse RPM_ENHANCESNAME only if detected at configure time.
Martin Vidner [Wed, 13 Sep 2006 19:51:22 +0000 (19:51 +0000)]
Use RPM_ENHANCESNAME only if detected at configure time.
(allows compilation with older rpm)

18 years agoFixed displaying the progress to the terminal.
Martin Vidner [Wed, 13 Sep 2006 15:42:58 +0000 (15:42 +0000)]
Fixed displaying the progress to the terminal.
Added a missing return value.

18 years agosystem file for script test
Stefan Schubert [Tue, 12 Sep 2006 14:25:05 +0000 (14:25 +0000)]
system file for script test

18 years agocallbacks: fix const & in string params
Duncan Mac-Vicar P [Fri, 8 Sep 2006 12:08:09 +0000 (12:08 +0000)]
callbacks: fix const & in string params
zmart: 1st package installed!

18 years agoadd the check patches tool
Duncan Mac-Vicar P [Fri, 8 Sep 2006 10:33:59 +0000 (10:33 +0000)]
add the check patches tool

18 years agomore callbacks and add commit
Duncan Mac-Vicar P [Fri, 8 Sep 2006 10:33:30 +0000 (10:33 +0000)]
more callbacks and add commit

18 years agomore callbacks and add commit
Duncan Mac-Vicar P [Fri, 8 Sep 2006 10:33:16 +0000 (10:33 +0000)]
more callbacks and add commit

18 years agoDo not regarding SATISFIED (regarding UNNEEDED) in isPresent if it is
Stefan Schubert [Thu, 7 Sep 2006 16:40:03 +0000 (16:40 +0000)]
Do not regarding SATISFIED (regarding UNNEEDED) in isPresent if it is
  a package/script/message
  Bug: 192535

18 years agochanges
Duncan Mac-Vicar P [Thu, 7 Sep 2006 14:21:56 +0000 (14:21 +0000)]
changes

18 years ago - add Source::checksum() which in combination with
Duncan Mac-Vicar P [Thu, 7 Sep 2006 14:21:04 +0000 (14:21 +0000)]
 - add Source::checksum() which in combination with
  timestamp can give an idea of a source change.

18 years ago- add Source::checksum() which in combination with
Duncan Mac-Vicar P [Thu, 7 Sep 2006 14:20:29 +0000 (14:20 +0000)]
- add Source::checksum() which in combination with
  timestamp can give an idea of a source change.

18 years agotestcase for bug 197805
Stefan Schubert [Thu, 7 Sep 2006 13:20:18 +0000 (13:20 +0000)]
testcase for bug 197805

18 years agoImplemented fgzstreambuf::compressed_tell and fXstream::getbuf to
Martin Vidner [Thu, 7 Sep 2006 12:35:08 +0000 (12:35 +0000)]
Implemented fgzstreambuf::compressed_tell and fXstream::getbuf to
enable progress reporting on compressed streams.

ifgzstream gs;
...
gs.getbuf().compressed_tell()

18 years agochanges
Duncan Mac-Vicar P [Wed, 6 Sep 2006 16:34:02 +0000 (16:34 +0000)]
changes

18 years ago- error displaying
Duncan Mac-Vicar P [Wed, 6 Sep 2006 16:26:07 +0000 (16:26 +0000)]
- error displaying