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

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

18 years agotypo
Stefan Schubert [Tue, 15 Aug 2006 11:50:29 +0000 (11:50 +0000)]
typo

18 years agonew API calls maxSolverPasses, timeout
Stefan Schubert [Tue, 15 Aug 2006 10:07:53 +0000 (10:07 +0000)]
new API calls maxSolverPasses, timeout

18 years agoadding testcase for maxSolutions
Stefan Schubert [Tue, 15 Aug 2006 10:06:56 +0000 (10:06 +0000)]
adding testcase for maxSolutions

18 years agoadding testcase for maxSolutions
Stefan Schubert [Tue, 15 Aug 2006 10:06:42 +0000 (10:06 +0000)]
adding testcase for maxSolutions

18 years agochanges
Duncan Mac-Vicar P [Tue, 15 Aug 2006 10:04:24 +0000 (10:04 +0000)]
changes

18 years agomore dbus_connection_close fixes
Duncan Mac-Vicar P [Tue, 15 Aug 2006 10:03:55 +0000 (10:03 +0000)]
more dbus_connection_close fixes

18 years agoclean up 'incomplete' handling in QueueItemEstablish
Klaus Kaempf [Tue, 15 Aug 2006 09:45:44 +0000 (09:45 +0000)]
clean up 'incomplete' handling in QueueItemEstablish

18 years ago"package" is a make target (synonym with 'dist')
Klaus Kaempf [Tue, 15 Aug 2006 09:45:11 +0000 (09:45 +0000)]
"package" is a make target (synonym with 'dist')

18 years agoadapt rev
Klaus Kaempf [Tue, 15 Aug 2006 09:37:20 +0000 (09:37 +0000)]
adapt rev

18 years ago- Don't set 'incomplete' for uninstalled patterns or products.
Klaus Kaempf [Tue, 15 Aug 2006 09:37:02 +0000 (09:37 +0000)]
- Don't set 'incomplete' for uninstalled patterns or products.
  (#198379)

18 years ago- Don't set 'incomplete' for uninstalled patterns or products.
Klaus Kaempf [Tue, 15 Aug 2006 09:36:15 +0000 (09:36 +0000)]
- Don't set 'incomplete' for uninstalled patterns or products.
  (#198379)
- rev 3968

18 years agomerge changes schwab did in autobuild
Duncan Mac-Vicar P [Tue, 15 Aug 2006 09:29:42 +0000 (09:29 +0000)]
merge changes schwab did in autobuild

18 years agoadded new API calls: setAdditionalProvide,setAdditionalConflict,setAdditionalRequire
Stefan Schubert [Mon, 14 Aug 2006 14:56:25 +0000 (14:56 +0000)]
added new API calls: setAdditionalProvide,setAdditionalConflict,setAdditionalRequire

18 years agonew API calls: setAdditionalProvide setAdditionalConflict setAdditionalRequire
Stefan Schubert [Mon, 14 Aug 2006 14:51:49 +0000 (14:51 +0000)]
new API calls: setAdditionalProvide setAdditionalConflict setAdditionalRequire

18 years agonew layout
Stefan Schubert [Mon, 14 Aug 2006 14:46:17 +0000 (14:46 +0000)]
new layout

18 years ago- remove downloadMetadataFile wrapper, and move
Duncan Mac-Vicar P [Mon, 14 Aug 2006 13:20:57 +0000 (13:20 +0000)]
- remove downloadMetadataFile wrapper, and move
  the report code into provideFile

18 years agochanges
Duncan Mac-Vicar P [Mon, 14 Aug 2006 09:29:06 +0000 (09:29 +0000)]
changes

18 years agochanges
Duncan Mac-Vicar P [Mon, 14 Aug 2006 09:28:20 +0000 (09:28 +0000)]
changes

18 years agomake it readable by inserting linebreaks
Klaus Kaempf [Sat, 12 Aug 2006 09:49:43 +0000 (09:49 +0000)]
make it readable by inserting linebreaks

18 years agochanges
Duncan Mac-Vicar P [Fri, 11 Aug 2006 15:05:02 +0000 (15:05 +0000)]
changes

18 years ago- backport:
Duncan Mac-Vicar P [Fri, 11 Aug 2006 15:02:56 +0000 (15:02 +0000)]
- backport:
- Add explicit finish callbacks for subtasks during ProvidePackage
  to avoid UI confusion.

18 years agochanges
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:51:26 +0000 (09:51 +0000)]
changes

18 years ago- Introduce examples/
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:47:51 +0000 (09:47 +0000)]
- Introduce examples/
  much like devel.* programs with one difference:
  - must compile. They are documentation.
  - Included in compilation
  - they should show only useful tasks.
    like installing a package, but not
    how to use templates to draw the suse logo in ascii.
  - they must be zypp user examples, not zypp developer examples

- fix some svn ignores

18 years agodbus_connection_disconnect is deprecated. Replace
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:31:10 +0000 (09:31 +0000)]
dbus_connection_disconnect is deprecated. Replace
with dbus_connection_close

18 years agoHelper script. Takes a file 'foo' as input and creates a header 'foo.h' providing
Michael Andres [Thu, 10 Aug 2006 21:00:35 +0000 (21:00 +0000)]
Helper script. Takes a file 'foo' as input and creates a header 'foo.h' providing
'std::list<std::string> foo()' returning the content of 'foo' as list of strings.

18 years agoreduce logging
Klaus Kaempf [Thu, 10 Aug 2006 15:08:46 +0000 (15:08 +0000)]
reduce logging

18 years agolog resolvable kind if its not a package
Klaus Kaempf [Thu, 10 Aug 2006 15:02:26 +0000 (15:02 +0000)]
log resolvable kind if its not a package

18 years agochanges
Duncan Mac-Vicar P [Thu, 10 Aug 2006 14:34:48 +0000 (14:34 +0000)]
changes

18 years agodelay resolvable loading, fix location
Duncan Mac-Vicar P [Thu, 10 Aug 2006 14:22:42 +0000 (14:22 +0000)]
delay resolvable loading, fix location

18 years ago- Support for plaindir sources.
Duncan Mac-Vicar P [Thu, 10 Aug 2006 13:02:44 +0000 (13:02 +0000)]
- Support for plaindir sources.

pending fixes:
- delay metadata read till resolvables() ? not sure yet
- location seems to be broken as the path is appended twice.

18 years agoremove 'helix' subdir, it was moved to libzypp/testsuite/src before
Klaus Kaempf [Thu, 10 Aug 2006 12:33:28 +0000 (12:33 +0000)]
remove 'helix' subdir, it was moved to libzypp/testsuite/src before

18 years agoallow "refers" and synonym for "kind" in dependencies
Klaus Kaempf [Thu, 10 Aug 2006 12:17:10 +0000 (12:17 +0000)]
allow "refers" and synonym for "kind" in dependencies

18 years agoallow "refers" within dependencies as a synonym to 'kind'
Klaus Kaempf [Thu, 10 Aug 2006 12:05:52 +0000 (12:05 +0000)]
allow "refers" within dependencies as a synonym to 'kind'

18 years agoattempt to fix
Duncan Mac-Vicar P [Tue, 8 Aug 2006 16:44:00 +0000 (16:44 +0000)]
attempt to fix
http://mailman.suse.de/mlarch/SuSE/packagers/2006/packagers.2006.08/msg00056.html

18 years agobackup
Duncan Mac-Vicar P [Tue, 8 Aug 2006 16:17:05 +0000 (16:17 +0000)]
backup

18 years agochanges
Duncan Mac-Vicar P [Tue, 8 Aug 2006 14:54:01 +0000 (14:54 +0000)]
changes

18 years ago- Move the target query by kind function to
Duncan Mac-Vicar P [Tue, 8 Aug 2006 14:47:12 +0000 (14:47 +0000)]
- Move the target query by kind function to
  a iterator, so we dont make a copy of the restore
  the iterator works loading by demand too

18 years agohave fix repo on machcd2
Stefan Schubert [Tue, 8 Aug 2006 11:57:35 +0000 (11:57 +0000)]
have fix repo on machcd2

18 years agolayout changed
Stefan Schubert [Tue, 8 Aug 2006 11:53:38 +0000 (11:53 +0000)]
layout changed

18 years agoother problems prefered
Stefan Schubert [Tue, 8 Aug 2006 11:52:26 +0000 (11:52 +0000)]
other problems prefered

18 years agomerged SuSE-SLE-10-Branch till rev 3907
Stefan Schubert [Tue, 8 Aug 2006 08:57:33 +0000 (08:57 +0000)]
merged SuSE-SLE-10-Branch till rev 3907

18 years agochanges
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:59:28 +0000 (15:59 +0000)]
changes

18 years agorename the new initTarget to initializeTarget,
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:58:56 +0000 (15:58 +0000)]
rename the new initTarget to initializeTarget,
leave the old one as is, but deprecate it.

18 years agorename the new initTarget to initializeTarget,
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:58:28 +0000 (15:58 +0000)]
rename the new initTarget to initializeTarget,
leave the old one as is, but deprecate it.

18 years agofixed missing backslash
Michael Andres [Mon, 7 Aug 2006 14:46:07 +0000 (14:46 +0000)]
fixed missing backslash

18 years ago- forward port from SLES10 branch , till 3888
Duncan Mac-Vicar P [Mon, 7 Aug 2006 14:04:30 +0000 (14:04 +0000)]
- forward port from SLES10 branch , till 3888
- Prefer to use available DeltaRpm or PatchRpm instead of downloading
  full packages. (#168844)
- rpmdb : Do not use the deprecated POSIX API, but boost::regex
- version 2.0.0
- rev 3892

18 years agochanges
Michael Andres [Mon, 7 Aug 2006 13:59:50 +0000 (13:59 +0000)]
changes

18 years ago- Prefer to use available DeltaRpm or PatchRpm instead of downloading
Michael Andres [Mon, 7 Aug 2006 13:58:56 +0000 (13:58 +0000)]
- Prefer to use available DeltaRpm or PatchRpm instead of downloading
  full packages. (#168844)

18 years agoDo not use the deprecated POSIX API, but boost::regex.
Michael Andres [Mon, 7 Aug 2006 13:28:08 +0000 (13:28 +0000)]
Do not use the deprecated POSIX API, but boost::regex.

18 years agofix build
Duncan Mac-Vicar P [Mon, 7 Aug 2006 12:18:08 +0000 (12:18 +0000)]
fix build

18 years agoSeparate package version from libtool -version-info.
Michael Andres [Sat, 5 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Separate package version from libtool -version-info.
See VERSION file for details.
Set version 2.0.0

18 years agochanges
Duncan Mac-Vicar P [Fri, 4 Aug 2006 13:23:15 +0000 (13:23 +0000)]
changes

18 years ago- Separate target init from adding resolvables, getting rid of the
Duncan Mac-Vicar P [Fri, 4 Aug 2006 13:20:56 +0000 (13:20 +0000)]
- Separate target init from adding resolvables, getting rid of the
uggly bool flag.
- dont clear the store each time Target::resolvables is called
- Load target resolvables on demand by kind, keep them cached later
- add Target::resolvablesByKind(kind) to allow query specific kind
  without reading all kinds. Used to port TargetProduct, which
  was reading the whole rpm database only to displayy base product
  name in YaST help.
- commit to pkg-bindings and packager following.
- jsrain will port more stuff, especially inst_source which
  startup time should by reduced by half afterwards.

18 years agoreadd removed operators during merge
Duncan Mac-Vicar P [Wed, 2 Aug 2006 13:54:01 +0000 (13:54 +0000)]
readd removed operators during merge

18 years ago- merge 3728:3847 in trunk.
Duncan Mac-Vicar P [Wed, 2 Aug 2006 12:37:18 +0000 (12:37 +0000)]
- merge 3728:3847 in trunk.
  including Michael Andres patch delta rpm nonready code
  and Klaus solver blackmagic.

If you have anything else previous to those revisions non
forwardported, please contact me for merging. I don't track
commits and I merge what it is requested to merge, with
explicit changesets (xxxx:yyyy), otherwise your code will be
lost in the branch.

I can't merge libzypp.changes for trunk, so if a changeset
includes a .changes, attach them to the changeset list so i
can append after merging. For now, .changes commited in
SLES branch and not notified for merging were lost with this
merge, as it included too much changes.

18 years agomove to different directory
Klaus Kaempf [Wed, 2 Aug 2006 10:41:53 +0000 (10:41 +0000)]
move to different directory

18 years agomerge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:39:27 +0000 (10:39 +0000)]
merge from SLE branch

18 years agomerge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:38:07 +0000 (10:38 +0000)]
merge from SLE branch

18 years agomerge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:26:33 +0000 (10:26 +0000)]
merge from SLE branch

18 years agochanges
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:40:50 +0000 (11:40 +0000)]
changes