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

18 years agoseparate the function to provide a rug style listng
Duncan Mac-Vicar P [Wed, 6 Sep 2006 16:00:39 +0000 (16:00 +0000)]
separate the function to provide a rug style listng

18 years agoonly show alias if it is different from the url
Duncan Mac-Vicar P [Wed, 6 Sep 2006 15:56:31 +0000 (15:56 +0000)]
only show alias if it is different from the url

18 years ago- Error handling done right now.
Duncan Mac-Vicar P [Wed, 6 Sep 2006 14:56:08 +0000 (14:56 +0000)]
- Error handling done right now.

18 years agofixlets for YUM progress reporting No luck
Duncan Mac-Vicar P [Wed, 6 Sep 2006 11:03:49 +0000 (11:03 +0000)]
fixlets for YUM progress reporting No luck
as igzstream can forward and rewind to get its size

18 years ago- Updated changelog (removed libblkid dependency)
Marius Tomaschewski [Tue, 5 Sep 2006 17:30:44 +0000 (17:30 +0000)]
- Updated changelog (removed libblkid dependency)

18 years ago- Fix for Bug 197107, removing libblkid dependency
Marius Tomaschewski [Tue, 5 Sep 2006 17:24:09 +0000 (17:24 +0000)]
- Fix for Bug 197107, removing libblkid dependency

18 years ago- Implement parsing progress for YUM
Duncan Mac-Vicar P [Tue, 5 Sep 2006 15:10:37 +0000 (15:10 +0000)]
- Implement parsing progress for YUM
  (not yet sure wht happens in gzipped files)
- better error handling en yum (special Exceptions)

18 years agoFixed zmart -v
Martin Vidner [Mon, 4 Sep 2006 17:07:26 +0000 (17:07 +0000)]
Fixed zmart -v

18 years agoreturn true in progress
Martin Vidner [Mon, 4 Sep 2006 17:06:52 +0000 (17:06 +0000)]
return true in progress

18 years ago- Progress for YUM sources
Duncan Mac-Vicar P [Mon, 4 Sep 2006 15:42:57 +0000 (15:42 +0000)]
- Progress for YUM sources
- const fixes in callbacks
- cleanup of error handling code

18 years agobackup
Michael Andres [Thu, 31 Aug 2006 13:28:56 +0000 (13:28 +0000)]
backup

18 years agochanges
Michael Andres [Thu, 31 Aug 2006 13:21:30 +0000 (13:21 +0000)]
changes

18 years ago- PackageProvider: Fixed broken retry. (#202163)
Michael Andres [Thu, 31 Aug 2006 13:21:03 +0000 (13:21 +0000)]
- PackageProvider: Fixed broken retry. (#202163)

18 years agochanges
Michael Andres [Wed, 30 Aug 2006 21:56:35 +0000 (21:56 +0000)]
changes

18 years ago- Fixed RpmDb::makePackageFromHeader: Catch NULL Header passed as argument and refuse
Michael Andres [Wed, 30 Aug 2006 21:56:10 +0000 (21:56 +0000)]
- Fixed RpmDb::makePackageFromHeader: Catch NULL Header passed as argument and refuse
  to create a Package from a source package header.

18 years agochanges
Michael Andres [Wed, 30 Aug 2006 21:07:01 +0000 (21:07 +0000)]
changes

18 years ago- Adjusted PlaindirImpl::createResolvables to be private
Michael Andres [Wed, 30 Aug 2006 21:05:26 +0000 (21:05 +0000)]
- Adjusted PlaindirImpl::createResolvables to be private
- PlaindirImpl: Disable rpm signature verification when scaning a directory for
  rpms. Otherwise we'd need access to the rpm database to get the keys.

18 years ago-Adjust SuseTagsImpl::createResolvables to be private.
Michael Andres [Wed, 30 Aug 2006 21:00:26 +0000 (21:00 +0000)]
-Adjust SuseTagsImpl::createResolvables to be private.

18 years ago- Added method Pathname::extension: Return all of the characters in name
Michael Andres [Wed, 30 Aug 2006 20:54:27 +0000 (20:54 +0000)]
- Added method Pathname::extension: Return all of the characters in name
  after and including the last dot in the last element of name.

18 years agoScanSource: Fallback to Plaindir if autodetection fails
Michael Andres [Wed, 30 Aug 2006 19:08:38 +0000 (19:08 +0000)]
ScanSource: Fallback to Plaindir if autodetection fails

18 years agoAdd baseSource property to SourceInfo structure and implement SourceFactory::createFr...
Michael Andres [Wed, 30 Aug 2006 17:10:14 +0000 (17:10 +0000)]
Add baseSource property to SourceInfo structure and implement SourceFactory::createFrom(SourceInfo)

18 years agoDo not regarding SATISFIED/UNNEEDED in isPresent if it is
Stefan Schubert [Wed, 30 Aug 2006 15:46:36 +0000 (15:46 +0000)]
Do not regarding SATISFIED/UNNEEDED in isPresent if it is
a package/script/message
Bug: 192535

18 years agoScanSource tool
Michael Andres [Wed, 30 Aug 2006 15:38:27 +0000 (15:38 +0000)]
ScanSource tool

18 years agochangelog
Michael Andres [Wed, 30 Aug 2006 12:24:40 +0000 (12:24 +0000)]
changelog

18 years ago- Speedup computation of number of rpm database entries.
Michael Andres [Wed, 30 Aug 2006 12:24:07 +0000 (12:24 +0000)]
- Speedup computation of number of rpm database entries.

18 years agonew layout
Stefan Schubert [Wed, 30 Aug 2006 11:20:57 +0000 (11:20 +0000)]
new layout

18 years agono logging of parser progess
Michael Andres [Tue, 29 Aug 2006 20:45:03 +0000 (20:45 +0000)]
no logging of parser progess

18 years agofixed endless loop in transactResObject; bug 198095
Stefan Schubert [Tue, 29 Aug 2006 15:04:10 +0000 (15:04 +0000)]
fixed endless loop in transactResObject; bug 198095

18 years agobuild
Duncan Mac-Vicar P [Tue, 29 Aug 2006 14:04:59 +0000 (14:04 +0000)]
build

18 years agobuild
Duncan Mac-Vicar P [Tue, 29 Aug 2006 14:01:33 +0000 (14:01 +0000)]
build

18 years agochanges
Duncan Mac-Vicar P [Tue, 29 Aug 2006 10:07:16 +0000 (10:07 +0000)]
changes

18 years agocompile fixes
Duncan Mac-Vicar P [Tue, 29 Aug 2006 10:06:18 +0000 (10:06 +0000)]
compile fixes

18 years agofix compile
Duncan Mac-Vicar P [Tue, 29 Aug 2006 09:56:44 +0000 (09:56 +0000)]
fix compile

18 years agoanother missing include
Duncan Mac-Vicar P [Tue, 29 Aug 2006 09:32:12 +0000 (09:32 +0000)]
another missing include

18 years agochanges
Duncan Mac-Vicar P [Tue, 29 Aug 2006 09:21:51 +0000 (09:21 +0000)]
changes

18 years ago- add missing includes
Duncan Mac-Vicar P [Tue, 29 Aug 2006 09:21:18 +0000 (09:21 +0000)]
- add missing includes
- clean some old callbacks
- dont call progress twice for some progress

18 years agocleanup due new kernel *kmp* behaviour
Stefan Schubert [Mon, 28 Aug 2006 10:00:33 +0000 (10:00 +0000)]
cleanup due new kernel *kmp* behaviour

18 years agoRevision 4036
Stefan Schubert [Mon, 28 Aug 2006 07:12:23 +0000 (07:12 +0000)]
Revision 4036

18 years ago install_packages returns SUGGESTED package too.
Stefan Schubert [Fri, 25 Aug 2006 12:35:59 +0000 (12:35 +0000)]
 install_packages returns SUGGESTED package too.
 Bug 201476

18 years agocompile
Duncan Mac-Vicar P [Fri, 25 Aug 2006 11:51:40 +0000 (11:51 +0000)]
compile

18 years agoNew behaviour in the solver: try with 'best' package first, try with
Stefan Schubert [Fri, 25 Aug 2006 11:10:51 +0000 (11:10 +0000)]
New behaviour in the solver: try with 'best' package first, try with
'all' packages if this fails.
Bug :Bug 191983e und die folgenden Zeilen werden ignoriert --

M    libzypp/testsuite/solver/data.deptestomatic/bugzilla-tests/bug191983-bare-test.xml
M    libzypp/testsuite/solver/data.deptestomatic/bugzilla-tests/ignore
M    libzypp/testsuite/solver/data.deptestomatic/bugzilla-tests/bug191983-test.solution
A    libzypp/testsuite/solver/data.deptestomatic/bugzilla-tests/bug191983-bare-test.solution
M    libzypp/package/libzypp.changes
M    libzypp/zypp/solver/detail/Resolver.h
M    libzypp/zypp/solver/detail/ResolverContext.cc
M    libzypp/zypp/solver/detail/QueueItemRequire.cc
M    libzypp/zypp/solver/detail/Resolver.cc
M    libzypp/zypp/solver/detail/ResolverContext.h

18 years agobump version due to callback changes
Duncan Mac-Vicar P [Fri, 25 Aug 2006 09:39:09 +0000 (09:39 +0000)]
bump version due to callback changes

18 years agobump version due to callback changes
Duncan Mac-Vicar P [Fri, 25 Aug 2006 09:38:49 +0000 (09:38 +0000)]
bump version due to callback changes

18 years agoreduced logging
Stefan Schubert [Fri, 25 Aug 2006 09:19:25 +0000 (09:19 +0000)]
reduced logging

18 years ago- new keyring callbacks
Duncan Mac-Vicar P [Thu, 24 Aug 2006 13:41:26 +0000 (13:41 +0000)]
- new keyring callbacks
- separate trust key from import key
- use PublicKey class instead of params, to be able
  to add more info like photos later (pending #181682)
- update zmart with those callbacks.
- better error handling (Exception types)
- make tmp file names more readable depending on the context
- r4026

18 years agocleanup
Stefan Schubert [Thu, 24 Aug 2006 09:43:55 +0000 (09:43 +0000)]
cleanup

18 years agolayout changed
Stefan Schubert [Thu, 24 Aug 2006 08:16:48 +0000 (08:16 +0000)]
layout changed

18 years agoonly inst order has been changed
Stefan Schubert [Thu, 24 Aug 2006 08:06:04 +0000 (08:06 +0000)]
only inst order has been changed

18 years ago- Implement sane cmd line options parsing using boost
Duncan Mac-Vicar P [Wed, 23 Aug 2006 13:05:23 +0000 (13:05 +0000)]
- Implement sane cmd line options parsing using boost
- lot of improvements, including package grabbing

18 years ago- Little patch showing the resulting library name in
Marius Tomaschewski [Wed, 23 Aug 2006 11:47:57 +0000 (11:47 +0000)]
- Little patch showing the resulting library name in
  the summary at the end of the configure run.

18 years ago- How to test callbacks in a sane way?
Duncan Mac-Vicar P [Tue, 22 Aug 2006 20:40:44 +0000 (20:40 +0000)]
- How to test callbacks in a sane way?
- How to install a single patch or test a single
  source?

Introducing zmart. (the name is only humor)
A command line tool, right now
only capable of listing patches.

Featuring for now:
- using system sources, or a source passed in command line
- display of applicable patches
- rpm read callbacks with console progress display
- first testbed of the probing callbacks

Missing but comming:
- command line usage
- will be the testbed for source progress reports
  before they get implemented in yast
- why not, installing and removing packages.

18 years ago- Introduce sane probing, with reporting, And decoupled
Duncan Mac-Vicar P [Tue, 22 Aug 2006 20:36:51 +0000 (20:36 +0000)]
- Introduce sane probing, with reporting, And decoupled
  of source creation.

18 years ago- Updated changelog (MediaCurl range reset / curl debug log)
Marius Tomaschewski [Tue, 22 Aug 2006 16:00:24 +0000 (16:00 +0000)]
- Updated changelog (MediaCurl range reset / curl debug log)

18 years ago- Fixed getDoesFileExist to reset the transfer range
Marius Tomaschewski [Tue, 22 Aug 2006 15:57:06 +0000 (15:57 +0000)]
- Fixed getDoesFileExist to reset the transfer range
- Added logging of curl debug messages to the zypp log.
  The env var ZYPP_MEDIA_CURL_DEBUG=1 logs curl infos,
  ZYPP_MEDIA_CURL_DEBUG=2 logs the in/out headers.