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

18 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

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

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

18 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

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

18 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

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

18 years ago- not needed anymore
Duncan Mac-Vicar P [Fri, 18 Aug 2006 13:51:28 +0000 (13:51 +0000)]
- not needed anymore

18 years ago- start converting media testsuite to boost unit tests
Duncan Mac-Vicar P [Fri, 18 Aug 2006 13:51:00 +0000 (13:51 +0000)]
- start converting media testsuite to boost unit tests

18 years agomerge svn rev 3997:3998 to trunk
Klaus Kaempf [Fri, 18 Aug 2006 13:12:54 +0000 (13:12 +0000)]
merge svn rev 3997:3998 to trunk

18 years agochanges
Duncan Mac-Vicar P [Thu, 17 Aug 2006 16:17:42 +0000 (16:17 +0000)]
changes

18 years agofix uninstalling of atoms (noop) fixes messages like:
Duncan Mac-Vicar P [Thu, 17 Aug 2006 16:16:11 +0000 (16:16 +0000)]
fix uninstalling of atoms (noop) fixes messages like:

[base] Exception.cc(log):94 TargetImpl.cc(commit):477 CAUGHT:
XMLFilesBackend.cc(deleteObject):572: Error deleting
/var/lib/zypp/db/atoms/fc7a8178421fef434f6fc3f831809808

18 years agore-insert blanks into capability to work around regexp bug(?) in CapFactory::parse
Klaus Kaempf [Thu, 17 Aug 2006 11:57:31 +0000 (11:57 +0000)]
re-insert blanks into capability to work around regexp bug(?) in CapFactory::parse

18 years agofix product name/version (#199951)
Klaus Kaempf [Thu, 17 Aug 2006 11:08:51 +0000 (11:08 +0000)]
fix product name/version (#199951)

18 years agochanges
Duncan Mac-Vicar P [Wed, 16 Aug 2006 15:43:55 +0000 (15:43 +0000)]
changes

18 years agouse kernel.org for testing
Duncan Mac-Vicar P [Wed, 16 Aug 2006 15:43:06 +0000 (15:43 +0000)]
use kernel.org for testing

18 years agoImplement media doesFileExists().
Duncan Mac-Vicar P [Wed, 16 Aug 2006 15:36:35 +0000 (15:36 +0000)]
Implement media doesFileExists().

Current way to do that is to provide, and if t
fails, it doesnt exists, but if it succeeds, then
you do a transfer :-( So doesFileExists to the rescue

The current implementation does a partial
transfer of 100 bytes, as using NOBODY option
of curl doesn't work for ftp.

It can be optimized using different methods
for different URL schemes. It is not yet
used but it wll be used in the source
probing.

Marius, please give it a look when you are back.

18 years agoremove duplicate "package" target
Klaus Kaempf [Wed, 16 Aug 2006 11:30:29 +0000 (11:30 +0000)]
remove duplicate "package" target