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

17 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

17 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

17 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

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

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

17 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

17 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)

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

17 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

17 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

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

17 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)

17 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

17 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)

17 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

17 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

17 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).

17 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()

17 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.

17 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

17 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

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

17 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).

17 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)

17 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.

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

17 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!

17 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

17 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

17 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

17 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

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

17 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.

17 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.

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

17 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()

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

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

17 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

17 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

17 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.

17 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

17 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)

17 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

17 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)

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

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

17 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

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

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

17 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)

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

17 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.

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

17 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.

17 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.

17 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.

17 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

17 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)

17 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

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

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

17 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.

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

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

17 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

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

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

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

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

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

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

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

17 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

17 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

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

17 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

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

17 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

17 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

17 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

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

17 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

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

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

17 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

17 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

17 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.

17 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.

17 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.

17 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)

17 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.

17 years agotry to make this testcase actually work
Duncan Mac-Vicar P [Mon, 21 Aug 2006 16:19:44 +0000 (16:19 +0000)]
try to make this testcase actually work

17 years agoreorganize
Duncan Mac-Vicar P [Mon, 21 Aug 2006 11:14:46 +0000 (11:14 +0000)]
reorganize

17 years agoreorganize for boost test
Duncan Mac-Vicar P [Mon, 21 Aug 2006 11:06:20 +0000 (11:06 +0000)]
reorganize for boost test

17 years agoISO and NFS tests requires root
Duncan Mac-Vicar P [Mon, 21 Aug 2006 10:53:52 +0000 (10:53 +0000)]
ISO and NFS tests requires root

17 years agodumb bug. Now the tests for doesFileExists pass
Duncan Mac-Vicar P [Mon, 21 Aug 2006 09:25:43 +0000 (09:25 +0000)]
dumb bug. Now the tests for doesFileExists pass
with ISO and NFS.

17 years agotypo catched by the testsuite
Duncan Mac-Vicar P [Fri, 18 Aug 2006 15:30:45 +0000 (15:30 +0000)]
typo catched by the testsuite

17 years agotestsuite for doesFileExist
Duncan Mac-Vicar P [Fri, 18 Aug 2006 15:29:42 +0000 (15:29 +0000)]
testsuite for doesFileExist